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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 22 22:35:23 PDT 2018


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

--- Comment #6 from Sihui Liu <sihui_liu at apple.com> ---
(In reply to Raghavendra from comment #5)
> 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.

Could you provide a test case where getAllCookies of WKHTTPCookieStore returns wrong 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/20180823/70304d5e/attachment.html>


More information about the webkit-unassigned mailing list