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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE ERROR: line 2445: Uncaught Error: assert_equals: IDBObjectStore.name sho uld not reflect the rename anymore immediately after transaction.abort() returns expected "books" but got "renamed_books"
2 CONSOLE ERROR: line 2445: Uncaught Error: assert_array_equals: IDBDatabase.objec tStoreNames should not reflect the creationor the rename anymore immediately aft er transaction.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: IDBDatabase.objectStoreNames should not reflect the cre ationor the rename anymore immediately after transaction.abort() returns lengths differ, expected 0 got 1
5 PASS IndexedDB object store rename in new transaction
6 PASS IndexedDB object store rename in the transaction where it is created
7 PASS IndexedDB object store rename covers index
8 PASS IndexedDB object store rename covers key generator
9 PASS IndexedDB deleted object store rename throws
10 PASS IndexedDB object store rename throws in a readonly transaction
11 PASS IndexedDB object store rename throws in a readwrite transaction
12 PASS IndexedDB object store rename throws in an inactive transaction
13 PASS IndexedDB object store rename to the same name succeeds
14 PASS IndexedDB object store rename to the name of another store throws
15 PASS IndexedDB object store rename to the name of a deleted store succeeds
16 PASS IndexedDB object store swapping via renames succeeds
17 PASS IndexedDB object store rename stringifies non-string names
18 PASS IndexedDB object store rename handles exceptions when stringifying names
19 PASS IndexedDB object store can be renamed to ""
20 PASS IndexedDB object store can be renamed to "\u0000"
21 PASS IndexedDB object store can be renamed to "\uDC00\uD800"
22 PASS IndexedDB object store rename in aborted transaction
23 FAIL IndexedDB object store creation and rename in an aborted transaction assert _equals: IDBObjectStore.name should reflect the last rename after the versioncha nge transaction is aborted expected "not_books_renamed_again" but got "not_books "
24 Harness: the test ran to completion.
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698