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

Side by Side Diff: LayoutTests/storage/indexeddb/objectstore-removeobjectstore-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 IDBObjectStore.deleteObjectStore(). 1 Test IndexedDB's IDBObjectStore.deleteObjectStore().
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 = "objectstore-removeobjectstore.html" 6 dbname = "objectstore-removeobjectstore.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 store = db.createObjectStore('storeName', null) 9 store = db.createObjectStore('storeName', null)
12 store.createIndex('indexName', '') 10 store.createIndex('indexName', '')
13 PASS store.indexNames.contains('indexName') is true 11 PASS store.indexNames.contains('indexName') is true
14 store.add('value', 'key') 12 store.add('value', 'key')
15 db.transaction(['storeName']) 13 db.transaction(['storeName'])
16 store = transaction.objectStore('storeName') 14 store = transaction.objectStore('storeName')
17 store.get('key') 15 store.get('key')
18 PASS event.target.result is "value" 16 PASS event.target.result is "value"
19 db.close() 17 db.close()
20 indexedDB.open(dbname, 2) 18 indexedDB.open(dbname, 2)
21 db.deleteObjectStore('storeName') 19 db.deleteObjectStore('storeName')
22 db.createObjectStore('storeName', null) 20 db.createObjectStore('storeName', null)
23 db.transaction(['storeName']) 21 db.transaction(['storeName'])
24 store = transaction.objectStore('storeName') 22 store = transaction.objectStore('storeName')
25 store.get('key') 23 store.get('key')
26 PASS event.target.result is undefined 24 PASS event.target.result is undefined
27 PASS event.target.source.indexNames.contains('indexName') is false 25 PASS event.target.source.indexNames.contains('indexName') is false
28 PASS successfullyParsed is true 26 PASS successfullyParsed is true
29 27
30 TEST COMPLETE 28 TEST COMPLETE
31 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698