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

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

Issue 966843002: Mark DOMStringList.contains() as deprecated, add console warning. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 deleting an object store 1 Test IndexedDB deleting an object store
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 dbname = "remove-objectstore.html" 6 dbname = "remove-objectstore.html"
7 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname) 8 indexedDB.open(dbname)
9 PASS db.objectStoreNames.length is 0 9 PASS db.objectStoreNames.length is 0
10 objectStoreName = 'Objects'; 10 objectStoreName = 'Objects';
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 request = objectStore.add({foo: i}); 103 request = objectStore.add({foo: i});
104 request = objectStore.add({foo: i}); 104 request = objectStore.add({foo: i});
105 request = objectStore.add({foo: i}); 105 request = objectStore.add({foo: i});
106 request = objectStore.add({foo: i}); 106 request = objectStore.add({foo: i});
107 request = objectStore.add({foo: i}); 107 request = objectStore.add({foo: i});
108 request = objectStore.add({foo: i}); 108 request = objectStore.add({foo: i});
109 request = objectStore.add({foo: i}); 109 request = objectStore.add({foo: i});
110 request = objectStore.add({foo: i}); 110 request = objectStore.add({foo: i});
111 request = objectStore.add({foo: i}); 111 request = objectStore.add({foo: i});
112 PASS db.objectStoreNames.length is 1 112 PASS db.objectStoreNames.length is 1
113 PASS db.objectStoreNames.item(0) is objectStoreName 113 PASS db.objectStoreNames[0] is objectStoreName
114 db.close() 114 db.close()
115 request = indexedDB.open(dbname, 2) 115 request = indexedDB.open(dbname, 2)
116 db.deleteObjectStore(objectStore.name); 116 db.deleteObjectStore(objectStore.name);
117 PASS db.objectStoreNames.length is 0 117 PASS db.objectStoreNames.length is 0
118 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'foo' }); 118 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'foo' });
119 PASS db.objectStoreNames.length is 1 119 PASS db.objectStoreNames.length is 1
120 PASS db.objectStoreNames.item(0) is objectStoreName 120 PASS db.objectStoreNames[0] is objectStoreName
121 request = objectStore.openCursor(); 121 request = objectStore.openCursor();
122 PASS event.target.result is null 122 PASS event.target.result is null
123 db.deleteObjectStore(objectStore.name); 123 db.deleteObjectStore(objectStore.name);
124 PASS db.objectStoreNames.length is 0 124 PASS db.objectStoreNames.length is 0
125 db.close() 125 db.close()
126 request = indexedDB.open(dbname, 3) 126 request = indexedDB.open(dbname, 3)
127 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'foo' }); 127 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'foo' });
128 request = objectStore.add({foo:'bar'}); 128 request = objectStore.add({foo:'bar'});
129 db.deleteObjectStore(objectStoreName); 129 db.deleteObjectStore(objectStoreName);
130 PASS successfullyParsed is true 130 PASS successfullyParsed is true
131 131
132 TEST COMPLETE 132 TEST COMPLETE
133 133
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698