Changeset 82710 in webkit
- Timestamp:
- Apr 1, 2011 12:59:27 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r82708 r82710 1 2011-04-01 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 WebKitTestRunner needs layoutTestController.setDatabaseQuota 6 https://bugs.webkit.org/show_bug.cgi?id=57568 7 8 Update tests. 9 10 * platform/mac-wk2/Skipped: 11 1 12 2011-04-01 Martin Robinson <mrobinson@igalia.com> 2 13 -
trunk/LayoutTests/platform/mac-wk2/Skipped
r82684 r82710 1202 1202 fast/frames/flattening/iframe-flattening-simple.html 1203 1203 1204 # WebKitTestRunner needs layoutTestController.setDatabaseQuota1205 # <https://bugs.webkit.org/show_bug.cgi?id=57568>1206 storage/open-database-creation-callback.html1207 1208 1204 # WebKitTestRunner needs layoutTestController.dumpDatabaseCallbacks 1209 1205 # <https://bugs.webkit.org/show_bug.cgi?id=57570> 1206 storage/open-database-creation-callback.html 1210 1207 storage/quota-tracking.html 1211 1208 -
trunk/Source/WebKit2/ChangeLog
r82709 r82710 1 2011-04-01 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 WebKitTestRunner needs layoutTestController.setDatabaseQuota 6 https://bugs.webkit.org/show_bug.cgi?id=57568 7 8 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 9 (WKBundleSetDatabaseQuota): 10 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 11 * WebProcess/InjectedBundle/InjectedBundle.cpp: 12 (WebKit::InjectedBundle::setDatabaseQuota): 13 * WebProcess/InjectedBundle/InjectedBundle.h: 14 * WebProcess/WebCoreSupport/WebDatabaseManager.h: 15 1 16 2011-04-01 Timothy Hatcher <timothy@apple.com> 2 17 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r82649 r82710 143 143 toImpl(bundleRef)->clearAllDatabases(); 144 144 } 145 146 void WKBundleSetDatabaseQuota(WKBundleRef bundleRef, uint64_t quota) 147 { 148 toImpl(bundleRef)->setDatabaseQuota(quota); 149 } -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r82649 r82710 68 68 WK_EXPORT void WKBundleOverrideAllowUniversalAccessFromFileURLsForTestRunner(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 69 69 WK_EXPORT void WKBundleClearAllDatabases(WKBundleRef bundle); 70 WK_EXPORT void WKBundleSetDatabaseQuota(WKBundleRef bundle, uint64_t); 70 71 71 72 #ifdef __cplusplus -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r82649 r82710 126 126 } 127 127 128 void InjectedBundle::setDatabaseQuota(uint64_t quota) 129 { 130 WebDatabaseManager::shared().setQuotaForOrigin("file:///", quota); 131 } 132 128 133 static PassOwnPtr<Vector<String> > toStringVector(ImmutableArray* patterns) 129 134 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r82649 r82710 104 104 // Local storage API 105 105 void clearAllDatabases(); 106 void setDatabaseQuota(uint64_t); 106 107 107 108 // Garbage collection API -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h
r82649 r82710 47 47 48 48 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); 49 void setQuotaForOrigin(const String& originIdentifier, unsigned long long quota) const; 49 50 50 51 public: … … 62 63 void deleteDatabaseWithNameForOrigin(const String& databaseIdentifier, const String& originIdentifier) const; 63 64 void deleteDatabasesForOrigin(const String& originIdentifier) const; 64 void setQuotaForOrigin(const String& originIdentifier, unsigned long long quota) const;65 65 66 66 // WebCore::DatabaseTrackerClient -
trunk/Tools/ChangeLog
r82705 r82710 1 2011-04-01 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 WebKitTestRunner needs layoutTestController.setDatabaseQuota 6 https://bugs.webkit.org/show_bug.cgi?id=57568 7 8 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: 9 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: 10 (WTR::LayoutTestController::setDatabaseQuota): 11 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: 12 1 13 2011-04-01 Dirk Pranke <dpranke@chromium.org> 2 14 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl
r82649 r82710 75 75 // Local storage API 76 76 void clearAllDatabases(); 77 void setDatabaseQuota(in unsigned long long quota); 77 78 78 79 // Compositing testing. -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp
r82649 r82710 292 292 } 293 293 294 void LayoutTestController::setDatabaseQuota(uint64_t quota) 295 { 296 return WKBundleSetDatabaseQuota(InjectedBundle::shared().bundle(), quota); 297 } 298 294 299 bool LayoutTestController::isCommandEnabled(JSStringRef name) 295 300 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h
r82649 r82710 109 109 // Local storage 110 110 void clearAllDatabases(); 111 void setDatabaseQuota(uint64_t); 111 112 112 113 enum WhatToDump { RenderTree, MainFrameText, AllFramesText };
Note: See TracChangeset
for help on using the changeset viewer.