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

Side by Side Diff: LayoutTests/storage/indexeddb/opencursor-key-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 openCursor/openKeyCursor with raw IDBKeys. 1 Test openCursor/openKeyCursor with raw IDBKeys.
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 = "opencursor-key.html" 6 dbname = "opencursor-key.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 PASS cursor.primaryKey is "237-23-7738" 62 PASS cursor.primaryKey is "237-23-7738"
65 cursor.continue() 63 cursor.continue()
66 PASS cursor.key is 180 64 PASS cursor.key is 180
67 PASS cursor.primaryKey is "237-23-7742" 65 PASS cursor.primaryKey is "237-23-7742"
68 cursor.continue() 66 cursor.continue()
69 PASS cursor is null 67 PASS cursor is null
70 PASS successfullyParsed is true 68 PASS successfullyParsed is true
71 69
72 TEST COMPLETE 70 TEST COMPLETE
73 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698