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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE ERROR: line 2445: Uncaught Error: assert_equals: IDBIndex.name should no t reflect the rename anymore immediately after transaction.abort() returns expec ted "by_author" but got "renamed_by_author"
2 CONSOLE ERROR: line 2445: Uncaught Error: assert_array_equals: IDBObjectStore.in dexNames should not reflect the creation or the rename immediately after transac tion.abort() returns lengths differ, expected 0 got 1
3 This is a testharness.js-based test.
4 Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Err or: assert_array_equals: IDBObjectStore.indexNames should not reflect the creati on or the rename immediately after transaction.abort() returns lengths differ, e xpected 0 got 1
5 PASS IndexedDB index rename in new transaction
6 PASS IndexedDB index rename in the transaction where it is created
7 PASS IndexedDB deleted index rename throws
8 PASS IndexedDB index rename throws in a readonly transaction
9 PASS IndexedDB index rename throws in a readwrite transaction
10 PASS IndexedDB index rename throws in an inactive transaction
11 PASS IndexedDB index rename to the same name succeeds
12 PASS IndexedDB index rename to the name of another index throws
13 PASS IndexedDB index rename to the name of a deleted index succeeds
14 PASS IndexedDB index swapping via renames succeeds
15 PASS IndexedDB index rename stringifies non-string names
16 PASS IndexedDB index rename handles exceptions when stringifying names
17 PASS IndexedDB index can be renamed to ""
18 PASS IndexedDB index can be renamed to "\u0000"
19 PASS IndexedDB index can be renamed to "\uDC00\uD800"
20 FAIL IndexedDB index rename in aborted transaction assert_equals: IDBIndex.name should not reflect the rename anymore after the versionchange transaction is abo rted expected "by_author" but got "renamed_by_author"
21 PASS IndexedDB index creation and rename in an aborted transaction
22 Harness: the test ran to completion.
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698