Changeset 128173 in webkit
- Timestamp:
- Sep 11, 2012 5:32:24 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r128169 r128173 1 2012-09-11 Christophe Dumez <christophe.dumez@intel.com> 2 3 [WK2][WKTR] TestRunner needs to implement clearApplicationCacheForOrigin 4 https://bugs.webkit.org/show_bug.cgi?id=96372 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Refresh Skipped list now that clearApplicationCacheForOrigin 9 is implemented in TestRunner. Some tests were also marked as 10 failing due to clearAllApplicationCaches() being missing 11 despite the fact that it is already implemented. 12 13 * platform/wk2/Skipped: 14 1 15 2012-09-11 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 16 -
trunk/LayoutTests/platform/wk2/Skipped
r128169 r128173 204 204 205 205 # WTR needs an implementation of dumpApplicationCacheDelegateCallbacks 206 http/tests/appcache/origin-delete.html 207 http/tests/appcache/origin-quota.html 208 http/tests/appcache/origin-quota-continued-download.html 209 http/tests/appcache/origin-quota-continued-download-multiple-manifests.html 206 210 http/tests/appcache/origin-usage.html 211 http/tests/appcache/origins-with-appcache.html 207 212 208 213 # WebKitTestRunner needs to support layoutTestController.dumpDOMAsWebArchive … … 676 681 fast/workers/worker-close-more.html 677 682 678 # WebKitTestRunner needs layoutTestController.clearAllApplicationCaches679 http/tests/appcache/origin-delete.html680 http/tests/appcache/origin-quota.html681 http/tests/appcache/origin-quota-continued-download.html682 http/tests/appcache/origin-quota-continued-download-multiple-manifests.html683 http/tests/appcache/origins-with-appcache.html684 685 683 # WebKitTestRunner needs layoutTestController.callShouldCloseOnWebView 686 684 fast/events/onbeforeunload-focused-iframe.html -
trunk/Source/WebKit2/ChangeLog
r128169 r128173 1 2012-09-11 Christophe Dumez <christophe.dumez@intel.com> 2 3 [WK2][WKTR] TestRunner needs to implement clearApplicationCacheForOrigin 4 https://bugs.webkit.org/show_bug.cgi?id=96372 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add Bundle C API to clear the application cache for a 9 given origin. This is needed by WebKitTestRunner to 10 implement clearApplicationCacheForOrigin(). 11 12 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 13 (WKBundleClearApplicationCacheForOrigin): 14 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 15 * WebProcess/InjectedBundle/InjectedBundle.cpp: 16 (WebKit::InjectedBundle::clearApplicationCacheForOrigin): 17 (WebKit): 18 * WebProcess/InjectedBundle/InjectedBundle.h: 19 (InjectedBundle): 20 1 21 2012-09-11 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 22 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r128169 r128173 227 227 } 228 228 229 void WKBundleClearApplicationCacheForOrigin(WKBundleRef bundleRef, WKStringRef origin) 230 { 231 toImpl(bundleRef)->clearApplicationCacheForOrigin(toImpl(origin)->string()); 232 } 233 229 234 void WKBundleSetAppCacheMaximumSize(WKBundleRef bundleRef, uint64_t size) 230 235 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r128169 r128173 95 95 // Application Cache API 96 96 WK_EXPORT void WKBundleClearApplicationCache(WKBundleRef bundle); 97 WK_EXPORT void WKBundleClearApplicationCacheForOrigin(WKBundleRef bundle, WKStringRef origin); 97 98 WK_EXPORT void WKBundleSetAppCacheMaximumSize(WKBundleRef bundle, uint64_t size); 98 99 WK_EXPORT uint64_t WKBundleGetAppCacheUsageForOrigin(WKBundleRef bundle, WKStringRef origin); -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r128169 r128173 328 328 } 329 329 330 void InjectedBundle::clearApplicationCacheForOrigin(const String& originString) 331 { 332 RefPtr<SecurityOrigin> origin = SecurityOrigin::createFromString(originString); 333 ApplicationCache::deleteCacheForOrigin(origin.get()); 334 } 335 330 336 void InjectedBundle::setAppCacheMaximumSize(uint64_t size) 331 337 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r128169 r128173 146 146 // Application Cache API 147 147 void clearApplicationCache(); 148 void clearApplicationCacheForOrigin(const String& origin); 148 149 void setAppCacheMaximumSize(uint64_t); 149 150 uint64_t appCacheUsageForOrigin(const String& origin); -
trunk/Tools/ChangeLog
r128170 r128173 1 2012-09-11 Christophe Dumez <christophe.dumez@intel.com> 2 3 [WK2][WKTR] TestRunner needs to implement clearApplicationCacheForOrigin 4 https://bugs.webkit.org/show_bug.cgi?id=96372 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Implement clearApplicationCacheForOrigin() in WebKitTestRunner. 9 10 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: 11 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 12 (WTR::TestRunner::clearApplicationCacheForOrigin): 13 (WTR): 14 * WebKitTestRunner/InjectedBundle/TestRunner.h: 15 (TestRunner): 16 1 17 2012-09-11 Peter Beverloo <peter@chromium.org> 2 18 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r128169 r128173 110 110 void setAppCacheMaximumSize(in unsigned long long size); 111 111 long long applicationCacheDiskUsageForOrigin(in DOMString origin); 112 void clearApplicationCacheForOrigin(in DOMString name); 112 113 113 114 // Compositing testing. -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r128169 r128173 303 303 } 304 304 305 void TestRunner::clearApplicationCacheForOrigin(JSStringRef origin) 306 { 307 WKBundleClearApplicationCacheForOrigin(InjectedBundle::shared().bundle(), toWK(origin).get()); 308 } 309 305 310 void TestRunner::setAppCacheMaximumSize(uint64_t size) 306 311 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
r128169 r128173 145 145 // Application Cache 146 146 void clearAllApplicationCaches(); 147 void clearApplicationCacheForOrigin(JSStringRef origin); 147 148 void setAppCacheMaximumSize(uint64_t); 148 149 long long applicationCacheDiskUsageForOrigin(JSStringRef origin);
Note: See TracChangeset
for help on using the changeset viewer.