Changeset 58274 in webkit


Ignore:
Timestamp:
Apr 26, 2010 5:37:21 PM (14 years ago)
Author:
dumi@chromium.org
Message:

Unreviewed, fixing the build breakage introduced by r58269.

Turning on AUTO_VACUUM has increased the amount of space used by databases.

  • storage/quota-tracking-expected.txt:
  • storage/quota-tracking.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r58245 r58274  
     12010-04-26  Dumitru Daniliuc  <dumi@chromium.org>
     2
     3        Unreviewed, fixing the build breakage introduced by r58270.
     4
     5        Turning on AUTO_VACUUM has increased the amount of space used by databases.
     6
     7        * storage/quota-tracking-expected.txt:
     8        * storage/quota-tracking.html:
     9
    1102010-04-26  Yael Aharon  <yael.aharon@nokia.com>
    211
  • trunk/LayoutTests/storage/quota-tracking-expected.txt

    r54393 r58274  
    11UI DELEGATE DATABASE CALLBACK: exceededDatabaseQuotaForSecurityOrigin:{file, , 0} database:QuotaManagementDatabase2
    22This test checks to make sure that quotas are enforced per-origin instead of per-database, as they were prior to http://trac.webkit.org/projects/webkit/changeset/29983.
    3 The test clears all databases, sets the quota for the origin to 32k, then tries to insert 17k of data into two databases. If things go as planned, the UI Delegate will be informed of the exceeded quota and should increase the quota for this origin. Inserting 17k of data the third time should succeed again.
     3The test clears all databases, sets the quota for the origin to 40k, then tries to insert 17k of data into two databases. If things go as planned, the second insert should fail, the UI Delegate should be informed of the exceeded quota and should increase the quota for this origin. Inserting 17k of data the third time should succeed again.
    44Adding a table
    55Inserting some data
  • trunk/LayoutTests/storage/quota-tracking.html

    r54853 r58274  
    9292        layoutTestController.clearAllDatabases();
    9393        layoutTestController.dumpDatabaseCallbacks();
    94         layoutTestController.setDatabaseQuota(32768);
     94        layoutTestController.setDatabaseQuota(40960);
    9595        layoutTestController.dumpAsText();
    9696        layoutTestController.waitUntilDone();
     
    106106<body onload="runTest()">
    107107This test checks to make sure that quotas are enforced per-origin instead of per-database, as they were prior to http://trac.webkit.org/projects/webkit/changeset/29983.<br>
    108 The test clears all databases, sets the quota for the origin to 32k, then tries to insert 17k of data into two databases. If things go as planned, the UI Delegate will be informed of the exceeded quota and should increase the quota for this origin. Inserting 17k of data the third time should succeed again.
     108The test clears all databases, sets the quota for the origin to 40k, then tries to insert 17k of data into two databases. If things go as planned, the second insert should fail, the UI Delegate should be informed of the exceeded quota and should increase the quota for this origin. Inserting 17k of data the third time should succeed again.
    109109<pre id="console">
    110110</pre>
Note: See TracChangeset for help on using the changeset viewer.