[Webkit-unassigned] [Bug 200298] New: [GTK] WebKitCookieManager fails to persist if its persistent storage set before WebKitWebsiteDataManager assigned to WebKitWebContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 31 02:30:19 PDT 2019


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

            Bug ID: 200298
           Summary: [GTK] WebKitCookieManager fails to persist if its
                    persistent storage set before WebKitWebsiteDataManager
                    assigned to WebKitWebContext
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andri at dot.ee
                CC: bugs-noreply at webkitgtk.org

Hey,

Turns out if you get the cookie manager off of a new non-ephemeral WebKitWebsiteDataManager and set its persistence with `webkit_cookie_manager_set_persistent_storage`, that fails to take effect if you haven't created a WebKitWebContext with the data manager prior with `webkit_web_context_new_with_website_data_manager`. Because I think it's quite natural to configure a data manager before passing it onward for web context use, having such a "forward" dependency isn't intuitive. Nor mentioned in documentation, as far I noticed.

This with WebKitGTK v2.24.3.

Cheers

-- 
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/20190731/003a4113/attachment-0001.html>


More information about the webkit-unassigned mailing list