[Webkit-unassigned] [Bug 210235] New: Cookies still exist after data removal of WKWebsiteDataStore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 8 18:41:42 PDT 2020


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

            Bug ID: 210235
           Summary: Cookies still exist after data removal of
                    WKWebsiteDataStore
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sihui_liu at apple.com

Reproducible steps:
1. Store some cookies on disk(can be done and verified with WKHTTPCookieStore's API), then quit app (make sure no cookie storage in memory).
2. Remove all data of default session with WKWebsiteDataStore's removeDataOfTypes.
3. Get cookies with WKHTTPCookieStore's API. The cookies count is not zero.

The problem is that UI process and network process are accessing the same cookie storage file. Cookie removal of step 2 is done in the network process and cookie retrieval of step 3 is done in the UI process (because there is no processpool). 

UI process may read the cookie storage file into memory before data removal of step 2, and not update in-memory storage properly.

-- 
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/20200409/f5672a9d/attachment-0001.htm>


More information about the webkit-unassigned mailing list