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

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

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
(Empty)
1 CONSOLE MESSAGE: line 52: Error: This should *NOT* be caught!
2 Ensure that aborted VERSION_CHANGE transactions are completely rolled back
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
8
9 dbname = "version-change-abort.html"
10 indexedDB.deleteDatabase(dbname)
11 indexedDB.open(dbname)
12 PASS trans instanceof IDBTransaction is true
13 store = db.createObjectStore('store1')
14 setVersion1 complete
15 PASS db.version is 1
16
17 vcreq = indexedDB.open(dbname, 2)
18 setVersion2() callback
19 PASS db.version is 2
20 PASS vcreq.transaction instanceof IDBTransaction is true
21 store = db.deleteObjectStore('store1')
22 store = db.createObjectStore('store2')
23 raising exception
24
25 setVersion2Abort() callback
26 request = indexedDB.open(dbname)
27 PASS db.version is 1
28 PASS db.objectStoreNames.contains('store1') is true
29 PASS db.objectStoreNames.contains('store2') is false
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/transaction-error-expected.txt ('k') | LayoutTests/storage/websql/quota-tracking-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698