| Index: LayoutTests/storage/indexeddb/resources/transaction-abort.js
|
| diff --git a/LayoutTests/storage/indexeddb/resources/transaction-abort.js b/LayoutTests/storage/indexeddb/resources/transaction-abort.js
|
| index 3cd2a825ca2dd8ca075db43971649a7919c29eb6..c832778b1447e06287f40a3570a9e5d26988d6bc 100644
|
| --- a/LayoutTests/storage/indexeddb/resources/transaction-abort.js
|
| +++ b/LayoutTests/storage/indexeddb/resources/transaction-abort.js
|
| @@ -33,8 +33,10 @@ function startTest()
|
| abortFired = false;
|
| }
|
|
|
| -function firstAdd()
|
| +function firstAdd(evt)
|
| {
|
| + evt.preventDefault();
|
| +
|
| shouldBe("event.target.error.name", "'AbortError'");
|
| shouldBeNull("trans.error");
|
| shouldBeFalse("firstError");
|
| @@ -45,8 +47,10 @@ function firstAdd()
|
| evalAndExpectException("store.add({x: 'value4', y: 'zzz4'}, 'key4')", "0", "'TransactionInactiveError'");
|
| }
|
|
|
| -function secondAdd()
|
| +function secondAdd(evt)
|
| {
|
| + evt.preventDefault();
|
| +
|
| shouldBe("event.target.error.name", "'AbortError'");
|
| shouldBeNull("trans.error");
|
| shouldBeTrue("firstError");
|
|
|