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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/global-data-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 opening DB more than once 1 Test IndexedDB's opening DB more than once
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 = "global-data.html" 6 dbname = "global-data.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 db1.createObjectStore(objectStoreName, objectStoreOptions); 9 db1.createObjectStore(objectStoreName, objectStoreOptions);
12 indexedDB.open(dbname); 10 indexedDB.open(dbname);
13 db2 = event.target.result 11 db2 = event.target.result
14 PASS db1 !== db2 is true 12 PASS db1 !== db2 is true
15 PASS db1.objectStoreNames.length is 1 13 PASS db1.objectStoreNames.length is 1
16 PASS db1.objectStoreNames.item(0) is objectStoreName 14 PASS db1.objectStoreNames.item(0) is objectStoreName
17 PASS db2.objectStoreNames.length is 1 15 PASS db2.objectStoreNames.length is 1
18 PASS db2.objectStoreNames.item(0) is objectStoreName 16 PASS db2.objectStoreNames.item(0) is objectStoreName
19 objectStore1 = db1.transaction(objectStoreName).objectStore(objectStoreName); 17 objectStore1 = db1.transaction(objectStoreName).objectStore(objectStoreName);
20 PASS objectStore1.name is objectStoreName 18 PASS objectStore1.name is objectStoreName
21 PASS objectStore1.keyPath is objectStoreOptions.keyPath 19 PASS objectStore1.keyPath is objectStoreOptions.keyPath
22 objectStore2 = db2.transaction(objectStoreName).objectStore(objectStoreName); 20 objectStore2 = db2.transaction(objectStoreName).objectStore(objectStoreName);
23 PASS objectStore1 !== objectStore2 is true 21 PASS objectStore1 !== objectStore2 is true
24 PASS objectStore2.name is objectStoreName 22 PASS objectStore2.name is objectStoreName
25 PASS objectStore2.keyPath is objectStoreOptions.keyPath 23 PASS objectStore2.keyPath is objectStoreOptions.keyPath
26 PASS successfullyParsed is true 24 PASS successfullyParsed is true
27 25
28 TEST COMPLETE 26 TEST COMPLETE
29 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698