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

Side by Side Diff: LayoutTests/storage/indexeddb/keypath-fetch-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 IndexedDB keyPaths 1 Test IndexedDB keyPaths
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 = "keypath-fetch-key.html" 6 dbname = "keypath-fetch-key.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 9
12 testing simple identifier 10 testing simple identifier
13 Deleted all object stores. 11 Deleted all object stores.
14 objectStore = db.createObjectStore(testData[nextToOpen].name, {keyPath: testData [nextToOpen].keyPath}); 12 objectStore = db.createObjectStore(testData[nextToOpen].name, {keyPath: testData [nextToOpen].keyPath});
15 result = objectStore.add(testData[nextToOpen].value); 13 result = objectStore.add(testData[nextToOpen].value);
16 result = objectStore.openCursor(); 14 result = objectStore.openCursor();
17 cursor = event.target.result; 15 cursor = event.target.result;
(...skipping 19 matching lines...) Expand all
37 Deleted all object stores. 35 Deleted all object stores.
38 objectStore = db.createObjectStore(testData[nextToOpen].name, {keyPath: testData [nextToOpen].keyPath}); 36 objectStore = db.createObjectStore(testData[nextToOpen].name, {keyPath: testData [nextToOpen].keyPath});
39 result = objectStore.add(testData[nextToOpen].value); 37 result = objectStore.add(testData[nextToOpen].value);
40 result = objectStore.openCursor(); 38 result = objectStore.openCursor();
41 cursor = event.target.result; 39 cursor = event.target.result;
42 PASS cursor.key is testData[nextToOpen].key 40 PASS cursor.key is testData[nextToOpen].key
43 PASS successfullyParsed is true 41 PASS successfullyParsed is true
44 42
45 TEST COMPLETE 43 TEST COMPLETE
46 44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698