Move legacy custom protocol registration from process pool to NetworkProcessProxy
Created attachment 379732 [details] Patch
Created attachment 379735 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
GTK API maintainers: Please deprecate webkit_web_context_register_uri_scheme and replace it with something shaped more like WKURLSchemeHandler.
Comment on attachment 379735 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=379735&action=review > Source/WebKit/ChangeLog:15 > + words > Source/WebKit/UIProcess/WebProcessPool.cpp:1527 > + processPool->ensureNetworkProcess().unregisterSchemeForLegacyCustomProtocol(urlScheme); Why is the structure of these different? Ensure to unregister but not register?
http://trac.webkit.org/r250457
<rdar://problem/55793772>
(In reply to Alex Christensen from comment #4) > GTK API maintainers: Please deprecate webkit_web_context_register_uri_scheme > and replace it with something shaped more like WKURLSchemeHandler. hmm, that needs to be registered per web view? Good thing seems to be that we never go to the network process for custom protocols, right?
(In reply to Carlos Garcia Campos from comment #8) > (In reply to Alex Christensen from comment #4) > > GTK API maintainers: Please deprecate webkit_web_context_register_uri_scheme > > and replace it with something shaped more like WKURLSchemeHandler. > > hmm, that needs to be registered per web view? Good thing seems to be that > we never go to the network process for custom protocols, right? https://bugs.webkit.org/show_bug.cgi?id=202407