[Webkit-unassigned] [Bug 216123] [GTK][WPE] WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD returned when plugins are disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 9 06:31:33 PDT 2020


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

--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Michael Catanzaro from comment #5)
> Do we really need to return any error at all? It looks like what happens is:
> 
> 1. We emit load-failed with WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD
> 2. Epiphany ignores the error.
> 3. WebKit loads the content properly.
> 
> The error seems superfluous, right? Does it really need to be exposed to the
> browser? Why does load-failed happen at all? Seems like we could skip that
> step?

I also thought about that, I don't think any app really want to handle the error, but the same applies to WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE and WEBKIT_NETWORK_ERROR_CANCELLED, I guess, but ephy is handling WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE to close the tab when there's just a download, I think. The alternative is to not emit load-failed, but the load didn't really succeed either.

-- 
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/20200909/568a790f/attachment-0001.htm>


More information about the webkit-unassigned mailing list