• mark.lam@apple.com's avatar
    REGRESSION: Crashes in -[UIDelegate... · 89da1558
    mark.lam@apple.com authored
    REGRESSION: Crashes in -[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:].
    https://bugs.webkit.org/show_bug.cgi?id=123383.
    
    Reviewed by Geoffrey Garen.
    
    Tools: 
    
    Removed an inappropriate assertion in DumpRenderTree/mac/UIDelegate.mm and
    added 2 attributes (databaseDefaultQuota and databaseMaxQuota) to allow
    tests to set appropriate quota settings to exercise quota expansion tests
    when needed.
    
    * DumpRenderTree/TestRunner.cpp:
    (TestRunner::TestRunner):
    (getDatabaseDefaultQuotaCallback):
    (getDatabaseMaxQuotaCallback):
    (setDatabaseDefaultQuotaCallback):
    (setDatabaseMaxQuotaCallback):
    (TestRunner::staticValues):
    * DumpRenderTree/TestRunner.h:
    (TestRunner::databaseDefaultQuota):
    (TestRunner::setDatabaseDefaultQuota):
    (TestRunner::databaseMaxQuota):
    (TestRunner::setDatabaseMaxQuota):
    * DumpRenderTree/blackberry/DumpRenderTree.cpp:
    (BlackBerry::WebKit::DumpRenderTree::exceededDatabaseQuota):
    * DumpRenderTree/efl/DumpRenderTreeView.cpp:
    (onExceededDatabaseQuota):
    * DumpRenderTree/mac/UIDelegate.mm:
    (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
    * DumpRenderTree/win/UIDelegate.cpp:
    (UIDelegate::exceededDatabaseQuota):
    * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
    * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
    (WTR::InjectedBundlePage::didExceedDatabaseQuota):
    * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
    (WTR::TestRunner::TestRunner):
    * WebKitTestRunner/InjectedBundle/TestRunner.h:
    (WTR::TestRunner::databaseDefaultQuota):
    (WTR::TestRunner::setDatabaseDefaultQuota):
    (WTR::TestRunner::databaseMaxQuota):
    (WTR::TestRunner::setDatabaseMaxQuota):
    * WebKitTestRunner/TestController.cpp:
    (WTR::TestController::createOtherPage):
    (WTR::TestController::createWebViewWithOptions):
    
    LayoutTests: 
    
    Removed an inappropriate assertion in DumpRenderTree/mac/UIDelegate.mm and
    added 2 attributes (databaseDefaultQuota and databaseMaxQuota) to allow
    tests to set appropriate quota settings to exercise quota expansion tests
    when needed.
            
    * storage/websql/open-database-expand-quota.html:
    - Set databaseDefaultQuota and databaseMaxQuota as needed for this test.
    * storage/websql/open-database-over-quota-expected.txt:
    * storage/websql/open-database-over-quota.html:
    - Revert the change from r157874 which is no longer needed for this test.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    89da1558
Name
Last commit
Last update
..
domstorage Loading commit data...
indexeddb Loading commit data...
resources Loading commit data...
script-tests Loading commit data...
websql Loading commit data...
storageinfo-missing-arguments-expected.txt Loading commit data...
storageinfo-missing-arguments.html Loading commit data...
storageinfo-no-callbacks-expected.txt Loading commit data...
storageinfo-no-callbacks.html Loading commit data...
storageinfo-query-usage-expected.txt Loading commit data...
storageinfo-query-usage.html Loading commit data...
storageinfo-request-quota-expected.txt Loading commit data...
storageinfo-request-quota.html Loading commit data...
storagequota-query-usage-expected.txt Loading commit data...
storagequota-query-usage.html Loading commit data...
storagequota-request-quota-expected.txt Loading commit data...
storagequota-request-quota.html Loading commit data...