WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
202315
Move legacy custom protocol registration from process pool to NetworkProcessProxy
https://bugs.webkit.org/show_bug.cgi?id=202315
Summary
Move legacy custom protocol registration from process pool to NetworkProcessP...
Alex Christensen
Reported
2019-09-27 09:24:29 PDT
Move legacy custom protocol registration from process pool to NetworkProcessProxy
Attachments
Patch
(7.05 KB, patch)
2019-09-27 09:28 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(7.84 KB, patch)
2019-09-27 09:57 PDT
,
Alex Christensen
thorton
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2019-09-27 09:28:02 PDT
Created
attachment 379732
[details]
Patch
Alex Christensen
Comment 2
2019-09-27 09:57:29 PDT
Created
attachment 379735
[details]
Patch
EWS Watchlist
Comment 3
2019-09-27 09:58:14 PDT
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
Alex Christensen
Comment 4
2019-09-27 09:59:59 PDT
GTK API maintainers: Please deprecate webkit_web_context_register_uri_scheme and replace it with something shaped more like WKURLSchemeHandler.
Tim Horton
Comment 5
2019-09-27 13:13:29 PDT
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?
Alex Christensen
Comment 6
2019-09-27 13:56:12 PDT
http://trac.webkit.org/r250457
Radar WebKit Bug Importer
Comment 7
2019-09-27 13:57:24 PDT
<
rdar://problem/55793772
>
Carlos Garcia Campos
Comment 8
2019-09-30 05:31:57 PDT
(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?
Carlos Garcia Campos
Comment 9
2019-10-01 08:48:47 PDT
(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
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug