[webkit-changes] [WebKit/WebKit] c5ec4e: [GLib] New API should use UnifiedOriginStorageLeve...

Michael Catanzaro noreply at github.com
Thu Feb 16 09:28:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c5ec4e0204d8a980cec052127a788e53e955d601
      https://github.com/WebKit/WebKit/commit/c5ec4e0204d8a980cec052127a788e53e955d601
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
    M Source/WebKit/UIProcess/glib/WebsiteDataStoreGLib.cpp

  Log Message:
  -----------
  [GLib] New API should use UnifiedOriginStorageLevel::Basic
https://bugs.webkit.org/show_bug.cgi?id=244058

Reviewed by Carlos Garcia Campos and Sihui Liu.

For the original API version, we have to stick with
UnifiedOriginStorageLevel::None forever because this is the only storage
scheme that's compatible with use of custom directories, which are
exposed in the API. But with the new API version, we have no such
restriction.

* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::networkProcessHasEntitlementForTesting):
(WebKit::WebsiteDataStore::defaultUnifiedOriginStorageLevel):
* Source/WebKit/UIProcess/glib/WebsiteDataStoreGLib.cpp:
(WebKit::WebsiteDataStore::defaultUnifiedOriginStorageLevel):

Canonical link: https://commits.webkit.org/260375@main




More information about the webkit-changes mailing list