Index: LayoutTests/storage/indexeddb/resources/transaction-error.js |
diff --git a/LayoutTests/storage/indexeddb/resources/transaction-error.js b/LayoutTests/storage/indexeddb/resources/transaction-error.js |
index f0c839ff40c10ccfe5b954976db285178808705c..a5fd68dab1f3050366675c8766d6eb0f563525b0 100644 |
--- a/LayoutTests/storage/indexeddb/resources/transaction-error.js |
+++ b/LayoutTests/storage/indexeddb/resources/transaction-error.js |
@@ -46,6 +46,7 @@ function testErrorFromRequest() |
evalAndLog("request = trans.objectStore('storeName').add('value2', 'key')"); |
request.onsuccess = unexpectedSuccessCallback; |
request.onerror = function() { |
+ expectError(); |
shouldBe("request.error.name", "'ConstraintError'"); |
evalAndLog("request_error = request.error"); |
}; |