[Webkit-unassigned] [Bug 138169] WKWebView does not support NSURLProtocol-style interception of http or https

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 25 16:51:04 PST 2020


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

Isaiah <isaiah at mac.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |isaiah at mac.com

--- Comment #52 from Isaiah <isaiah at mac.com> ---
HI,

Our use case for protocol handlers that can catch and modify http and https requests…

We make a webpage creation tool for novice users (http://yourhead.com/stacks). As the user creates a page it often contains links to resources that have not yet been deployed/published.

We currently use WebView and NSURLProtocol to catch all requests and can redirect the requests for un-published content to the local data within the app.

Without protocol handlers we will be forced to modify the HTML directly before it gets to the WKWebView. This is difficult (regex -- yuck), error prone(we'll miss URLs that are hidden within scripts, etc.), and slow.

Using protocols handlers has been a simple and effect means of handling this situation for about a decade. This has been one of a handful of reasons keeping us on WebView for so long.

-- 
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/20200226/064d6df7/attachment.htm>


More information about the webkit-unassigned mailing list