diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/transaction-crash-on-abort.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/transaction-crash-on-abort.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/LayoutTests/storage/indexeddb/transaction-crash-on-abort.html b/LayoutTests/storage/indexeddb/transaction-crash-on-abort.html index 92aeb31..8fa3514 100644 --- a/LayoutTests/storage/indexeddb/transaction-crash-on-abort.html +++ b/LayoutTests/storage/indexeddb/transaction-crash-on-abort.html @@ -19,17 +19,15 @@ function test() shouldBeTrue("'webkitIndexedDB' in window"); shouldBeFalse("webkitIndexedDB == null"); - result = evalAndLog("webkitIndexedDB.open('name')"); - verifyResult(result); - result.onsuccess = openSuccess; - result.onerror = unexpectedErrorCallback; + request = evalAndLog("webkitIndexedDB.open('transaction-crash-on-abort')"); + request.onsuccess = openSuccess; + request.onerror = unexpectedErrorCallback; } function openSuccess() { debug("openSuccess():"); - verifySuccessEvent(event); - db = evalAndLog("db = event.result"); + db = evalAndLog("db = event.target.result"); evalAndLog("db.transaction()"); evalAndLog("window.gc()"); done(); |