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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-cast-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 Ensure cursor wrappers are created correctly. 1 Ensure cursor wrappers are created correctly.
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-cast.html" 6 dbname = "cursor-cast.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 9
12 prepareDatabase(): 10 prepareDatabase():
13 db = event.target.result 11 db = event.target.result
14 store = db.createObjectStore('store') 12 store = db.createObjectStore('store')
15 store.put(0, 0) 13 store.put(0, 0)
16 14
17 verifyWrappers(): 15 verifyWrappers():
18 db = event.target.result 16 db = event.target.result
19 tx = db.transaction('store', 'readwrite') 17 tx = db.transaction('store', 'readwrite')
20 request = tx.objectStore('store').openCursor() 18 request = tx.objectStore('store').openCursor()
21 19
22 onOpenCursorSuccess(): 20 onOpenCursorSuccess():
23 cursor = event.target.result 21 cursor = event.target.result
24 request = cursor.update(1) 22 request = cursor.update(1)
25 23
26 onUpdateSuccess(): 24 onUpdateSuccess():
27 cursor = null 25 cursor = null
28 PASS request.source.toString() is "[object IDBCursorWithValue]" 26 PASS request.source.toString() is "[object IDBCursorWithValue]"
29 PASS successfullyParsed is true 27 PASS successfullyParsed is true
30 28
31 TEST COMPLETE 29 TEST COMPLETE
32 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698