[webkit-changes] [WebKit/WebKit] 10e7ff: Remove ApplicationCache code from WebKitLegacy and...
Sihui
noreply at github.com
Thu Feb 29 10:13:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 10e7ff9d1dc80ea8466ef2d4f82a51104fb8f387
https://github.com/WebKit/WebKit/commit/10e7ff9d1dc80ea8466ef2d4f82a51104fb8f387
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M Source/WebKit/MigratedHeaders-input.xcfilelist
M Source/WebKit/MigratedHeaders-output.xcfilelist
M Source/WebKit/Modules/OSX_Private.modulemap
M Source/WebKit/Modules/iOS_Private.modulemap
M Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h
M Source/WebKitLegacy/SourcesCocoa.txt
M Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj
M Source/WebKitLegacy/mac/Misc/WebCache.mm
M Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCache.h
M Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCache.mm
M Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCacheInternal.h
M Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCacheQuotaManager.h
M Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCacheQuotaManager.mm
M Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.h
M Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm
M Source/WebKitLegacy/mac/WebCoreSupport/WebSecurityOrigin.mm
M Source/WebKitLegacy/mac/WebCoreSupport/WebSecurityOriginPrivate.h
M Source/WebKitLegacy/mac/WebKit.exp
M Source/WebKitLegacy/mac/WebView/WebDataSource.mm
M Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm
M Source/WebKitLegacy/mac/WebView/WebHTMLView.mm
M Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h
M Source/WebKitLegacy/mac/WebView/WebPreferences.mm
M Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h
M Source/WebKitLegacy/mac/WebView/WebView.mm
M Tools/DumpRenderTree/TestRunner.cpp
M Tools/DumpRenderTree/TestRunner.h
M Tools/DumpRenderTree/mac/DumpRenderTree.mm
M Tools/DumpRenderTree/mac/TestRunnerMac.mm
M Tools/DumpRenderTree/mac/UIDelegate.mm
M Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
M Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
M Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
M Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
Log Message:
-----------
Remove ApplicationCache code from WebKitLegacy and TestRunner
https://bugs.webkit.org/show_bug.cgi?id=270120
rdar://123651735
Reviewed by Chris Dumez.
Also, clean up stale AppCache data on disk for WebKitLegacy clients.
* Source/WebKit/MigratedHeaders-input.xcfilelist:
* Source/WebKit/MigratedHeaders-output.xcfilelist:
* Source/WebKit/Modules/OSX_Private.modulemap:
* Source/WebKit/Modules/iOS_Private.modulemap:
* Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::processClearSiteDataHeader):
* Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageClearApplicationCache): Deleted.
(WKBundlePageClearApplicationCacheForOrigin): Deleted.
(WKBundlePageSetAppCacheMaximumSize): Deleted.
(WKBundlePageGetAppCacheUsageForOrigin): Deleted.
(WKBundlePageCopyOriginsWithApplicationCache): Deleted.
* Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
* Source/WebKitLegacy/SourcesCocoa.txt:
* Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj:
* Source/WebKitLegacy/mac/Misc/WebCache.mm:
(+[WebCache empty]):
* Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCache.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCache.mm:
(overrideBundleIdentifier): Deleted.
(+[WebApplicationCache initializeWithBundleIdentifier:]): Deleted.
(applicationCacheBundleIdentifier): Deleted.
(applicationCachePath): Deleted.
(+[WebApplicationCache maximumSize]): Deleted.
(+[WebApplicationCache setMaximumSize:]): Deleted.
(+[WebApplicationCache defaultOriginQuota]): Deleted.
(+[WebApplicationCache setDefaultOriginQuota:]): Deleted.
(+[WebApplicationCache diskUsageForOrigin:]): Deleted.
(+[WebApplicationCache deleteAllApplicationCaches]): Deleted.
(+[WebApplicationCache deleteCacheForOrigin:]): Deleted.
(+[WebApplicationCache originsWithCache]): Deleted.
(webApplicationCacheStorage): Deleted.
* Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCacheInternal.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCacheQuotaManager.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebApplicationCacheQuotaManager.mm:
(-[WebApplicationCacheQuotaManager initWithOrigin:]): Deleted.
(-[WebApplicationCacheQuotaManager origin]): Deleted.
(-[WebApplicationCacheQuotaManager usage]): Deleted.
(-[WebApplicationCacheQuotaManager quota]): Deleted.
(-[WebApplicationCacheQuotaManager setQuota:]): Deleted.
* Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::reachedMaxAppCacheSize): Deleted.
(WebChromeClient::reachedApplicationCacheOriginQuota): Deleted.
* Source/WebKitLegacy/mac/WebCoreSupport/WebSecurityOrigin.mm:
(-[WebSecurityOrigin dealloc]):
(-[WebSecurityOrigin applicationCacheQuotaManager]): Deleted.
* Source/WebKitLegacy/mac/WebCoreSupport/WebSecurityOriginPrivate.h:
* Source/WebKitLegacy/mac/WebKit.exp:
* Source/WebKitLegacy/mac/WebView/WebDataSource.mm:
* Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm:
* Source/WebKitLegacy/mac/WebView/WebHTMLView.mm:
* Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h:
* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences applicationCacheTotalQuota]):
(-[WebPreferences setApplicationCacheTotalQuota:]):
(-[WebPreferences applicationCacheDefaultOriginQuota]):
(-[WebPreferences setApplicationCacheDefaultOriginQuota:]):
* Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h:
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(applicationCacheBundleIdentifier):
(applicationCachePath):
(webApplicationCacheStorage):
(-[WebView _preferencesChanged:]):
* Tools/DumpRenderTree/TestRunner.cpp:
(TestRunner::staticFunctions):
(clearAllApplicationCachesCallback): Deleted.
(clearApplicationCacheForOriginCallback): Deleted.
(applicationCacheDiskUsageForOriginCallback): Deleted.
(originsWithApplicationCacheCallback): Deleted.
(setAppCacheMaximumSizeCallback): Deleted.
* Tools/DumpRenderTree/TestRunner.h:
(TestRunner::portsForUpgradingInsecureScheme):
* Tools/DumpRenderTree/mac/DumpRenderTree.mm:
(runTest):
* Tools/DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::clearAllApplicationCaches): Deleted.
(TestRunner::applicationCacheDiskUsageForOrigin): Deleted.
(TestRunner::clearApplicationCacheForOrigin): Deleted.
(originsArrayToJS): Deleted.
(TestRunner::originsWithApplicationCache): Deleted.
(TestRunner::setAppCacheMaximumSize): Deleted.
* Tools/DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:exceededApplicationCacheOriginQuotaForSecurityOrigin:totalSpaceNeeded:]): Deleted.
* Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::beginTesting):
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::clearAllApplicationCaches): Deleted.
(WTR::TestRunner::clearApplicationCacheForOrigin): Deleted.
(WTR::TestRunner::setAppCacheMaximumSize): Deleted.
(WTR::TestRunner::applicationCacheDiskUsageForOrigin): Deleted.
(WTR::TestRunner::originsWithApplicationCache): Deleted.
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.h:
Canonical link: https://commits.webkit.org/275500@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list