[Webkit-unassigned] [Bug 11444] New: REGRESSION (r17378): Exception (-[NSCFDictionary setObject:forKey:]: attempt to insert nil value) when submitting a form with an empty uninitialized field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 28 06:46:16 PDT 2006


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

           Summary: REGRESSION (r17378): Exception (-[NSCFDictionary
                    setObject:forKey:]: attempt to insert nil value) when
                    submitting a form with an empty uninitialized field
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: data:text/html,<form><input><input%20type="submit"%20val
                    ue="Crash"></form>
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: Forms
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mitz at webkit.org
                CC: ggaren at apple.com


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.


-- 
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