[Webkit-unassigned] [Bug 140191] New: WKWebView provides no access to cookies
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 7 11:43:31 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140191
Bug ID: 140191
Summary: WKWebView provides no access to cookies
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: iOS
OS: All
Status: NEW
Severity: Major
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: eugenebut at chromium.org
With UIWebView, it's possible to set, remove, and clear cookies using NSHTTPCookieStorage. WKWebView does not appear to interoperate with NSHTTPCookieStorage, and has no API for cookies. This makes it impossible to do things like:
- Set authentication cookies from native code based on native login
- Swap cookie stores for a multi-profile/-user setup
Steps to Reproduce:
N/A, but for example:
- Create a trivial WKWebView app
- Browser around
- Log [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies] and see that it's empty.
Expected Results:
Either NSHTTPCookieStorage working as expected (as it did with UIWebView), or WK* APIs for inspecting and manipulating cookies.
Actual Results:
No apparent way to interact with cookies.
--
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/a22204b1/attachment-0002.html>
More information about the webkit-unassigned
mailing list