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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-delete-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 = "cursor-delete.html" 6 dbname = "cursor-delete.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 setVersionSuccess(): 9 setVersionSuccess():
12 trans = event.target.result 10 trans = event.target.result
13 PASS trans is non-null. 11 PASS trans is non-null.
14 objectStore = db.createObjectStore('test') 12 objectStore = db.createObjectStore('test')
15 objectStore.add('myValue1', 'myKey1') 13 objectStore.add('myValue1', 'myKey1')
16 objectStore.add('myValue2', 'myKey2') 14 objectStore.add('myValue2', 'myKey2')
17 objectStore.add('myValue3', 'myKey3') 15 objectStore.add('myValue3', 'myKey3')
(...skipping 22 matching lines...) Expand all
40 openCursor2 38 openCursor2
41 objectStore.openCursor(keyRange) 39 objectStore.openCursor(keyRange)
42 PASS [object IDBCursorWithValue] is non-null. 40 PASS [object IDBCursorWithValue] is non-null.
43 event.target.result.delete() 41 event.target.result.delete()
44 objectStore.get('myKey1') 42 objectStore.get('myKey1')
45 PASS event.target.result is undefined 43 PASS event.target.result is undefined
46 PASS successfullyParsed is true 44 PASS successfullyParsed is true
47 45
48 TEST COMPLETE 46 TEST COMPLETE
49 47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698