WebKitTools:
Reviewed by Darin Adler
Add some much needed Database support to DRT
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
databases are called
(clearAllDatabasesCallback): Allow a test to delete all databases
(setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
(LayoutTestController::dumpDatabaseCallbacks):
(LayoutTestController::setDumpDatabaseCallbacks):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::clearAllDatabases):
(LayoutTestController::setDatabaseQuota):
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::clearAllDatabases): Stubbed out
(LayoutTestController::setDatabaseQuota): Ditto
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::clearAllDatabases): Stubbed out with error message
(LayoutTestController::setDatabaseQuota): Ditto
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
message with details about the event then return a 5mb quota like before
LayoutTests:
Reviewed by Darin Adler
Added layout tests to cover
http://trac.webkit.org/projects/webkit/changeset/29983
and
http://trac.webkit.org/projects/webkit/changeset/30184
* platform/gtk/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* storage/quota-tracking-expected.txt: Added.
* storage/quota-tracking.html: Added.
* storage/success-callback-expected.txt: Added.
* storage/success-callback.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30205
268f45cc-cd09-0410-ab3c-
d52691b4dbfc