[Webkit-unassigned] [Bug 198554] Unable to get cookies from WKWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 5 14:12:13 PDT 2019


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

--- Comment #6 from Chris Dumez <cdumez at apple.com> ---
(In reply to Alex Christensen from comment #3)
> websiteDataStore.httpCookieStore.getAllCookies does go to the network
> process and gets the cookies from the storage that the WKWebView is using. 

What does it mean "the storage that the WKWebView is using" ? iirc, Jeremy is using an ephemeral data store. If the cookies are set in the network process and then read from another process, isn't there a sync delay / race?

> It's possible a sub resource is setting the cookie after the main resource
> is done loading, in which case it's possible that getAllCookies would get
> the cookies between main and sub resource loading.

Jeremy, could you confirm if the Set-Cookie response if from the main resource load or for a sub-resource load later on?

> The cookiesDidChange
> should indeed be called, though, so something is strange here.  Could you
> attach a simple project that reproduces the issue?

For this part, I suspect a bug in the app because it should definitely get called.
A simple test project reproducing the issue would definitely help us a lot.


If I remember correctly, Jeremy said at WWDC that the issue may only reproduce when using the ephemeral data store. Jeremy, could you please confirm.

-- 
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/20190605/d32d30e0/attachment.html>


More information about the webkit-unassigned mailing list