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

Side by Side Diff: LayoutTests/storage/indexeddb/metadata-race-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 Ensure IndexedDB transactions created before open onsuccess have correct metadat a 1 Ensure IndexedDB transactions created before open onsuccess have correct metadat a
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 = "metadata-race.html" 6 dbname = "metadata-race.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 9
12 prepareDatabase(): 10 prepareDatabase():
13 db = event.target.result 11 db = event.target.result
14 store = db.createObjectStore('store') 12 store = db.createObjectStore('store')
15 store.createIndex('index', 'keyPath') 13 store.createIndex('index', 'keyPath')
16 transaction = event.target.transaction 14 transaction = event.target.transaction
17 PASS index = transaction.objectStore('store').index('index') did not throw excep tion. 15 PASS index = transaction.objectStore('store').index('index') did not throw excep tion.
18 16
19 onTransactionComplete(): 17 onTransactionComplete():
20 In multiprocess mode, 'complete' event may be dispatched before 18 In multiprocess mode, 'complete' event may be dispatched before
21 the 'success' arrives with updated metadata. Ensure the new metadata 19 the 'success' arrives with updated metadata. Ensure the new metadata
22 is still used for transactions. 20 is still used for transactions.
23 store = db.transaction('store').objectStore('store') 21 store = db.transaction('store').objectStore('store')
24 PASS index = store.index('index') did not throw exception. 22 PASS index = store.index('index') did not throw exception.
25 23
26 onOpenSuccess(): 24 onOpenSuccess():
27 db = event.target.result 25 db = event.target.result
28 store = db.transaction('store').objectStore('store') 26 store = db.transaction('store').objectStore('store')
29 PASS index = store.index('index') did not throw exception. 27 PASS index = store.index('index') did not throw exception.
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