[Webkit-unassigned] [Bug 239521] New: WebKit-GTK 2.36.0 does not use user-specified storage/cache directories

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 19 15:16:00 PDT 2022


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

            Bug ID: 239521
           Summary: WebKit-GTK 2.36.0 does not use user-specified
                    storage/cache directories
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dave at killthe.net

I'm initializing a new web context like this, according to the API instructions, to put all cache/data directories under data_dir, which is a hidden subdirectory of my home directory:

    manager = webkit_website_data_manager_new ("base-cache-directory",      data_dir, 
                                               "base-data-directory",       data_dir,
                                               "disk-cache-directory",      data_dir,
                                               "dom-cache-directory",       data_dir,
                                               "hsts-cache-directory",      data_dir,
                                               "indexeddb-directory",       data_dir,
                                               "itp-directory",             data_dir,
                                               "local-storage-directory",   data_dir,
                                               "offline-application-cache-directory",
                                                                            data_dir,
                                               "service-worker-registrations-directory", 
                                                                            data_dir,
                                               NULL);

    context = webkit_web_context_new_with_website_data_manager (manager);

I've also tried it using a separate subdirectory for each line, all under the same directory. In either case, it does not work. The subdirectory gets created and there are a few (empty) entries put there, but actual local storage remains under ~/.local/share/webkitgtk and the actual cache is put in a ~/.cache subdirectory. The hsts-cache does appear to use the user-supplied path, but nothing else does.

I'm marking this as a major bug, because it prevents different WebKit browsers from using their own individual cookies, cache, etc, which totally screws me.

-- 
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/20220419/5f38c4ff/attachment.htm>


More information about the webkit-unassigned mailing list