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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/index-prev-no-duplicate-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: iterating backwards through an index, skipping duplicates 1 Test IndexedDB: iterating backwards through an index, skipping duplicates
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 = "index-prev-no-duplicate.html" 6 dbname = "index-prev-no-duplicate.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore(objectStoreName); 9 objectStore = db.createObjectStore(objectStoreName);
12 First, add all our data to the object store. 10 First, add all our data to the object store.
13 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key); 11 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key);
14 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key); 12 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key);
15 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key); 13 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key);
16 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key); 14 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key);
17 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key); 15 request = objectStore.add(objectStoreData[i].value, objectStoreData[i].key);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 cursor.continue(); 164 cursor.continue();
167 keyIndex--; 165 keyIndex--;
168 cursor = event.target.result; 166 cursor = event.target.result;
169 => Entering with keyIndex = -1 167 => Entering with keyIndex = -1
170 No cursor: null 168 No cursor: null
171 PASS keyIndex is -1 169 PASS keyIndex is -1
172 PASS successfullyParsed is true 170 PASS successfullyParsed is true
173 171
174 TEST COMPLETE 172 TEST COMPLETE
175 173
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698