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

Side by Side Diff: LayoutTests/storage/indexeddb/index-basics-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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
OLDNEW
1 Test the basics of IndexedDB's webkitIDBIndex. 1 Test the basics of IndexedDB's webkitIDBIndex.
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; 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 7
8 dbname = "index-basics.html" 8 dbname = "index-basics.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 PASS event.target.result is 4 123 PASS event.target.result is 4
124 request = indexObject2.count() 124 request = indexObject2.count()
125 PASS event.target.result is 3 125 PASS event.target.result is 3
126 request = indexObject3.count() 126 request = indexObject3.count()
127 PASS event.target.result is 2 127 PASS event.target.result is 2
128 Passing an invalid key into indexObject.get({}). 128 Passing an invalid key into indexObject.get({}).
129 Expecting exception from indexObject.get({}) 129 Expecting exception from indexObject.get({})
130 PASS Exception was thrown. 130 PASS Exception was thrown.
131 PASS code is 0 131 PASS code is 0
132 PASS ename is 'DataError' 132 PASS ename is 'DataError'
133 Exception message: The parameter is not a valid key. 133 Exception message: Failed to execute 'get' on 'IDBIndex': The parameter is not a valid key.
134 Passing an invalid key into indexObject.getKey({}). 134 Passing an invalid key into indexObject.getKey({}).
135 Expecting exception from indexObject.getKey({}) 135 Expecting exception from indexObject.getKey({})
136 PASS Exception was thrown. 136 PASS Exception was thrown.
137 PASS code is 0 137 PASS code is 0
138 PASS ename is 'DataError' 138 PASS ename is 'DataError'
139 Exception message: The parameter is not a valid key. 139 Exception message: Failed to execute 'getKey' on 'IDBIndex': The parameter is no t a valid key.
140 PASS successfullyParsed is true 140 PASS successfullyParsed is true
141 141
142 TEST COMPLETE 142 TEST COMPLETE
143 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698