Index: LayoutTests/storage/indexeddb/lazy-index-population.html |
diff --git a/LayoutTests/storage/indexeddb/lazy-index-population.html b/LayoutTests/storage/indexeddb/lazy-index-population.html |
index aae18ab543b3148e9dd5c2c2bb2506f08400d853..88d3e20532f6824bef66c69a26437a9cc47d7f05 100644 |
--- a/LayoutTests/storage/indexeddb/lazy-index-population.html |
+++ b/LayoutTests/storage/indexeddb/lazy-index-population.html |
@@ -31,6 +31,7 @@ function verifyPreExistingIndex() |
request2.onsuccess = unexpectedSuccessCallback; |
request2.onerror = function () { |
+ expectError(); |
debug("request2 received error event"); |
shouldBe("++state", "2"); |
}; |
@@ -74,6 +75,7 @@ function verifyCreateThenPut() |
request2.onsuccess = unexpectedSuccessCallback; |
request2.onerror = function () { |
+ expectError(); |
debug("request2 (index2) received error event"); |
shouldBe("++state", "2"); |
}; |
@@ -94,6 +96,7 @@ function verifyPutThenCreate() |
request = evalAndLog("indexedDB.open(dbname, 3)"); |
request.onerror = verifyPutThenCreateThenPut; |
+ expectError(); |
request.onblocked = unexpectedBlockedCallback; |
request.onsuccess = unexpectedSuccessCallback; |
request.onupgradeneeded = function() { |
@@ -131,6 +134,8 @@ function verifyPutThenCreate() |
function verifyPutThenCreateThenPut() |
{ |
+ expectError(); |
+ |
debug(""); |
debug("Verify that uniqueness constraints are enforced when index is created between puts:"); |
@@ -158,6 +163,7 @@ function verifyPutThenCreateThenPut() |
request2.onsuccess = unexpectedSuccessCallback; |
request2.onerror = function () { |
+ expectError(); |
debug("request2 received error event"); |
shouldBe("++state", "2"); |
}; |