Changeset 128157 in webkit
- Timestamp:
- Sep 11, 2012 2:16:21 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r128155 r128157 1 2012-09-11 Christophe Dumez <christophe.dumez@intel.com> 2 3 WTR needs an implementation of applicationCacheDiskUsageForOrigin 4 https://bugs.webkit.org/show_bug.cgi?id=87188 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Unskip test cases that require an implementation of 9 applicationCacheDiskUsageForOrigin in WebKitTestRunner. 10 11 * platform/efl/Skipped: 12 * platform/wk2/Skipped: 13 1 14 2012-09-11 Mihnea Ovidenie <mihnea@adobe.com> 2 15 -
trunk/LayoutTests/platform/efl/Skipped
r127389 r128157 329 329 fast/text/midword-break-after-breakable-char.html 330 330 http/tests/navigation/go-back-to-error-page.html 331 loader/go-back-to-different-window-size.html332 331 userscripts/user-script-plugin-document.html 333 332 … … 742 741 http/tests/navigation/no-referrer-reset.html 743 742 http/tests/navigation/no-referrer-target-blank.html 744 http/tests/navigation/ping-cross-origin-from-https.html745 743 http/tests/navigation/post-goback-same-url.html 746 744 http/tests/navigation/post-goback2.html -
trunk/LayoutTests/platform/wk2/Skipped
r127966 r128157 203 203 fast/text/zero-font-size.html 204 204 205 # WTR needs an implementation of applicationCacheDiskUsageForOrigin 206 # https://bugs.webkit.org/show_bug.cgi?id=87188 205 # WTR needs an implementation of dumpApplicationCacheDelegateCallbacks 207 206 http/tests/appcache/origin-usage.html 208 http/tests/canvas/webgl/origin-clean-conformance.html209 http/tests/navigation/ping-cross-origin-from-https.html210 http/tests/security/webgl-remote-read-remote-image-allowed.html211 http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html212 http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html213 loader/go-back-to-different-window-size.html214 media/restore-from-page-cache.html215 java/embedding-java-with-object.html216 207 217 208 # WebKitTestRunner needs to support layoutTestController.dumpDOMAsWebArchive -
trunk/Source/WebKit2/ChangeLog
r128154 r128157 1 2012-09-11 Christophe Dumez <christophe.dumez@intel.com> 2 3 WTR needs an implementation of applicationCacheDiskUsageForOrigin 4 https://bugs.webkit.org/show_bug.cgi?id=87188 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add Bundle private C API to retrieve the application cache 9 usage for a specific security origin. This is needed by 10 WebKitTestRunner. 11 12 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 13 (WKBundleGetAppCacheUsageForOrigin): 14 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 15 * WebProcess/InjectedBundle/InjectedBundle.cpp: 16 (WebKit::InjectedBundle::appCacheUsageForOrigin): 17 (WebKit): 18 * WebProcess/InjectedBundle/InjectedBundle.h: 19 (InjectedBundle): 20 1 21 2012-09-11 Zhigang Gong <zhigang.gong@linux.intel.com> 2 22 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r127909 r128157 232 232 } 233 233 234 uint64_t WKBundleGetAppCacheUsageForOrigin(WKBundleRef bundleRef, WKStringRef origin) 235 { 236 return toImpl(bundleRef)->appCacheUsageForOrigin(toImpl(origin)->string()); 237 } 238 234 239 int WKBundleNumberOfPages(WKBundleRef bundleRef, WKBundleFrameRef frameRef, double pageWidthInPixels, double pageHeightInPixels) 235 240 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r127909 r128157 95 95 WK_EXPORT void WKBundleClearApplicationCache(WKBundleRef bundle); 96 96 WK_EXPORT void WKBundleSetAppCacheMaximumSize(WKBundleRef bundle, uint64_t size); 97 WK_EXPORT uint64_t WKBundleGetAppCacheUsageForOrigin(WKBundleRef bundle, WKStringRef origin); 97 98 98 99 // Garbage collection API -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r127966 r128157 47 47 #include <JavaScriptCore/APICast.h> 48 48 #include <JavaScriptCore/JSLock.h> 49 #include <WebCore/ApplicationCache.h> 49 50 #include <WebCore/Frame.h> 50 51 #include <WebCore/FrameView.h> … … 332 333 } 333 334 335 uint64_t InjectedBundle::appCacheUsageForOrigin(const String& originString) 336 { 337 RefPtr<SecurityOrigin> origin = SecurityOrigin::createFromString(originString); 338 return ApplicationCache::diskUsageForOrigin(origin.get()); 339 } 340 334 341 int InjectedBundle::numberOfPages(WebFrame* frame, double pageWidthInPixels, double pageHeightInPixels) 335 342 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r127909 r128157 146 146 void clearApplicationCache(); 147 147 void setAppCacheMaximumSize(uint64_t); 148 uint64_t appCacheUsageForOrigin(const String& origin); 148 149 149 150 // Garbage collection API -
trunk/Tools/ChangeLog
r128140 r128157 1 2012-09-11 Christophe Dumez <christophe.dumez@intel.com> 2 3 WTR needs an implementation of applicationCacheDiskUsageForOrigin 4 https://bugs.webkit.org/show_bug.cgi?id=87188 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add implementation for applicationCacheDiskUsageForOrigin() 9 in WebKitTestRunner. 10 11 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: 12 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 13 (WTR::TestRunner::applicationCacheDiskUsageForOrigin): 14 (WTR): 15 * WebKitTestRunner/InjectedBundle/TestRunner.h: 16 (TestRunner): 17 1 18 2012-09-10 Joanmarie Diggs <jdiggs@igalia.com> 2 19 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r128129 r128157 108 108 void clearAllApplicationCaches(); 109 109 void setAppCacheMaximumSize(in unsigned long long size); 110 long long applicationCacheDiskUsageForOrigin(in DOMString origin); 110 111 111 112 // Compositing testing. -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r128129 r128157 308 308 } 309 309 310 long long TestRunner::applicationCacheDiskUsageForOrigin(JSStringRef origin) 311 { 312 return WKBundleGetAppCacheUsageForOrigin(InjectedBundle::shared().bundle(), toWK(origin).get()); 313 } 314 310 315 bool TestRunner::isCommandEnabled(JSStringRef name) 311 316 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
r128129 r128157 145 145 void clearAllApplicationCaches(); 146 146 void setAppCacheMaximumSize(uint64_t); 147 long long applicationCacheDiskUsageForOrigin(JSStringRef origin); 147 148 148 149 // Printing
Note: See TracChangeset
for help on using the changeset viewer.