[Webkit-unassigned] [Bug 272325] REGRESSION (iOS 17.x): Session cookies being reset randomly in a Home Screen web app

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 13 01:04:34 PDT 2024


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

Àlex Fiestas <afiestaso at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |afiestaso at gmail.com

--- Comment #13 from Àlex Fiestas <afiestaso at gmail.com> ---
I believe that we have been suffering the same bug, although with a WKWebview.

Some metadata that hopefully will help you locate the error.

We started to get negative reviews around 2 months ago. Some users can reliable reproduce this every 24h or 48h.

We added a log statement on every request using a WKNavigationDelegate that will check if the login cookie was present and also print getAllCookies.

What we have been able to observe is that there is a ~30% chance that the first requests will not have any cookies, or at least they won't be available in the NavigationDelegate. After the third request or so cookies are sent.

I took a look at the webkit source code and it seems that the cookie initialization is async. Perhaps this is simply a race condition?

-- 
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/20240513/20bbf95a/attachment-0001.htm>


More information about the webkit-unassigned mailing list