Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: LayoutTests/storage/indexeddb/createIndex-after-failure-expected.txt

Issue 291243003: IndexedDB: Test updates for store/index deletion race (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Enable tests Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/storage/indexeddb/createIndex-after-failure-expected.txt
diff --git a/LayoutTests/storage/indexeddb/createIndex-after-failure-expected.txt b/LayoutTests/storage/indexeddb/createIndex-after-failure-expected.txt
index 1ec54618ab1fe8ae384b70e9543a8c70eb30b517..70562d31ca094a618e52565b7fa9009e0402f144 100644
--- a/LayoutTests/storage/indexeddb/createIndex-after-failure-expected.txt
+++ b/LayoutTests/storage/indexeddb/createIndex-after-failure-expected.txt
@@ -17,17 +17,17 @@ PASS ename is 'NotFoundError'
Exception message: Failed to execute 'deleteIndex' on 'IDBObjectStore': The specified index was not found.
Now requesting object2
now we wait.
-deleteIndexAfterGet()
+deleteIndexAfterGetError()
Expecting exception from objectStore.deleteIndex('index')
PASS Exception was thrown.
-PASS code is DOMException.NOT_FOUND_ERR
-PASS ename is 'NotFoundError'
-Exception message: Failed to execute 'deleteIndex' on 'IDBObjectStore': The specified index was not found.
+PASS code is 0
+PASS ename is 'TransactionInactiveError'
+Exception message: Failed to execute 'deleteIndex' on 'IDBObjectStore': The transaction has finished.
Expecting exception from objectStore.deleteIndex('index')
PASS Exception was thrown.
-PASS code is DOMException.NOT_FOUND_ERR
-PASS ename is 'NotFoundError'
-Exception message: Failed to execute 'deleteIndex' on 'IDBObjectStore': The specified index was not found.
+PASS code is 0
+PASS ename is 'TransactionInactiveError'
+Exception message: Failed to execute 'deleteIndex' on 'IDBObjectStore': The transaction has finished.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698