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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-continue-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 IDBCursor.continue() with a key parameter. 1 Test IndexedDB's IDBCursor.continue() with a key parameter.
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 = "cursor-continue.html" 6 dbname = "cursor-continue.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 db.createObjectStore('someObjectStore') 9 db.createObjectStore('someObjectStore')
12 objectStore.createIndex('someIndex', 'x') 10 objectStore.createIndex('someIndex', 'x')
13 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 11 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
14 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 12 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
15 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 13 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
16 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 14 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
17 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 15 objectStore.add({'x': testData[nextToAdd]}, nextToAdd)
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is greater than or equal to this cursor's position. 134 Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is greater than or equal to this cursor's position.
137 Expecting exception from cursor.continue() 135 Expecting exception from cursor.continue()
138 PASS Exception was thrown. 136 PASS Exception was thrown.
139 PASS code is 0 137 PASS code is 0
140 PASS ename is 'TransactionInactiveError' 138 PASS ename is 'TransactionInactiveError'
141 Exception message: Failed to execute 'continue' on 'IDBCursor': The transaction has finished. 139 Exception message: Failed to execute 'continue' on 'IDBCursor': The transaction has finished.
142 PASS successfullyParsed is true 140 PASS successfullyParsed is true
143 141
144 TEST COMPLETE 142 TEST COMPLETE
145 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698