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

Side by Side Diff: LayoutTests/storage/indexeddb/transaction-and-objectstore-calls-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 Test IndexedDB's transaction and objectStore calls 1 Test IndexedDB's transaction and objectStore calls
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 = "transaction-and-objectstore-calls.html" 6 dbname = "transaction-and-objectstore-calls.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 db.createObjectStore('a') 9 db.createObjectStore('a')
12 db.createObjectStore('b') 10 db.createObjectStore('b')
13 db.createObjectStore('store').createIndex('index', 'some_path') 11 db.createObjectStore('store').createIndex('index', 'some_path')
14 12
15 trans = db.transaction(['a']) 13 trans = db.transaction(['a'])
16 trans.objectStore('a') 14 trans.objectStore('a')
17 Expecting exception from trans.objectStore('b') 15 Expecting exception from trans.objectStore('b')
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 Exception message: Failed to execute 'objectStore' on 'IDBTransaction': The tran saction has finished. 157 Exception message: Failed to execute 'objectStore' on 'IDBTransaction': The tran saction has finished.
160 Expecting exception from store.index('index') 158 Expecting exception from store.index('index')
161 PASS Exception was thrown. 159 PASS Exception was thrown.
162 PASS code is DOMException.INVALID_STATE_ERR 160 PASS code is DOMException.INVALID_STATE_ERR
163 PASS ename is 'InvalidStateError' 161 PASS ename is 'InvalidStateError'
164 Exception message: Failed to execute 'index' on 'IDBObjectStore': The transactio n has finished. 162 Exception message: Failed to execute 'index' on 'IDBObjectStore': The transactio n has finished.
165 PASS successfullyParsed is true 163 PASS successfullyParsed is true
166 164
167 TEST COMPLETE 165 TEST COMPLETE
168 166
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698