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

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

Issue 19107003: IndexedDB: Log exception messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 KeyRange. 1 Test IndexedDB's KeyRange.
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 PASS 'lower' in IDBKeyRange is false 8 PASS 'lower' in IDBKeyRange is false
9 PASS 'upper' in IDBKeyRange is false 9 PASS 'upper' in IDBKeyRange is false
10 PASS 'lowerOpen' in IDBKeyRange is false 10 PASS 'lowerOpen' in IDBKeyRange is false
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 IDBKeyRange.bound('aaf','abf', true, true) 207 IDBKeyRange.bound('aaf','abf', true, true)
208 PASS keyRange.lower is 'aaf' 208 PASS keyRange.lower is 'aaf'
209 PASS keyRange.upper is 'abf' 209 PASS keyRange.upper is 'abf'
210 PASS keyRange.lowerOpen is true 210 PASS keyRange.lowerOpen is true
211 PASS keyRange.upperOpen is true 211 PASS keyRange.upperOpen is true
212 Passing an invalid key into only({}) 212 Passing an invalid key into only({})
213 Expecting exception from IDBKeyRange.only({}) 213 Expecting exception from IDBKeyRange.only({})
214 PASS Exception was thrown. 214 PASS Exception was thrown.
215 PASS code is 0 215 PASS code is 0
216 PASS ename is 'DataError' 216 PASS ename is 'DataError'
217 Exception message: The parameter is not a valid key.
217 Passing an invalid key into upperBound({}) 218 Passing an invalid key into upperBound({})
218 Expecting exception from IDBKeyRange.upperBound({}) 219 Expecting exception from IDBKeyRange.upperBound({})
219 PASS Exception was thrown. 220 PASS Exception was thrown.
220 PASS code is 0 221 PASS code is 0
221 PASS ename is 'DataError' 222 PASS ename is 'DataError'
223 Exception message: The parameter is not a valid key.
222 Passing an invalid key into lowerBound({}) 224 Passing an invalid key into lowerBound({})
223 Expecting exception from IDBKeyRange.lowerBound({}) 225 Expecting exception from IDBKeyRange.lowerBound({})
224 PASS Exception was thrown. 226 PASS Exception was thrown.
225 PASS code is 0 227 PASS code is 0
226 PASS ename is 'DataError' 228 PASS ename is 'DataError'
229 Exception message: The parameter is not a valid key.
227 Passing an invalid key into bound(null, {}) 230 Passing an invalid key into bound(null, {})
228 Expecting exception from IDBKeyRange.bound(null, {}) 231 Expecting exception from IDBKeyRange.bound(null, {})
229 PASS Exception was thrown. 232 PASS Exception was thrown.
230 PASS code is 0 233 PASS code is 0
231 PASS ename is 'DataError' 234 PASS ename is 'DataError'
235 Exception message: The parameter is not a valid key.
232 Passing an invalid key into bound({},null) 236 Passing an invalid key into bound({},null)
233 Expecting exception from IDBKeyRange.bound({}, null) 237 Expecting exception from IDBKeyRange.bound({}, null)
234 PASS Exception was thrown. 238 PASS Exception was thrown.
235 PASS code is 0 239 PASS code is 0
236 PASS ename is 'DataError' 240 PASS ename is 'DataError'
241 Exception message: The parameter is not a valid key.
237 Passing an invalid key into bound({}, {}) 242 Passing an invalid key into bound({}, {})
238 Expecting exception from IDBKeyRange.bound({}, {}) 243 Expecting exception from IDBKeyRange.bound({}, {})
239 PASS Exception was thrown. 244 PASS Exception was thrown.
240 PASS code is 0 245 PASS code is 0
241 PASS ename is 'DataError' 246 PASS ename is 'DataError'
247 Exception message: The parameter is not a valid key.
242 Lower key greater than higher key, bound(4, 3) 248 Lower key greater than higher key, bound(4, 3)
243 Expecting exception from IDBKeyRange.bound(4, 3) 249 Expecting exception from IDBKeyRange.bound(4, 3)
244 PASS Exception was thrown. 250 PASS Exception was thrown.
245 PASS code is 0 251 PASS code is 0
246 PASS ename is 'DataError' 252 PASS ename is 'DataError'
253 Exception message: The lower key is greater than the upper key.
247 Equal keys, either of the bounds is open, bound(4, 4, true, false) 254 Equal keys, either of the bounds is open, bound(4, 4, true, false)
248 Expecting exception from IDBKeyRange.bound(4, 4, true, false) 255 Expecting exception from IDBKeyRange.bound(4, 4, true, false)
249 PASS Exception was thrown. 256 PASS Exception was thrown.
250 PASS code is 0 257 PASS code is 0
251 PASS ename is 'DataError' 258 PASS ename is 'DataError'
259 Exception message: The lower key and upper key are equal and one of the bounds i s open.
252 Equal keys, either of the bounds is open, bound(4, 4, false, true) 260 Equal keys, either of the bounds is open, bound(4, 4, false, true)
253 Expecting exception from IDBKeyRange.bound(4, 4, false, true) 261 Expecting exception from IDBKeyRange.bound(4, 4, false, true)
254 PASS Exception was thrown. 262 PASS Exception was thrown.
255 PASS code is 0 263 PASS code is 0
256 PASS ename is 'DataError' 264 PASS ename is 'DataError'
265 Exception message: The lower key and upper key are equal and one of the bounds i s open.
257 Equal keys, either of the bounds is open, bound(4, 4, true, true) 266 Equal keys, either of the bounds is open, bound(4, 4, true, true)
258 Expecting exception from IDBKeyRange.bound(4, 4, true, true) 267 Expecting exception from IDBKeyRange.bound(4, 4, true, true)
259 PASS Exception was thrown. 268 PASS Exception was thrown.
260 PASS code is 0 269 PASS code is 0
261 PASS ename is 'DataError' 270 PASS ename is 'DataError'
271 Exception message: The lower key and upper key are equal and one of the bounds i s open.
262 Equal keys, none of the bounds is open, bound(4, 4, false, false) 272 Equal keys, none of the bounds is open, bound(4, 4, false, false)
263 PASS successfullyParsed is true 273 PASS successfullyParsed is true
264 274
265 TEST COMPLETE 275 TEST COMPLETE
266 276
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698