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

Side by Side Diff: LayoutTests/storage/indexeddb/objectstore-keycursor-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 objectStore.openKeyCursor + the cursor it produces in depth. 1 Test IndexedDB's objectStore.openKeyCursor + the cursor it produces in depth.
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 = "objectstore-keycursor.html" 6 dbname = "objectstore-keycursor.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore('someObjectStore') 9 objectStore = db.createObjectStore('someObjectStore')
12 10
13 Verify that specifying an invalid direction raises an exception: 11 Verify that specifying an invalid direction raises an exception:
14 Expecting TypeError exception from objectStore.openKeyCursor(0, 'invalid-directi on') 12 Expecting TypeError exception from objectStore.openKeyCursor(0, 'invalid-directi on')
15 PASS Exception was thrown. 13 PASS Exception was thrown.
16 PASS objectStore.openKeyCursor(0, 'invalid-direction') threw TypeError: Failed t o execute 'openKeyCursor' on 'IDBObjectStore': The provided value 'invalid-direc tion' is not a valid enum value of type IDBCursorDirection. 14 PASS objectStore.openKeyCursor(0, 'invalid-direction') threw TypeError: Failed t o execute 'openKeyCursor' on 'IDBObjectStore': The provided value 'invalid-direc tion' is not a valid enum value of type IDBCursorDirection.
17 15
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 PASS event.target.result.key is testData[4] 324 PASS event.target.result.key is testData[4]
327 PASS event.target.result.key is testData[3] 325 PASS event.target.result.key is testData[3]
328 PASS event.target.result.key is testData[2] 326 PASS event.target.result.key is testData[2]
329 PASS event.target.result.key is testData[1] 327 PASS event.target.result.key is testData[1]
330 PASS event.target.result.key is testData[0] 328 PASS event.target.result.key is testData[0]
331 PASS event.target.result is null 329 PASS event.target.result is null
332 PASS successfullyParsed is true 330 PASS successfullyParsed is true
333 331
334 TEST COMPLETE 332 TEST COMPLETE
335 333
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698