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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/objectstorenames-expected.txt

Issue 966843002: Mark DOMStringList.contains() as deprecated, add console warning. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add more detailed use counters Created 5 years, 6 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 objectStoreNames array 1 Test IndexedDB's objectStoreNames array
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; 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 7
8 dbname = "objectstorenames.html" 8 dbname = "objectstorenames.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
11 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'id', autoIncreme nt: true }); 11 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'id', autoIncreme nt: true });
12 PASS 'objectStoreNames' in db is true 12 PASS 'objectStoreNames' in db is true
13 PASS db.objectStoreNames.length is 1 13 PASS db.objectStoreNames.length is 1
14 PASS db.objectStoreNames.item(0) is objectStoreName 14 PASS db.objectStoreNames[0] is objectStoreName
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698