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

Unified Diff: third_party/WebKit/LayoutTests/storage/indexeddb/rename-index-expected.txt

Issue 2276593002: Support renaming of IndexedDB indexes and object stores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests for create rename in the same aborted transaction. Created 4 years, 3 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: third_party/WebKit/LayoutTests/storage/indexeddb/rename-index-expected.txt
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/rename-index-expected.txt b/third_party/WebKit/LayoutTests/storage/indexeddb/rename-index-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..673f065c8db703dc8ff13e27caf0359e67c3fe67
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/storage/indexeddb/rename-index-expected.txt
@@ -0,0 +1,23 @@
+CONSOLE ERROR: line 2445: Uncaught Error: assert_equals: IDBIndex.name should not reflect the rename anymore immediately after transaction.abort() returns expected "by_author" but got "renamed_by_author"
+CONSOLE ERROR: line 2445: Uncaught Error: assert_array_equals: IDBObjectStore.indexNames should not reflect the creation or the rename immediately after transaction.abort() returns lengths differ, expected 0 got 1
+This is a testharness.js-based test.
+Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: assert_array_equals: IDBObjectStore.indexNames should not reflect the creation or the rename immediately after transaction.abort() returns lengths differ, expected 0 got 1
+PASS IndexedDB index rename in new transaction
+PASS IndexedDB index rename in the transaction where it is created
+PASS IndexedDB deleted index rename throws
+PASS IndexedDB index rename throws in a readonly transaction
+PASS IndexedDB index rename throws in a readwrite transaction
+PASS IndexedDB index rename throws in an inactive transaction
+PASS IndexedDB index rename to the same name succeeds
+PASS IndexedDB index rename to the name of another index throws
+PASS IndexedDB index rename to the name of a deleted index succeeds
+PASS IndexedDB index swapping via renames succeeds
+PASS IndexedDB index rename stringifies non-string names
+PASS IndexedDB index rename handles exceptions when stringifying names
+PASS IndexedDB index can be renamed to ""
+PASS IndexedDB index can be renamed to "\u0000"
+PASS IndexedDB index can be renamed to "\uDC00\uD800"
+FAIL IndexedDB index rename in aborted transaction assert_equals: IDBIndex.name should not reflect the rename anymore after the versionchange transaction is aborted expected "by_author" but got "renamed_by_author"
+PASS IndexedDB index creation and rename in an aborted transaction
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698