[Webkit-unassigned] [Bug 146019] WebProcess crashes after too many redirect error when there's an active NPAPI plugin
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 16 08:34:11 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146019
--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
This happens with the GTK+ port after a navigation action ends up in an infinite redirection and the ResourceHandle fails with too many redirections error. I should actually happen after any error is reported by the ResourceHnalder before the load is committed. But tt only happens if there's an active NPAPI plugin. The problem is that FrameLoader::receivedMainResourceError() is called recursively because DocumentLoader::stopLoading() ends up calling mainReceivedError() that calls FrameLoader::receivedMainResourceError() again. DocumentLoader::stopLoading() checks if the document is still loading, which can happen if the main resource is loading, if there's any subresource loading or if there's a plugin loading. So, in case of being loading, those cases are handled individually to cancel the main resource, or set an error in the document loader and cancel subresources and plugins, except for this case of plugins, that mainReceivedError is called instead of setting cancelled error on t
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150616/00f11ac9/attachment-0001.html>
More information about the webkit-unassigned
mailing list