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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-continue-dir-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 that continue() calls against cursors are validated by direction. 1 Test that continue() calls against cursors are validated by direction.
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-dir.html" 6 dbname = "cursor-continue-dir.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 store = db.createObjectStore('store') 9 store = db.createObjectStore('store')
12 store.put(1,1) 10 store.put(1,1)
13 store.put(2,2) 11 store.put(2,2)
14 store.put(3,3) 12 store.put(3,3)
15 store.put(4,4) 13 store.put(4,4)
16 store.put(5,5) 14 store.put(5,5)
17 store.put(6,6) 15 store.put(6,6)
(...skipping 20 matching lines...) Expand all
38 PASS cursor.key is 10 36 PASS cursor.key is 10
39 Expecting exception from cursor.continue(11) 37 Expecting exception from cursor.continue(11)
40 PASS Exception was thrown. 38 PASS Exception was thrown.
41 PASS code is 0 39 PASS code is 0
42 PASS ename is 'DataError' 40 PASS ename is 'DataError'
43 Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is greater than or equal to this cursor's position. 41 Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is greater than or equal to this cursor's position.
44 PASS successfullyParsed is true 42 PASS successfullyParsed is true
45 43
46 TEST COMPLETE 44 TEST COMPLETE
47 45
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/cursor-cast-expected.txt ('k') | LayoutTests/storage/indexeddb/cursor-continue-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698