Index: LayoutTests/storage/indexeddb/resources/request-event-propagation.js |
diff --git a/LayoutTests/storage/indexeddb/resources/request-event-propagation.js b/LayoutTests/storage/indexeddb/resources/request-event-propagation.js |
index 893467cf4266cb94cce270c9423a034f5bc751d7..6d814bf048277c97ba4317d020b33723f8668f7c 100644 |
--- a/LayoutTests/storage/indexeddb/resources/request-event-propagation.js |
+++ b/LayoutTests/storage/indexeddb/resources/request-event-propagation.js |
@@ -25,6 +25,7 @@ function startTest() |
evalAndLog("trans.onerror = allowDefault"); |
store = evalAndLog("store = trans.objectStore('storeName')"); |
request = evalAndLog("store.add({x: 'value', y: 'zzz'}, 'key')"); |
+ expectError(); |
request.onsuccess = unexpectedSuccessCallback; |
handlerFired = false; |
} |
@@ -54,6 +55,7 @@ function transactionAborted() |
evalAndLog("db.addEventListener('success', unexpectedSuccessCallback, false)"); |
store = evalAndLog("store = trans.objectStore('storeName')"); |
request = evalAndLog("store.add({x: 'value', y: 'zzz'}, 'key')"); |
+ expectError(); |
request.onsuccess = unexpectedSuccessCallback; |
request.onerror = errorFiredCallback; |
dbCaptureFired = false; |