| testRunner.clearAllDatabases(); |
| testRunner.databaseDefaultQuota = 5 * 1024 * 1024; |
| testRunner.databaseMaxQuota = 10 * 1024 * 1024; |
| var db = openDatabase('ExpandedQuotaOpen', '', 'Test for bug 123131: increase database quota', 8000000); |
| document.getElementById('result').innerHTML = 'PASS' |
| document.getElementById('result').innerHTML = 'FAIL' |
| <body onload="runTest()"> |
| <div>This tests that calling openDatabase with a size over 5MB doesn't assert on debug builds, |
| and will increase the quota to accommodate the requested size whennot exceeding a max limit of 10M. |
| PASS: Successfully opened database greater than 5M. |