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

Side by Side Diff: LayoutTests/storage/indexeddb/index-count-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 IDBIndex.count(). 2 Test IndexedDB's IDBIndex.count().
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 = "index-count.html" 7 dbname = "index-count.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', '')
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 PASS request.result is 0 110 PASS request.result is 0
110 111
111 test = {"key":null,"expected":100} 112 test = {"key":null,"expected":100}
112 request = index.count(test.key) 113 request = index.count(test.key)
113 PASS typeof request.result is "number" 114 PASS typeof request.result is "number"
114 PASS request.result is 100 115 PASS request.result is 100
115 PASS successfullyParsed is true 116 PASS successfullyParsed is true
116 117
117 TEST COMPLETE 118 TEST COMPLETE
118 119
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698