[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
Mon Dec 14 15:22:15 PST 2020


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

--- Comment #1 from Geoffrey Garen <ggaren at apple.com> ---
> When app users tap for in-app browser with WKWebView, a call from WKWebView to the server is made (either directly or via XMLHttpRequest).  And right after the network call, cookies in NSHTTPCookieStorage are deleted. We suspect there is some bug in the sync between WKHTTPCookieStorage & NSHTTPCookieStorage leading to deletion of cookies from NSHTTPCookieStorage.

In this case, what method did you use to notice that cookies were removed from NSHTTPCookieStorage?

At that time, were the cookies still present in WKHTTPCookieStorage?

> First call after cold launch either in the app or extension/widget doesn’t contain certain cookies but those cookies magically appear after a few milliseconds and subsequent network calls do contain these cookies.

Is this case distinct from the case where cookies get deleted?

In this case, what method did you use to notice that cookies were initially missing? Were they missing from NSHTTPCookieStorage, WKHTTPCookieStorage, or both?

-- 
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/20201214/41c53ffc/attachment.htm>


More information about the webkit-unassigned mailing list