You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/06/28 00:37:25 UTC
[jira] [Created] (CB-7049) Support whitelist in WKWebView
Shazron Abdullah created CB-7049:
------------------------------------
Summary: Support whitelist in WKWebView
Key: CB-7049
URL: https://issues.apache.org/jira/browse/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:
rdar://problem/17423600
------
Summary:
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
Version:
iOS 8 beta 2
Configuration:
iOS Simulator, iPad 2
--
This message was sent by Atlassian JIRA
(v6.2#6252)