Index: LayoutTests/storage/indexeddb/blob-basics-metadata.html |
diff --git a/LayoutTests/storage/indexeddb/blob-basics-metadata.html b/LayoutTests/storage/indexeddb/blob-basics-metadata.html |
index 9760e6f765393caf9e6d170cebe9a0029d3e077a..e93cea69a9ea9db98e0e4e5e86388cf0e8253f01 100644 |
--- a/LayoutTests/storage/indexeddb/blob-basics-metadata.html |
+++ b/LayoutTests/storage/indexeddb/blob-basics-metadata.html |
@@ -66,6 +66,7 @@ function testCursor() |
debug("testCursor():"); |
evalAndLog("transaction = db.transaction('storeName', 'readonly')"); |
transaction.onerror = unexpectedErrorCallback; |
+ transaction.onabort = unexpectedAbortCallback; |
evalAndLog("store = transaction.objectStore('storeName')"); |
evalAndLog("request = store.openCursor()"); |
@@ -107,6 +108,8 @@ function validateResult(variable, validation, onComplete) |
evalAndLog("transaction = db.transaction('storeName', 'readwrite')"); |
evalAndLog("store = transaction.objectStore('storeName')"); |
evalAndLog("store.put(" + variable + ", '" + keyName + "')"); |
+ transaction.onerror = unexpectedErrorCallback; |
+ transaction.onabort = unexpectedAbortCallback; |
var readTransactionOnComplete = function (e) { |
shouldBeTrue("event.target.result" + validation); |
onComplete(); |
@@ -123,6 +126,7 @@ function doRead(keyName, onComplete) |
evalAndLog("request = store.get('" + keyName + "')"); |
request.onsuccess = onComplete; |
transaction.onerror = unexpectedErrorCallback; |
+ transaction.onabort = unexpectedAbortCallback; |
} |
if (window.eventSender) { |