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

Unified Diff: third_party/WebKit/LayoutTests/storage/indexeddb/rename-object-store-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-object-store-expected.txt
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/rename-object-store-expected.txt b/third_party/WebKit/LayoutTests/storage/indexeddb/rename-object-store-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22eae9abb2675b7d485e6d728fc167da3d945792
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/storage/indexeddb/rename-object-store-expected.txt
@@ -0,0 +1,25 @@
+CONSOLE ERROR: line 2445: Uncaught Error: assert_equals: IDBObjectStore.name should not reflect the rename anymore immediately after transaction.abort() returns expected "books" but got "renamed_books"
+CONSOLE ERROR: line 2445: Uncaught Error: assert_array_equals: IDBDatabase.objectStoreNames should not reflect the creationor the rename anymore 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: IDBDatabase.objectStoreNames should not reflect the creationor the rename anymore immediately after transaction.abort() returns lengths differ, expected 0 got 1
+PASS IndexedDB object store rename in new transaction
+PASS IndexedDB object store rename in the transaction where it is created
+PASS IndexedDB object store rename covers index
+PASS IndexedDB object store rename covers key generator
+PASS IndexedDB deleted object store rename throws
+PASS IndexedDB object store rename throws in a readonly transaction
+PASS IndexedDB object store rename throws in a readwrite transaction
+PASS IndexedDB object store rename throws in an inactive transaction
+PASS IndexedDB object store rename to the same name succeeds
+PASS IndexedDB object store rename to the name of another store throws
+PASS IndexedDB object store rename to the name of a deleted store succeeds
+PASS IndexedDB object store swapping via renames succeeds
+PASS IndexedDB object store rename stringifies non-string names
+PASS IndexedDB object store rename handles exceptions when stringifying names
+PASS IndexedDB object store can be renamed to ""
+PASS IndexedDB object store can be renamed to "\u0000"
+PASS IndexedDB object store can be renamed to "\uDC00\uD800"
+PASS IndexedDB object store rename in aborted transaction
+FAIL IndexedDB object store creation and rename in an aborted transaction assert_equals: IDBObjectStore.name should reflect the last rename after the versionchange transaction is aborted expected "not_books_renamed_again" but got "not_books"
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698