WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11445
REGRESSION (
r17378
): Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:] when not supplying both arguments to window.prompt()
https://bugs.webkit.org/show_bug.cgi?id=11445
Summary
REGRESSION (r17378): Assertion failure in -[NSTextFieldCell _objectValue:forS...
mitz
Reported
2006-10-28 07:10:12 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2006-10-29 10:12:06 PST
Geoff's working on it.
Geoffrey Garen
Comment 2
2006-10-29 11:02:56 PST
Committed revision 17419.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug