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

Side by Side Diff: LayoutTests/storage/indexeddb/version-change-abort-expected.txt

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: line 52: Uncaught Error: This should *NOT* be caught! 1 CONSOLE ERROR: line 52: Uncaught Error: This should *NOT* be caught!
2 Ensure that aborted VERSION_CHANGE transactions are completely rolled back 2 Ensure that aborted VERSION_CHANGE transactions are completely rolled back
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
8
9 dbname = "version-change-abort.html" 7 dbname = "version-change-abort.html"
10 indexedDB.deleteDatabase(dbname) 8 indexedDB.deleteDatabase(dbname)
11 indexedDB.open(dbname) 9 indexedDB.open(dbname)
12 PASS trans instanceof IDBTransaction is true 10 PASS trans instanceof IDBTransaction is true
13 store = db.createObjectStore('store1') 11 store = db.createObjectStore('store1')
14 setVersion1 complete 12 setVersion1 complete
15 PASS db.version is 1 13 PASS db.version is 1
16 14
17 vcreq = indexedDB.open(dbname, 2) 15 vcreq = indexedDB.open(dbname, 2)
18 setVersion2() callback 16 setVersion2() callback
19 PASS db.version is 2 17 PASS db.version is 2
20 PASS vcreq.transaction instanceof IDBTransaction is true 18 PASS vcreq.transaction instanceof IDBTransaction is true
21 store = db.deleteObjectStore('store1') 19 store = db.deleteObjectStore('store1')
22 store = db.createObjectStore('store2') 20 store = db.createObjectStore('store2')
23 raising exception 21 raising exception
24 22
25 setVersion2Abort() callback 23 setVersion2Abort() callback
26 request = indexedDB.open(dbname) 24 request = indexedDB.open(dbname)
27 PASS db.version is 1 25 PASS db.version is 1
28 PASS db.objectStoreNames.contains('store1') is true 26 PASS db.objectStoreNames.contains('store1') is true
29 PASS db.objectStoreNames.contains('store2') is false 27 PASS db.objectStoreNames.contains('store2') is false
30 PASS successfullyParsed is true 28 PASS successfullyParsed is true
31 29
32 TEST COMPLETE 30 TEST COMPLETE
33 31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698