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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-properties-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 IndexedDB's cursor key/primaryKey/value properties preserve mutations. 1 Test that IndexedDB's cursor key/primaryKey/value properties preserve mutations.
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-properties.html" 6 dbname = "cursor-properties.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname, 1) 8 indexedDB.open(dbname, 1)
11 9
12 onUpgradeNeeded(): 10 onUpgradeNeeded():
13 db = event.target.result 11 db = event.target.result
14 store = db.createObjectStore('store') 12 store = db.createObjectStore('store')
15 index = store.createIndex('index', 'id') 13 index = store.createIndex('index', 'id')
16 store.put({id: ['indexKey']}, ['primaryKey']) 14 store.put({id: ['indexKey']}, ['primaryKey'])
17 15
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 Check read-only: 53 Check read-only:
56 cursor.value = null 54 cursor.value = null
57 PASS v === cursor.value is true 55 PASS v === cursor.value is true
58 Check mutability: 56 Check mutability:
59 cursor.value.expando = 123 57 cursor.value.expando = 123
60 PASS cursor.value.expando is 123 58 PASS cursor.value.expando is 123
61 PASS successfullyParsed is true 59 PASS successfullyParsed is true
62 60
63 TEST COMPLETE 61 TEST COMPLETE
64 62
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698