[Webkit-unassigned] [Bug 219872] All our cookies get randomly deleted from the NSHTTPCookieStorage. Could be a cookie sync issue between NSHTTPCookieStorage and WKHTTPCookieStore.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 16 18:17:55 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219872
--- Comment #10 from exu at linkedin.com ---
(In reply to Geoffrey Garen from comment #9)
Thanks for your suggestions Geoffrey!
We didn't change any of this code on our side, but we started observing increased instances occurring on iOS 14 after we released a version of the app built with the iOS 14 SDK. Could you share some details on why that could be?
> Here's a theory of a change that might help:
>
> (1) Make sure that all WebViews share the same WKWebViewConfiguration;
>
> (2) Always use WKHTTPCookieStore to access cookies, and never use
> NSHTTPCookieStore.
>
> These changes taken together should eliminate a few races between different
> ways to access the same cookies. Maybe those races explain some of these
> issues.
--
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/20201217/352a8cf0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list