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

Side by Side Diff: LayoutTests/storage/indexeddb/objectstore-count-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.count(). 1 Test IndexedDB's IDBObjectStore.count().
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-count.html" 6 dbname = "objectstore-count.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 adding 0 ... 99 10 adding 0 ... 99
13 11
14 verifying count without range 12 verifying count without range
15 trans = db.transaction('storeName', 'readonly') 13 trans = db.transaction('storeName', 'readonly')
16 PASS trans is non-null. 14 PASS trans is non-null.
17 store = trans.objectStore('storeName') 15 store = trans.objectStore('storeName')
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 PASS request.result is 0 101 PASS request.result is 0
104 102
105 test = {"key":null,"expected":100} 103 test = {"key":null,"expected":100}
106 request = store.count(test.key) 104 request = store.count(test.key)
107 PASS typeof request.result is "number" 105 PASS typeof request.result is "number"
108 PASS request.result is 100 106 PASS request.result is 100
109 PASS successfullyParsed is true 107 PASS successfullyParsed is true
110 108
111 TEST COMPLETE 109 TEST COMPLETE
112 110
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698