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+

Description Sam Weinig 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.
Comment 1 Sam Weinig 2010-11-12 10:35:53 PST
<rdar://problem/8662180>
Comment 2 Sam Weinig 2010-11-12 10:37:04 PST
Created attachment 73757 [details]
Patch
Comment 3 Sam Weinig 2010-11-12 10:40:04 PST
Fixed in r71930.
Comment 4 Adam Roben (:aroben) 2010-11-12 10:44:41 PST
No test? :-(