[Webkit-unassigned] [Bug 188691] REGRESSION (iOS 12): WKWebView cookies are empty in responseHeaders

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 18 09:28:38 PDT 2018


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

--- Comment #5 from Raghavendra <raghavendra.l at gmail.com> ---
WKHTTPCookieStore has below API to fetch cookies.
- (void)getAllCookies:(void (^)(NSArray<NSHTTPCookie *> *))completionHandler;

But the API does not work consistently. Sometimes it gets the cookies and sometimes it provides the old cookies even though new Cookies or updated cookies are available.
This API has not worked in iOS11 too and it's inconsistent behavior is continues to be there in iOS12 beta too.


What is the reason for not allowing apps to read cookies from headers? Each application is different, framework/platform should be rich to provide the required details through appropriate APIs. By fencing/curtailing capabilities do not add any value to users through development eco system.

-- 
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/20180818/73411f90/attachment.html>


More information about the webkit-unassigned mailing list