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

Side by Side Diff: LayoutTests/storage/indexeddb/error-causes-abort-by-default-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 Verify that a transaction with an error aborts unless preventDefault() is called . 1 Verify that a transaction with an error aborts unless preventDefault() is called .
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7
8 dbname = "error-causes-abort-by-default.html" 6 dbname = "error-causes-abort-by-default.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 setVersionSuccess(): 9 setVersionSuccess():
12 trans = event.target.transaction 10 trans = event.target.transaction
13 PASS trans is non-null. 11 PASS trans is non-null.
14 db.createObjectStore('storeName', null) 12 db.createObjectStore('storeName', null)
15 trans = db.transaction(['storeName'], 'readwrite') 13 trans = db.transaction(['storeName'], 'readwrite')
16 trans.onabort = unexpectedAbortCallback 14 trans.onabort = unexpectedAbortCallback
17 trans.oncomplete = transactionCompleted 15 trans.oncomplete = transactionCompleted
(...skipping 17 matching lines...) Expand all
35 trans.onabort = transactionAborted2 33 trans.onabort = transactionAborted2
36 trans.oncomplete = unexpectedCompleteCallback 34 trans.oncomplete = unexpectedCompleteCallback
37 store = trans.objectStore('storeName') 35 store = trans.objectStore('storeName')
38 store.add({x: 'value', y: 'zzz'}, 'key') 36 store.add({x: 'value', y: 'zzz'}, 'key')
39 Omitting an onerror handler 37 Omitting an onerror handler
40 PASS Transaction aborted 38 PASS Transaction aborted
41 PASS successfullyParsed is true 39 PASS successfullyParsed is true
42 40
43 TEST COMPLETE 41 TEST COMPLETE
44 42
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/empty-filesystem-file-expected.txt ('k') | LayoutTests/storage/indexeddb/events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698