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

Side by Side Diff: LayoutTests/storage/indexeddb/objectstore-removeobjectstore-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 CONSOLE WARNING: 'DOMStringList.contains()' is deprecated, and will be removed.
1 Test IndexedDB's IDBObjectStore.deleteObjectStore(). 2 Test IndexedDB's IDBObjectStore.deleteObjectStore().
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 dbname = "objectstore-removeobjectstore.html" 7 dbname = "objectstore-removeobjectstore.html"
7 indexedDB.deleteDatabase(dbname) 8 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname) 9 indexedDB.open(dbname)
9 store = db.createObjectStore('storeName', null) 10 store = db.createObjectStore('storeName', null)
10 store.createIndex('indexName', '') 11 store.createIndex('indexName', '')
11 PASS store.indexNames.contains('indexName') is true 12 PASS store.indexNames.contains('indexName') is true
12 store.add('value', 'key') 13 store.add('value', 'key')
13 db.transaction(['storeName']) 14 db.transaction(['storeName'])
14 store = transaction.objectStore('storeName') 15 store = transaction.objectStore('storeName')
15 store.get('key') 16 store.get('key')
16 PASS event.target.result is "value" 17 PASS event.target.result is "value"
17 db.close() 18 db.close()
18 indexedDB.open(dbname, 2) 19 indexedDB.open(dbname, 2)
19 db.deleteObjectStore('storeName') 20 db.deleteObjectStore('storeName')
20 db.createObjectStore('storeName', null) 21 db.createObjectStore('storeName', null)
21 db.transaction(['storeName']) 22 db.transaction(['storeName'])
22 store = transaction.objectStore('storeName') 23 store = transaction.objectStore('storeName')
23 store.get('key') 24 store.get('key')
24 PASS event.target.result is undefined 25 PASS event.target.result is undefined
25 PASS event.target.source.indexNames.contains('indexName') is false 26 PASS event.target.source.indexNames.contains('indexName') is false
26 PASS successfullyParsed is true 27 PASS successfullyParsed is true
27 28
28 TEST COMPLETE 29 TEST COMPLETE
29 30
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/objectstore-clear-expected.txt ('k') | LayoutTests/storage/indexeddb/persistence-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698