[Webkit-unassigned] [Bug 138169] WKWebView does not fully support custom NSURLProtocol

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 09:23:45 PDT 2016


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

--- Comment #19 from Brady Eidson <beidson at apple.com> ---
(In reply to comment #18)
> (In reply to comment #17)
> > (In reply to comment #16)
> > > Early this year Chrome for iOS migrated from UIWebView to WKWebView.
> > > WKWebView gave us a huge improvement in stability, but inability to use
> > > custom network protocols made impossible to support the following features:
> > > 
> > > Privacy
> > >  - Block 3rd party cookies
> > >  - Do Not Track
> > >  - Non-ephemeral Incognito browsing (so users are not logged out if they
> > > background the app and the app is killed in the background.)
> > > 
> > > Security
> > >  - HSTS preloads
> > >  - Public key pinning
> > >  - Safe browsing
> > >  - SHA-1 deprecation warning
> > > 
> > > Other features
> > >  - Data Saver
> > >  - Downloads if authentication is required (no access to cookies)
> > >  - Multiple profiles support
> > >  - QUIC network protocol
> > >  - WebP image format
> > 
> > This list is full of interesting API requests, but only a few are related to
> > this bug.
> > 
> > I'd urge you to make sure there are independent bug reports for each.
> 
> All of the things here look very familiar to me. It looks related to
> NSURLProtocol support in a way that it enables all of those features. If
> NSURLProtocol support was introduced the developers could bring back all
> that code to implement the listed features.
> 
> One could possibly create separate bugs for each of the use cases that were
> listed, and solve them with separate methods, but I think that the call from
> Sam was to list all possible use cases. This points out how the lack of
> NSURLProtocol support affected the apps that migrated (or plan to migrate)
> to WKWebView, and shows which use cases have to be dropped because they were
> based on NSURLProtocol-s.

I'm not saying "stop listing your use cases here and please file a new bug on everything".

I just don't want this bug to start tracking "Here is every single gripe I have with the WKWebView API", which would be unproductive.

There's things in this list for which SPI already exists (e.g. 3rd party cookie blocking), and things in this list for which "Custom NSURLProtocol is the solution!" is not apparent to everyone.

WebP images for example: It's not at all apparent (to me, at least) why implementing a custom image format requires custom network loading. Maybe I'm missing something obvious?

-- 
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/20160601/0dbbf319/attachment-0001.html>


More information about the webkit-unassigned mailing list