[Webkit-unassigned] [Bug 188995] New: iOS 12 WKHTTPCookieStoreObserver does not consistently callback on cookie changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 27 11:29:38 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=188995
Bug ID: 188995
Summary: iOS 12 WKHTTPCookieStoreObserver does not consistently
callback on cookie changes
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bchenindeed at gmail.com
Created attachment 348177
--> https://bugs.webkit.org/attachment.cgi?id=348177&action=review
sample project
On iOS 12 beta 10 (and earlier), the WKHTTPCookieStoreObserver cookiesDidChange method is not being consistently called.
We use the WKHTTPCookieStoreObserver to synchronize login state. Our login occurs in WKWebView which sets cookies with authentication tokens. We then transfer those cookies to our NSURLSession requests to our direct API.
As of iOS 12 beta, the WKHTTPCookieStoreObserver, cookiesDidChange method seems to be getting called inconsistently. During debugging (via logs) we see it getting called for some initial requests and then it just stops being called.
Attached a sample project that demonstrates issue. Callback is called on initial page load. When you perform a search, cookies are modified, but the observer is never notified.
Radar: 43691855
--
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/20180827/3dcede83/attachment.html>
More information about the webkit-unassigned
mailing list