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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/object-cursors-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 index cursors 1 Test IndexedDB's index cursors
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 = "object-cursors.html" 6 dbname = "object-cursors.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 autoIncrement = false; 9 autoIncrement = false;
12 objectStore = db.createObjectStore('a', { keyPath: 'id', autoIncrement: autoIncr ement }); 10 objectStore = db.createObjectStore('a', { keyPath: 'id', autoIncrement: autoIncr ement });
13 objectStore.createIndex(indexes[j].name, 'name', indexes[j].options); 11 objectStore.createIndex(indexes[j].name, 'name', indexes[j].options);
14 objectStore.createIndex(indexes[j].name, 'name', indexes[j].options); 12 objectStore.createIndex(indexes[j].name, 'name', indexes[j].options);
15 data = { name: 'Ben', id: 1 }; 13 data = { name: 'Ben', id: 1 };
16 request = objectStore.add(data); 14 request = objectStore.add(data);
17 index = objectStore.index(indexes[j].name); 15 index = objectStore.index(indexes[j].name);
(...skipping 11 matching lines...) Expand all
29 index = objectStore.index(indexes[j].name); 27 index = objectStore.index(indexes[j].name);
30 request = index.openCursor(); 28 request = index.openCursor();
31 index = objectStore.index(indexes[j].name); 29 index = objectStore.index(indexes[j].name);
32 request = index.openCursor(); 30 request = index.openCursor();
33 PASS event.target.result.value.name is 'Ben' 31 PASS event.target.result.value.name is 'Ben'
34 PASS event.target.result.value.name is 'Ben' 32 PASS event.target.result.value.name is 'Ben'
35 PASS successfullyParsed is true 33 PASS successfullyParsed is true
36 34
37 TEST COMPLETE 35 TEST COMPLETE
38 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698