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

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: Addressed review and buildbot feedback. 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..a8a09e67baac62bf9ae281926618088488b9b23f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/storage/indexeddb/rename-index-expected.txt
@@ -0,0 +1,21 @@
+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"
+This is a testharness.js-based test.
+Harness Error. harness_status.status = 1 , harness_status.message = 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"
+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 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"
+FAIL IndexedDB object store 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"
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698