diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/database-quota.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/database-quota.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LayoutTests/storage/indexeddb/database-quota.html b/LayoutTests/storage/indexeddb/database-quota.html index d21b051..b447505 100644 --- a/LayoutTests/storage/indexeddb/database-quota.html +++ b/LayoutTests/storage/indexeddb/database-quota.html @@ -74,7 +74,7 @@ function commitAndContinue() function checkQuotaEnforcing() { - var trans = evalAndLog("trans = db.transaction({mode: webkitIDBTransaction.READ_WRITE})"); + var trans = evalAndLog("trans = db.transaction([], webkitIDBTransaction.READ_WRITE)"); trans.onabort = testComplete; trans.oncomplete = unexpectedCompleteCallback; debug("Creating 'data' which contains 64K of data"); @@ -107,6 +107,7 @@ function logError() { debug("Error function called: (" + event.code + ") " + event.message); verifyErrorEvent(event); + evalAndLog("event.preventDefault()"); } function testComplete() |