Bug 49454 - ASSERTION when converting some WKStringRefs returned from willSubmitForm to CFStringRef
Summary: ASSERTION when converting some WKStringRefs returned from willSubmitForm to C...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-11-12 10:35 PST by Sam Weinig
Modified: 2010-11-12 10:44 PST (History)
1 user (show)

See Also:


Attachments
Patch (2.85 KB, patch)
2010-11-12 10:37 PST, Sam Weinig
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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? :-(