cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Created] (CB-7049) Support whitelist in WKWebView
Date Fri, 27 Jun 2014 22:37:25 GMT
Shazron Abdullah created CB-7049:

             Summary: Support whitelist in WKWebView
                 Key: CB-7049
             Project: Apache Cordova
          Issue Type: Sub-task
          Components: iOS
         Environment: iOS 8
            Reporter: Shazron Abdullah

As of iOS 8 beta 2, you can't yet.

Filed radar:


When using UIWebView, you could intercept requests using NSURLProtocol. With the new WKWebView,
NSURLProtocol does not intercept requests anymore.

This is useful for HTTP authentication, encryption of assets, etc.

Steps to Reproduce:
1. Use WKWebView
2. Instantiate a NSURLProtocol
3. Observe that you can't intercept the requests of the WKWebView

Expected Results:
Ability to intercept requests of a WKWebView using NSURLProtocol

Actual Results:
No ability to intercept requests of a WKWebView using NSURLProtocol

iOS 8 beta 2

iOS Simulator, iPad 2

This message was sent by Atlassian JIRA

View raw message