Changeset 76574 in webkit
- Timestamp:
- Jan 24, 2011 10:15:01 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r76559 r76574 1 2011-01-24 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 Implement database quota callback to fix storage tests on WebKit2 bot 6 https://bugs.webkit.org/show_bug.cgi?id=53064 7 8 * WebKitTestRunner/TestController.cpp: 9 (WTR::exceededDatabaseQuota): 10 (WTR::TestController::createOtherPage): 11 (WTR::TestController::initialize): 12 1 13 2011-01-24 Maciej Stachowiak <mjs@apple.com> 2 14 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r76559 r76574 30 30 #include "TestInvocation.h" 31 31 #include <cstdio> 32 #include <WebKit2/WKContextPrivate.h> 32 33 #include <WebKit2/WKPageGroup.h> 33 #include <WebKit2/WKContextPrivate.h>34 34 #include <WebKit2/WKPreferencesPrivate.h> 35 35 #include <WebKit2/WKRetainPtr.h> … … 104 104 return true; 105 105 } 106 107 static unsigned long long exceededDatabaseQuota(WKPageRef, WKFrameRef, WKSecurityOriginRef, WKStringRef, WKStringRef, unsigned long long, unsigned long long, unsigned long long, const void*) 108 { 109 static const unsigned long long defaultQuota = 5 * 1024 * 1024; 110 return defaultQuota; 111 } 112 106 113 107 114 void TestController::runModal(WKPageRef page, const void* clientInfo) … … 150 157 0, // didDraw 151 158 0, // pageDidScroll 152 0, // exceededDatabaseQuota159 exceededDatabaseQuota, 153 160 0, // runOpenPanel 154 161 0, // decidePolicyForGeolocationPermissionRequest … … 282 289 0, // didDraw 283 290 0, // pageDidScroll 284 0, // exceededDatabaseQuota291 exceededDatabaseQuota, 285 292 0, // runOpenPanel 286 293 0, // decidePolicyForGeolocationPermissionRequest
Note: See TracChangeset
for help on using the changeset viewer.