• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1UI DELEGATE DATABASE CALLBACK: exceededDatabaseQuotaForSecurityOrigin:{file, , 0} database:QuotaManagementDatabase2
2This 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.
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.
4Adding a table
5Inserting some data
6Done adding data
7Adding a table
8Inserting some data
9Expected quota exception - there was not enough remaining storage space, or the storage quota was reached and the user declined to allow more space
10Done adding data
11Adding a table
12Inserting some data
13Done adding data
14Test Complete
15
16