Changeset 291909 in webkit


Ignore:
Timestamp:
Mar 25, 2022 5:57:19 PM (4 months ago)
Author:
sihui_liu@apple.com
Message:

Disable custom storage paths for IndexedDB and LocalStorage by default
https://bugs.webkit.org/show_bug.cgi?id=236977

Reviewed by Geoffrey Garen.
<rdar://problem/89559929>

  • FeatureFlags/WebKit-appletvos.plist:
  • FeatureFlags/WebKit-ios.plist:
  • FeatureFlags/WebKit-macos.plist:
  • FeatureFlags/WebKit-watchos.plist:
  • UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:

(WebKit::WebsiteDataStore::defaultShouldUseCustomStoragePaths):

Location:
trunk/Source/WebKit
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r291907 r291909  
     12022-03-25  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Disable custom storage paths for IndexedDB and LocalStorage by default
     4        https://bugs.webkit.org/show_bug.cgi?id=236977
     5
     6        Reviewed by Geoffrey Garen.
     7        <rdar://problem/89559929>
     8
     9        * FeatureFlags/WebKit-appletvos.plist:
     10        * FeatureFlags/WebKit-ios.plist:
     11        * FeatureFlags/WebKit-macos.plist:
     12        * FeatureFlags/WebKit-watchos.plist:
     13        * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
     14        (WebKit::WebsiteDataStore::defaultShouldUseCustomStoragePaths):
     15
    1162022-03-25  Said Abou-Hallawa  <said@apple.com>
    217
  • trunk/Source/WebKit/FeatureFlags/WebKit-appletvos.plist

    r291907 r291909  
    9696        <dict>
    9797                <key>Enabled</key>
    98                 <false/>
     98                <true/>
    9999        </dict>
    100100</dict>
  • trunk/Source/WebKit/FeatureFlags/WebKit-ios.plist

    r291907 r291909  
    9696        <dict>
    9797                <key>Enabled</key>
    98                 <false/>
     98                <true/>
    9999        </dict>
    100100</dict>
  • trunk/Source/WebKit/FeatureFlags/WebKit-macos.plist

    r290582 r291909  
    101101        <dict>
    102102                <key>Enabled</key>
    103                 <false/>
     103                <true/>
    104104        </dict>
    105105</dict>
  • trunk/Source/WebKit/FeatureFlags/WebKit-watchos.plist

    r291907 r291909  
    9696        <dict>
    9797                <key>Enabled</key>
    98                 <false/>
     98                <true/>
    9999        </dict>
    100100</dict>
  • trunk/Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm

    r290582 r291909  
    620620bool WebsiteDataStore::defaultShouldUseCustomStoragePaths()
    621621{
    622     static const bool useGeneralStorageDirectory = isFeatureFlagEnabled("general_directory_for_storage"_s);
     622    static const bool useGeneralStorageDirectory = isFeatureFlagEnabled("general_directory_for_storage"_s, true);
    623623    return !useGeneralStorageDirectory;
    624624}
Note: See TracChangeset for help on using the changeset viewer.