[Webkit-unassigned] [Bug 182532] REGRESSION(r227758): Webpage fails to load due to crash in com.apple.WebKit: WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse + 267

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 6 11:03:11 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182532

--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
> Couldn't we move those null checks *betore* setting up the policy listener
> on the WebFrame earlier? This way, we can keep using the function as is, and
> we do not unnecessarily set up a policy listener.

I assumed there was a reason why they are after. Specifically setUpPolicyListener may call arbitrary code (m_willSubmitFormCompletionHandlers in invalidatePolicyListener) and if those null coreFrame/provisionalDocumentLoader we would crash.

Alex needs to answer whether that was the reason the checks are after setUpPolicyListener.

-- 
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/20180206/5c98333e/attachment.html>


More information about the webkit-unassigned mailing list