[Webkit-unassigned] [Bug 205685] XMLHTTPRequest POSTs blob data to a custom WKURLSchemeHandler protocol crash
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 5 23:14:24 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=205685
--- Comment #3 from mali <ak4868 at 163.com> ---
I found that when wkwebview creates the httpbody corresponding to FormData, it will first call the WebCore::blobRegistry method. The return of this method is actually the value of the static variable s_platformStrategies, and this static variable is not initialized, which will cause crash .
```
namespace WebCore {
static PlatformStrategies* s_platformStrategies;
PlatformStrategies* platformStrategies()
{
ASSERT(s_platformStrategies);
return s_platformStrategies;
}
void setPlatformStrategies(PlatformStrategies* platformStrategies)
{
if (!s_platformStrategies) {
s_platformStrategies = platformStrategies;
return;
}
// FIXME: This happens when mixing different platform strategies, and we should probably
// throw an exception here in release builds.
ASSERT(platformStrategies == s_platformStrategies);
}
}
```
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200106/e2b24eba/attachment.htm>
More information about the webkit-unassigned
mailing list