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

Side by Side Diff: LayoutTests/storage/indexeddb/open-cursor-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 openCursor. 1 Test IndexedDB's openCursor.
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 = "open-cursor.html" 6 dbname = "open-cursor.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore('test') 9 objectStore = db.createObjectStore('test')
12 objectStore.add('myValue', 'myKey') 10 objectStore.add('myValue', 'myKey')
13 Opening cursor 11 Opening cursor
14 event.target.source.openCursor(keyRange) 12 event.target.source.openCursor(keyRange)
15 Cursor opened successfully. 13 Cursor opened successfully.
16 PASS cursor.direction is "next" 14 PASS cursor.direction is "next"
17 PASS cursor.key is "myKey" 15 PASS cursor.key is "myKey"
(...skipping 25 matching lines...) Expand all
43 Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is not a valid key. 41 Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is not a valid key.
44 42
45 Opening an empty cursor. 43 Opening an empty cursor.
46 objectStore.openCursor("InexistentKey") 44 objectStore.openCursor("InexistentKey")
47 Empty cursor opened successfully. 45 Empty cursor opened successfully.
48 PASS cursor is null 46 PASS cursor is null
49 PASS successfullyParsed is true 47 PASS successfullyParsed is true
50 48
51 TEST COMPLETE 49 TEST COMPLETE
52 50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698