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

Side by Side Diff: LayoutTests/storage/indexeddb/index-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 IDBIndex.count(). 1 Test IndexedDB's IDBIndex.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 = "index-count.html" 6 dbname = "index-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 store.createIndex('indexName', '') 10 store.createIndex('indexName', '')
13 PASS store.indexNames.contains('indexName') is true 11 PASS store.indexNames.contains('indexName') is true
14 adding 0 ... 99 12 adding 0 ... 99
15 13
16 verifying count without range 14 verifying count without range
17 trans = db.transaction('storeName', 'readonly') 15 trans = db.transaction('storeName', 'readonly')
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 PASS request.result is 0 109 PASS request.result is 0
112 110
113 test = {"key":null,"expected":100} 111 test = {"key":null,"expected":100}
114 request = index.count(test.key) 112 request = index.count(test.key)
115 PASS typeof request.result is "number" 113 PASS typeof request.result is "number"
116 PASS request.result is 100 114 PASS request.result is 100
117 PASS successfullyParsed is true 115 PASS successfullyParsed is true
118 116
119 TEST COMPLETE 117 TEST COMPLETE
120 118
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698