Bug 49454

Summary: ASSERTION when converting some WKStringRefs returned from willSubmitForm to CFStringRef
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch andersca: review+

Sam Weinig
Reported 2010-11-12 10:35:15 PST
You'll hit this assertion in WKStringCopyCFString: ASSERT(!toImpl(stringRef)->string().isNull()); on submitting a form at http://webkit.org/new-bug if you convert the values in the WKDictionaryRef passed in the willSubmitForm callback to CFStringRefs using WKStringCopyCFString due to some of the strings being null WTF::Strings.
Attachments
Patch (2.85 KB, patch)
2010-11-12 10:37 PST, Sam Weinig
andersca: review+
Sam Weinig
Comment 1 2010-11-12 10:35:53 PST
Sam Weinig
Comment 2 2010-11-12 10:37:04 PST
Sam Weinig
Comment 3 2010-11-12 10:40:04 PST
Fixed in r71930.
Adam Roben (:aroben)
Comment 4 2010-11-12 10:44:41 PST
No test? :-(
Note You need to log in before you can comment on or make changes to this bug.