[Webkit-unassigned] [Bug 11445] New: REGRESSION (r17378): Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:] when not supplying both arguments to window.prompt()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 28 07:10:13 PDT 2006


http://bugs.webkit.org/show_bug.cgi?id=11445

           Summary: REGRESSION (r17378): Assertion failure in -
                    [NSTextFieldCell
                    _objectValue:forString:errorDescription:] when not
                    supplying both arguments to window.prompt()
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: javascript:prompt("This will crash")
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression
          Severity: Normal
          Priority: P1
         Component: WebKit API
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mitz at webkit.org
                CC: ggaren at apple.com


Calling window.prompt() without specifying the second parameter now results in
-[WebFrameBridge
runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:] being passed
nil for the default test instead of an empty NSString. This results in an
assertion failure and an exception in AppKit:

2006-10-28 16:01:59.936 Safari[6478] *** Assertion failure in -[NSTextFieldCell
_objectValue:forString:errorDescription:], AppKit.subproj/NSCell.m:1298
ASSERTION FAILED: Uncaught exception - Invalid parameter not satisfying:
aString != nil


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list