[Webkit-unassigned] [Bug 140571] New: Provide hook to alter URL requests initiated from WKWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 16 15:43:55 PST 2015


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

            Bug ID: 140571
           Summary: Provide hook to alter URL requests initiated from
                    WKWebView
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: iOS
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: stuartmorgan at chromium.org

There are a variety of cases where it's useful to be able to modify a request being made by a WKWebView. For instance, Chrome for iOS has several features which are based on adding headers to requests to certain servers, for all requests to those servers. Doing this with UIWebView is possible using http/https protocol handlers, but in WKWebView it's apparently impossible to do except for requests that are initiated from outside the web view.

It would be extremely helpful if there were a navigation delegate call (either a change to the existing one, or a new on) that would allow each NSURLRequest to be not just inspected, but potentially modified (at least the headers if not the whole request) before it was issued.

-- 
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/20150116/14d592de/attachment-0002.html>


More information about the webkit-unassigned mailing list