[Webkit-unassigned] [Bug 140205] New: WKWebView does not provide a way to set cookie accept policy
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 7 14:05:45 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140205
Bug ID: 140205
Summary: WKWebView does not provide a way to set cookie accept
policy
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: iOS
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: eugenebut at chromium.org
Summary:
With UIWebView, it’s possible to set the the cookie accept policy using -[NSHTTPCookieStorage setCookieAcceptPolicy:]. WKWebView does not appear to interoperate with NSHTTPCookieStorage. This makes it impossible to let users decide if they want to accept cookies or not.
Steps to Reproduce:
N/A, but for example:
- Create a trivial WKWebView app
- set [[NSHTTPCookieStorage sharedCookieStorage] setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyNever]
- Browse around and see that cookies are still accepted
Expected Results:
Either NSHTTPCookieStorage working as expected (as it did with UIWebView), or WK* APIs for setting the cookie accept policy
Exposing -[WKProcessPool _setCookieAcceptPolicy:] as a public API will be perfect solution:
https://bugs.webkit.org/show_bug.cgi?id=130251
--
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/20150107/bd5a3f2c/attachment-0002.html>
More information about the webkit-unassigned
mailing list