WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11444
REGRESSION (
r17378
): Exception (-[NSCFDictionary setObject:forKey:]: attempt to insert nil value) when submitting a form with an empty uninitialized field
https://bugs.webkit.org/show_bug.cgi?id=11444
Summary
REGRESSION (r17378): Exception (-[NSCFDictionary setObject:forKey:]: attempt ...
mitz
Reported
2006-10-28 06:46:16 PDT
If you open the URL in a debug build of TOT and click the Crash button you get ASSERTION FAILED: Uncaught exception - *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value This is coming from createNSDictionary (FrameMac.mm) when the second String in a pair, which is the form field's value, is a NULL string. Before
r17378
it was converted to an empty NSString, but now it's converted to nil, which cannot be inserted into the NSDictionary.
Attachments
Layout test
(2.48 KB, patch)
2006-10-29 10:49 PST
,
mitz
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2006-10-28 15:47:22 PDT
Occurs when submitting Bugzilla comments (see
Bug 10933 Comment #8
).
Darin Adler
Comment 2
2006-10-29 10:08:31 PST
Fixed in
r17408
. (I didn't know about this bug report when I fixed it.)
Darin Adler
Comment 3
2006-10-29 10:10:01 PST
We need a layout test for this.
mitz
Comment 4
2006-10-29 10:49:38 PST
Created
attachment 11275
[details]
Layout test
Geoffrey Garen
Comment 5
2006-10-29 11:03:21 PST
Committed revision 17419.
Timothy Hatcher
Comment 6
2006-10-29 21:56:34 PST
Comment on
attachment 11275
[details]
Layout test THis landed.
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