Changeset 238125 in webkit
- Timestamp:
- Nov 12, 2018 11:41:30 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r238122 r238125 1 2018-11-12 Darshan Kadu <darsh7807@gmail.com> 2 3 Implement Cache API support for WPE/GTK 4 https://bugs.webkit.org/show_bug.cgi?id=178316 5 6 Reviewed by Michael Catanzaro. 7 8 Removed the http/wpt/cache-storage/cache-quota.any.html from the TestExpectations which 9 were marked faliure. 10 11 * platform/gtk/TestExpectations: 12 * platform/wpe/TestExpectations: 13 1 14 2018-11-12 Devin Rousso <drousso@apple.com> 2 15 -
trunk/LayoutTests/platform/gtk/TestExpectations
r238122 r238125 1118 1118 fast/forms/range/input-appearance-range-rtl.html [ ImageOnlyFailure ] 1119 1119 1120 # Cache storage1121 webkit.org/b/178316 http/wpt/cache-storage/cache-quota.any.html [ Failure ]1122 1123 1120 # Service-workers tests that fail, time out or crash. 1124 1121 webkit.org/b/175419 http/tests/workers/service/controller-change.html [ Skip ] -
trunk/LayoutTests/platform/wpe/TestExpectations
r238122 r238125 493 493 http/tests/websocket [ Skip ] 494 494 http/tests/xmlhttprequest [ Skip ] 495 496 # Cache storage497 webkit.org/b/178316 http/wpt/cache-storage/cache-quota.any.html [ Skip ]498 495 499 496 # Service-workers tests that fail, time out or crash. -
trunk/Source/WebKit/ChangeLog
r238115 r238125 1 2018-11-12 Darshan Kadu <darsh7807@gmail.com> 2 3 Implement Cache API support for WPE/GTK 4 https://bugs.webkit.org/show_bug.cgi?id=178316 5 6 Reviewed by Michael Catanzaro. 7 8 Added a new API function WKWebsiteDataStoreSetCacheStoragePerOriginQuota which sets the 9 cache limit per origin. 10 11 * UIProcess/API/C/WKWebsiteDataStoreRef.cpp: 12 (WKWebsiteDataStoreSetCacheStoragePerOriginQuota): 13 * UIProcess/API/C/WKWebsiteDataStoreRef.h: 14 1 15 2018-11-12 Alex Christensen <achristensen@webkit.org> 2 16 -
trunk/Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp
r236842 r238125 572 572 } 573 573 574 void WKWebsiteDataStoreSetCacheStoragePerOriginQuota(WKWebsiteDataStoreRef dataStoreRef, uint64_t quota) 575 { 576 WebKit::toImpl(dataStoreRef)->websiteDataStore().setCacheStoragePerOriginQuota(quota); 577 } 574 578 575 579 void WKWebsiteDataStoreSetWebAuthenticationMockConfiguration(WKWebsiteDataStoreRef dataStoreRef, WKDictionaryRef configurationRef) -
trunk/Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.h
r236481 r238125 115 115 WK_EXPORT void WKWebsiteDataStoreSetServiceWorkerRegistrationDirectory(WKWebsiteDataStoreRef dataStoreRef, WKStringRef serviceWorkerRegistrationDirectory); 116 116 117 WK_EXPORT void WKWebsiteDataStoreSetCacheStoragePerOriginQuota(WKWebsiteDataStoreRef dataStoreRef, uint64_t quota); 118 117 119 WK_EXPORT void WKWebsiteDataStoreSetWebAuthenticationMockConfiguration(WKWebsiteDataStoreRef dataStoreRef, WKDictionaryRef configuration); 118 120 -
trunk/Tools/ChangeLog
r238123 r238125 1 2018-11-12 Darshan Kadu <darsh7807@gmail.com> 2 3 Implement Cache API support for WPE/GTK 4 https://bugs.webkit.org/show_bug.cgi?id=178316 5 6 Reviewed by Michael Catanzaro. 7 8 Called WKWebsiteDataStoreSetCacheStoragePerOriginQuota function to set the cache limit to 400 * 1200 9 on all the platforms in TestController.cpp. Also, removed the setCacheStoragePerOriginQuota call from TestControllerCocoa.mm 10 11 * WebKitTestRunner/TestController.cpp: 12 (WTR::TestController::generatePageConfiguration): 13 * WebKitTestRunner/cocoa/TestControllerCocoa.mm: 14 (WTR::initializeWebViewConfiguration): 15 1 16 2018-11-12 Christopher Reid <chris.reid@sony.com> 2 17 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r238108 r238125 484 484 WKContextSetCacheModel(m_context.get(), kWKCacheModelDocumentBrowser); 485 485 486 auto* websiteDataStore = WKContextGetWebsiteDataStore(m_context.get()); 487 WKWebsiteDataStoreSetCacheStoragePerOriginQuota(websiteDataStore, 400 * 1024); 488 486 489 platformInitializeContext(); 487 490 -
trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm
r238108 r238125 70 70 71 71 WKWebsiteDataStore* poolWebsiteDataStore = (__bridge WKWebsiteDataStore *)WKContextGetWebsiteDataStore((__bridge WKContextRef)globalWebViewConfiguration.processPool); 72 [poolWebsiteDataStore _setCacheStoragePerOriginQuota: 400 * 1024];73 72 if (libraryPath) { 74 73 String cacheStorageDirectory = String(libraryPath) + '/' + "CacheStorage";
Note: See TracChangeset
for help on using the changeset viewer.