1 Test IndexedDB's objectStore.openCursor + the cursor it produces in depth.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "objectstore-cursor.html"
7 indexedDB.deleteDatabase(dbname)
9 objectStore = db.createObjectStore('someObjectStore')
11 Verify that specifying an invalid direction raises an exception:
12 Expecting TypeError exception from objectStore.openCursor(0, 'invalid-direction')
13 PASS Exception was thrown.
14 PASS objectStore.openCursor(0, 'invalid-direction') threw TypeError: Failed to execute 'openCursor' on 'IDBObjectStore': The provided value 'invalid-direction' is not a valid enum value of type IDBCursorDirection.
16 objectStore.add('', testData[nextToAdd])
17 objectStore.add('', testData[nextToAdd])
18 objectStore.add('', testData[nextToAdd])
19 objectStore.add('', testData[nextToAdd])
20 objectStore.add('', testData[nextToAdd])
21 objectStore.add('', testData[nextToAdd])
22 objectStore.add('', testData[nextToAdd])
26 Next test: lower open bound is 0; sorted ascending.
27 PASS event.target.result.key is testData[1]
28 PASS event.target.result.key is testData[2]
29 PASS event.target.result.key is testData[3]
30 PASS event.target.result.key is testData[4]
31 PASS event.target.result.key is testData[5]
32 PASS event.target.result.key is testData[6]
33 PASS event.target.result is null
35 Next test: lower bound is 0; sorted ascending.
36 PASS event.target.result.key is testData[0]
37 PASS event.target.result.key is testData[1]
38 PASS event.target.result.key is testData[2]
39 PASS event.target.result.key is testData[3]
40 PASS event.target.result.key is testData[4]
41 PASS event.target.result.key is testData[5]
42 PASS event.target.result.key is testData[6]
43 PASS event.target.result is null
45 Next test: upper open bound is 0; sorted ascending.
46 PASS event.target.result is null
48 Next test: upper bound is 0; sorted ascending.
49 PASS event.target.result.key is testData[0]
50 PASS event.target.result is null
52 Next test: lower open bound is 0; sorted descending.
53 PASS event.target.result.key is testData[6]
54 PASS event.target.result.key is testData[5]
55 PASS event.target.result.key is testData[4]
56 PASS event.target.result.key is testData[3]
57 PASS event.target.result.key is testData[2]
58 PASS event.target.result.key is testData[1]
59 PASS event.target.result is null
61 Next test: lower bound is 0; sorted descending.
62 PASS event.target.result.key is testData[6]
63 PASS event.target.result.key is testData[5]
64 PASS event.target.result.key is testData[4]
65 PASS event.target.result.key is testData[3]
66 PASS event.target.result.key is testData[2]
67 PASS event.target.result.key is testData[1]
68 PASS event.target.result.key is testData[0]
69 PASS event.target.result is null
71 Next test: upper open bound is 0; sorted descending.
72 PASS event.target.result is null
74 Next test: upper bound is 0; sorted descending.
75 PASS event.target.result.key is testData[0]
76 PASS event.target.result is null
78 Next test: lower open bound is 0; upper open bound is 6; sorted ascending.
79 PASS event.target.result.key is testData[1]
80 PASS event.target.result.key is testData[2]
81 PASS event.target.result.key is testData[3]
82 PASS event.target.result.key is testData[4]
83 PASS event.target.result.key is testData[5]
84 PASS event.target.result is null
86 Next test: lower open bound is 0; upper bound is 6; sorted ascending.
87 PASS event.target.result.key is testData[1]
88 PASS event.target.result.key is testData[2]
89 PASS event.target.result.key is testData[3]
90 PASS event.target.result.key is testData[4]
91 PASS event.target.result.key is testData[5]
92 PASS event.target.result.key is testData[6]
93 PASS event.target.result is null
95 Next test: lower bound is 0; upper open bound is 6; sorted ascending.
96 PASS event.target.result.key is testData[0]
97 PASS event.target.result.key is testData[1]
98 PASS event.target.result.key is testData[2]
99 PASS event.target.result.key is testData[3]
100 PASS event.target.result.key is testData[4]
101 PASS event.target.result.key is testData[5]
102 PASS event.target.result is null
104 Next test: lower bound is 0; upper bound is 6; sorted ascending.
105 PASS event.target.result.key is testData[0]
106 PASS event.target.result.key is testData[1]
107 PASS event.target.result.key is testData[2]
108 PASS event.target.result.key is testData[3]
109 PASS event.target.result.key is testData[4]
110 PASS event.target.result.key is testData[5]
111 PASS event.target.result.key is testData[6]
112 PASS event.target.result is null
114 Next test: lower open bound is 0; upper open bound is 6; sorted descending.
115 PASS event.target.result.key is testData[5]
116 PASS event.target.result.key is testData[4]
117 PASS event.target.result.key is testData[3]
118 PASS event.target.result.key is testData[2]
119 PASS event.target.result.key is testData[1]
120 PASS event.target.result is null
122 Next test: lower open bound is 0; upper bound is 6; sorted descending.
123 PASS event.target.result.key is testData[6]
124 PASS event.target.result.key is testData[5]
125 PASS event.target.result.key is testData[4]
126 PASS event.target.result.key is testData[3]
127 PASS event.target.result.key is testData[2]
128 PASS event.target.result.key is testData[1]
129 PASS event.target.result is null
131 Next test: lower bound is 0; upper open bound is 6; sorted descending.
132 PASS event.target.result.key is testData[5]
133 PASS event.target.result.key is testData[4]
134 PASS event.target.result.key is testData[3]
135 PASS event.target.result.key is testData[2]
136 PASS event.target.result.key is testData[1]
137 PASS event.target.result.key is testData[0]
138 PASS event.target.result is null
140 Next test: lower bound is 0; upper bound is 6; sorted descending.
141 PASS event.target.result.key is testData[6]
142 PASS event.target.result.key is testData[5]
143 PASS event.target.result.key is testData[4]
144 PASS event.target.result.key is testData[3]
145 PASS event.target.result.key is testData[2]
146 PASS event.target.result.key is testData[1]
147 PASS event.target.result.key is testData[0]
148 PASS event.target.result is null
150 Next test: lower open bound is 1; sorted ascending.
151 PASS event.target.result.key is testData[2]
152 PASS event.target.result.key is testData[3]
153 PASS event.target.result.key is testData[4]
154 PASS event.target.result.key is testData[5]
155 PASS event.target.result.key is testData[6]
156 PASS event.target.result is null
158 Next test: lower bound is 1; sorted ascending.
159 PASS event.target.result.key is testData[1]
160 PASS event.target.result.key is testData[2]
161 PASS event.target.result.key is testData[3]
162 PASS event.target.result.key is testData[4]
163 PASS event.target.result.key is testData[5]
164 PASS event.target.result.key is testData[6]
165 PASS event.target.result is null
167 Next test: upper open bound is 1; sorted ascending.
168 PASS event.target.result.key is testData[0]
169 PASS event.target.result is null
171 Next test: upper bound is 1; sorted ascending.
172 PASS event.target.result.key is testData[0]
173 PASS event.target.result.key is testData[1]
174 PASS event.target.result is null
176 Next test: lower open bound is 1; sorted descending.
177 PASS event.target.result.key is testData[6]
178 PASS event.target.result.key is testData[5]
179 PASS event.target.result.key is testData[4]
180 PASS event.target.result.key is testData[3]
181 PASS event.target.result.key is testData[2]
182 PASS event.target.result is null
184 Next test: lower bound is 1; sorted descending.
185 PASS event.target.result.key is testData[6]
186 PASS event.target.result.key is testData[5]
187 PASS event.target.result.key is testData[4]
188 PASS event.target.result.key is testData[3]
189 PASS event.target.result.key is testData[2]
190 PASS event.target.result.key is testData[1]
191 PASS event.target.result is null
193 Next test: upper open bound is 1; sorted descending.
194 PASS event.target.result.key is testData[0]
195 PASS event.target.result is null
197 Next test: upper bound is 1; sorted descending.
198 PASS event.target.result.key is testData[1]
199 PASS event.target.result.key is testData[0]
200 PASS event.target.result is null
202 Next test: lower open bound is 1; upper open bound is 6; sorted ascending.
203 PASS event.target.result.key is testData[2]
204 PASS event.target.result.key is testData[3]
205 PASS event.target.result.key is testData[4]
206 PASS event.target.result.key is testData[5]
207 PASS event.target.result is null
209 Next test: lower open bound is 1; upper bound is 6; sorted ascending.
210 PASS event.target.result.key is testData[2]
211 PASS event.target.result.key is testData[3]
212 PASS event.target.result.key is testData[4]
213 PASS event.target.result.key is testData[5]
214 PASS event.target.result.key is testData[6]
215 PASS event.target.result is null
217 Next test: lower bound is 1; upper open bound is 6; sorted ascending.
218 PASS event.target.result.key is testData[1]
219 PASS event.target.result.key is testData[2]
220 PASS event.target.result.key is testData[3]
221 PASS event.target.result.key is testData[4]
222 PASS event.target.result.key is testData[5]
223 PASS event.target.result is null
225 Next test: lower bound is 1; upper bound is 6; sorted ascending.
226 PASS event.target.result.key is testData[1]
227 PASS event.target.result.key is testData[2]
228 PASS event.target.result.key is testData[3]
229 PASS event.target.result.key is testData[4]
230 PASS event.target.result.key is testData[5]
231 PASS event.target.result.key is testData[6]
232 PASS event.target.result is null
234 Next test: lower open bound is 1; upper open bound is 6; sorted descending.
235 PASS event.target.result.key is testData[5]
236 PASS event.target.result.key is testData[4]
237 PASS event.target.result.key is testData[3]
238 PASS event.target.result.key is testData[2]
239 PASS event.target.result is null
241 Next test: lower open bound is 1; upper bound is 6; sorted descending.
242 PASS event.target.result.key is testData[6]
243 PASS event.target.result.key is testData[5]
244 PASS event.target.result.key is testData[4]
245 PASS event.target.result.key is testData[3]
246 PASS event.target.result.key is testData[2]
247 PASS event.target.result is null
249 Next test: lower bound is 1; upper open bound is 6; sorted descending.
250 PASS event.target.result.key is testData[5]
251 PASS event.target.result.key is testData[4]
252 PASS event.target.result.key is testData[3]
253 PASS event.target.result.key is testData[2]
254 PASS event.target.result.key is testData[1]
255 PASS event.target.result is null
257 Next test: lower bound is 1; upper bound is 6; sorted descending.
258 PASS event.target.result.key is testData[6]
259 PASS event.target.result.key is testData[5]
260 PASS event.target.result.key is testData[4]
261 PASS event.target.result.key is testData[3]
262 PASS event.target.result.key is testData[2]
263 PASS event.target.result.key is testData[1]
264 PASS event.target.result is null
266 Next test: lower open bound is 2; sorted ascending.
267 PASS event.target.result.key is testData[3]
268 PASS event.target.result.key is testData[4]
269 PASS event.target.result.key is testData[5]
270 PASS event.target.result.key is testData[6]
271 PASS event.target.result is null
273 Next test: lower bound is 2; sorted ascending.
274 PASS event.target.result.key is testData[2]
275 PASS event.target.result.key is testData[3]
276 PASS event.target.result.key is testData[4]
277 PASS event.target.result.key is testData[5]
278 PASS event.target.result.key is testData[6]
279 PASS event.target.result is null
281 Next test: upper open bound is 2; sorted ascending.
282 PASS event.target.result.key is testData[0]
283 PASS event.target.result.key is testData[1]
284 PASS event.target.result is null
286 Next test: upper bound is 2; sorted ascending.
287 PASS event.target.result.key is testData[0]
288 PASS event.target.result.key is testData[1]
289 PASS event.target.result.key is testData[2]
290 PASS event.target.result is null
292 Next test: lower open bound is 2; sorted descending.
293 PASS event.target.result.key is testData[6]
294 PASS event.target.result.key is testData[5]
295 PASS event.target.result.key is testData[4]
296 PASS event.target.result.key is testData[3]
297 PASS event.target.result is null
299 Next test: lower bound is 2; sorted descending.
300 PASS event.target.result.key is testData[6]
301 PASS event.target.result.key is testData[5]
302 PASS event.target.result.key is testData[4]
303 PASS event.target.result.key is testData[3]
304 PASS event.target.result.key is testData[2]
305 PASS event.target.result is null
307 Next test: upper open bound is 2; sorted descending.
308 PASS event.target.result.key is testData[1]
309 PASS event.target.result.key is testData[0]
310 PASS event.target.result is null
312 Next test: upper bound is 2; sorted descending.
313 PASS event.target.result.key is testData[2]
314 PASS event.target.result.key is testData[1]
315 PASS event.target.result.key is testData[0]
316 PASS event.target.result is null
318 Next test: lower open bound is 2; upper open bound is 6; sorted ascending.
319 PASS event.target.result.key is testData[3]
320 PASS event.target.result.key is testData[4]
321 PASS event.target.result.key is testData[5]
322 PASS event.target.result is null
324 Next test: lower open bound is 2; upper bound is 6; sorted ascending.
325 PASS event.target.result.key is testData[3]
326 PASS event.target.result.key is testData[4]
327 PASS event.target.result.key is testData[5]
328 PASS event.target.result.key is testData[6]
329 PASS event.target.result is null
331 Next test: lower bound is 2; upper open bound is 6; sorted ascending.
332 PASS event.target.result.key is testData[2]
333 PASS event.target.result.key is testData[3]
334 PASS event.target.result.key is testData[4]
335 PASS event.target.result.key is testData[5]
336 PASS event.target.result is null
338 Next test: lower bound is 2; upper bound is 6; sorted ascending.
339 PASS event.target.result.key is testData[2]
340 PASS event.target.result.key is testData[3]
341 PASS event.target.result.key is testData[4]
342 PASS event.target.result.key is testData[5]
343 PASS event.target.result.key is testData[6]
344 PASS event.target.result is null
346 Next test: lower open bound is 2; upper open bound is 6; sorted descending.
347 PASS event.target.result.key is testData[5]
348 PASS event.target.result.key is testData[4]
349 PASS event.target.result.key is testData[3]
350 PASS event.target.result is null
352 Next test: lower open bound is 2; upper bound is 6; sorted descending.
353 PASS event.target.result.key is testData[6]
354 PASS event.target.result.key is testData[5]
355 PASS event.target.result.key is testData[4]
356 PASS event.target.result.key is testData[3]
357 PASS event.target.result is null
359 Next test: lower bound is 2; upper open bound is 6; sorted descending.
360 PASS event.target.result.key is testData[5]
361 PASS event.target.result.key is testData[4]
362 PASS event.target.result.key is testData[3]
363 PASS event.target.result.key is testData[2]
364 PASS event.target.result is null
366 Next test: lower bound is 2; upper bound is 6; sorted descending.
367 PASS event.target.result.key is testData[6]
368 PASS event.target.result.key is testData[5]
369 PASS event.target.result.key is testData[4]
370 PASS event.target.result.key is testData[3]
371 PASS event.target.result.key is testData[2]
372 PASS event.target.result is null
374 Next test: lower open bound is 3; sorted ascending.
375 PASS event.target.result.key is testData[4]
376 PASS event.target.result.key is testData[5]
377 PASS event.target.result.key is testData[6]
378 PASS event.target.result is null
380 Next test: lower bound is 3; sorted ascending.
381 PASS event.target.result.key is testData[3]
382 PASS event.target.result.key is testData[4]
383 PASS event.target.result.key is testData[5]
384 PASS event.target.result.key is testData[6]
385 PASS event.target.result is null
387 Next test: upper open bound is 3; sorted ascending.
388 PASS event.target.result.key is testData[0]
389 PASS event.target.result.key is testData[1]
390 PASS event.target.result.key is testData[2]
391 PASS event.target.result is null
393 Next test: upper bound is 3; sorted ascending.
394 PASS event.target.result.key is testData[0]
395 PASS event.target.result.key is testData[1]
396 PASS event.target.result.key is testData[2]
397 PASS event.target.result.key is testData[3]
398 PASS event.target.result is null
400 Next test: lower open bound is 3; sorted descending.
401 PASS event.target.result.key is testData[6]
402 PASS event.target.result.key is testData[5]
403 PASS event.target.result.key is testData[4]
404 PASS event.target.result is null
406 Next test: lower bound is 3; sorted descending.
407 PASS event.target.result.key is testData[6]
408 PASS event.target.result.key is testData[5]
409 PASS event.target.result.key is testData[4]
410 PASS event.target.result.key is testData[3]
411 PASS event.target.result is null
413 Next test: upper open bound is 3; sorted descending.
414 PASS event.target.result.key is testData[2]
415 PASS event.target.result.key is testData[1]
416 PASS event.target.result.key is testData[0]
417 PASS event.target.result is null
419 Next test: upper bound is 3; sorted descending.
420 PASS event.target.result.key is testData[3]
421 PASS event.target.result.key is testData[2]
422 PASS event.target.result.key is testData[1]
423 PASS event.target.result.key is testData[0]
424 PASS event.target.result is null
426 Next test: lower open bound is 3; upper open bound is 6; sorted ascending.
427 PASS event.target.result.key is testData[4]
428 PASS event.target.result.key is testData[5]
429 PASS event.target.result is null
431 Next test: lower open bound is 3; upper bound is 6; sorted ascending.
432 PASS event.target.result.key is testData[4]
433 PASS event.target.result.key is testData[5]
434 PASS event.target.result.key is testData[6]
435 PASS event.target.result is null
437 Next test: lower bound is 3; upper open bound is 6; sorted ascending.
438 PASS event.target.result.key is testData[3]
439 PASS event.target.result.key is testData[4]
440 PASS event.target.result.key is testData[5]
441 PASS event.target.result is null
443 Next test: lower bound is 3; upper bound is 6; sorted ascending.
444 PASS event.target.result.key is testData[3]
445 PASS event.target.result.key is testData[4]
446 PASS event.target.result.key is testData[5]
447 PASS event.target.result.key is testData[6]
448 PASS event.target.result is null
450 Next test: lower open bound is 3; upper open bound is 6; sorted descending.
451 PASS event.target.result.key is testData[5]
452 PASS event.target.result.key is testData[4]
453 PASS event.target.result is null
455 Next test: lower open bound is 3; upper bound is 6; sorted descending.
456 PASS event.target.result.key is testData[6]
457 PASS event.target.result.key is testData[5]
458 PASS event.target.result.key is testData[4]
459 PASS event.target.result is null
461 Next test: lower bound is 3; upper open bound is 6; sorted descending.
462 PASS event.target.result.key is testData[5]
463 PASS event.target.result.key is testData[4]
464 PASS event.target.result.key is testData[3]
465 PASS event.target.result is null
467 Next test: lower bound is 3; upper bound is 6; sorted descending.
468 PASS event.target.result.key is testData[6]
469 PASS event.target.result.key is testData[5]
470 PASS event.target.result.key is testData[4]
471 PASS event.target.result.key is testData[3]
472 PASS event.target.result is null
474 Next test: lower open bound is 4; sorted ascending.
475 PASS event.target.result.key is testData[5]
476 PASS event.target.result.key is testData[6]
477 PASS event.target.result is null
479 Next test: lower bound is 4; sorted ascending.
480 PASS event.target.result.key is testData[4]
481 PASS event.target.result.key is testData[5]
482 PASS event.target.result.key is testData[6]
483 PASS event.target.result is null
485 Next test: upper open bound is 4; sorted ascending.
486 PASS event.target.result.key is testData[0]
487 PASS event.target.result.key is testData[1]
488 PASS event.target.result.key is testData[2]
489 PASS event.target.result.key is testData[3]
490 PASS event.target.result is null
492 Next test: upper bound is 4; sorted ascending.
493 PASS event.target.result.key is testData[0]
494 PASS event.target.result.key is testData[1]
495 PASS event.target.result.key is testData[2]
496 PASS event.target.result.key is testData[3]
497 PASS event.target.result.key is testData[4]
498 PASS event.target.result is null
500 Next test: lower open bound is 4; sorted descending.
501 PASS event.target.result.key is testData[6]
502 PASS event.target.result.key is testData[5]
503 PASS event.target.result is null
505 Next test: lower bound is 4; sorted descending.
506 PASS event.target.result.key is testData[6]
507 PASS event.target.result.key is testData[5]
508 PASS event.target.result.key is testData[4]
509 PASS event.target.result is null
511 Next test: upper open bound is 4; sorted descending.
512 PASS event.target.result.key is testData[3]
513 PASS event.target.result.key is testData[2]
514 PASS event.target.result.key is testData[1]
515 PASS event.target.result.key is testData[0]
516 PASS event.target.result is null
518 Next test: upper bound is 4; sorted descending.
519 PASS event.target.result.key is testData[4]
520 PASS event.target.result.key is testData[3]
521 PASS event.target.result.key is testData[2]
522 PASS event.target.result.key is testData[1]
523 PASS event.target.result.key is testData[0]
524 PASS event.target.result is null
526 Next test: lower open bound is 4; upper open bound is 6; sorted ascending.
527 PASS event.target.result.key is testData[5]
528 PASS event.target.result is null
530 Next test: lower open bound is 4; upper bound is 6; sorted ascending.
531 PASS event.target.result.key is testData[5]
532 PASS event.target.result.key is testData[6]
533 PASS event.target.result is null
535 Next test: lower bound is 4; upper open bound is 6; sorted ascending.
536 PASS event.target.result.key is testData[4]
537 PASS event.target.result.key is testData[5]
538 PASS event.target.result is null
540 Next test: lower bound is 4; upper bound is 6; sorted ascending.
541 PASS event.target.result.key is testData[4]
542 PASS event.target.result.key is testData[5]
543 PASS event.target.result.key is testData[6]
544 PASS event.target.result is null
546 Next test: lower open bound is 4; upper open bound is 6; sorted descending.
547 PASS event.target.result.key is testData[5]
548 PASS event.target.result is null
550 Next test: lower open bound is 4; upper bound is 6; sorted descending.
551 PASS event.target.result.key is testData[6]
552 PASS event.target.result.key is testData[5]
553 PASS event.target.result is null
555 Next test: lower bound is 4; upper open bound is 6; sorted descending.
556 PASS event.target.result.key is testData[5]
557 PASS event.target.result.key is testData[4]
558 PASS event.target.result is null
560 Next test: lower bound is 4; upper bound is 6; sorted descending.
561 PASS event.target.result.key is testData[6]
562 PASS event.target.result.key is testData[5]
563 PASS event.target.result.key is testData[4]
564 PASS event.target.result is null
566 Next test: lower open bound is 5; sorted ascending.
567 PASS event.target.result.key is testData[6]
568 PASS event.target.result is null
570 Next test: lower bound is 5; sorted ascending.
571 PASS event.target.result.key is testData[5]
572 PASS event.target.result.key is testData[6]
573 PASS event.target.result is null
575 Next test: upper open bound is 5; sorted ascending.
576 PASS event.target.result.key is testData[0]
577 PASS event.target.result.key is testData[1]
578 PASS event.target.result.key is testData[2]
579 PASS event.target.result.key is testData[3]
580 PASS event.target.result.key is testData[4]
581 PASS event.target.result is null
583 Next test: upper bound is 5; sorted ascending.
584 PASS event.target.result.key is testData[0]
585 PASS event.target.result.key is testData[1]
586 PASS event.target.result.key is testData[2]
587 PASS event.target.result.key is testData[3]
588 PASS event.target.result.key is testData[4]
589 PASS event.target.result.key is testData[5]
590 PASS event.target.result is null
592 Next test: lower open bound is 5; sorted descending.
593 PASS event.target.result.key is testData[6]
594 PASS event.target.result is null
596 Next test: lower bound is 5; sorted descending.
597 PASS event.target.result.key is testData[6]
598 PASS event.target.result.key is testData[5]
599 PASS event.target.result is null
601 Next test: upper open bound is 5; sorted descending.
602 PASS event.target.result.key is testData[4]
603 PASS event.target.result.key is testData[3]
604 PASS event.target.result.key is testData[2]
605 PASS event.target.result.key is testData[1]
606 PASS event.target.result.key is testData[0]
607 PASS event.target.result is null
609 Next test: upper bound is 5; sorted descending.
610 PASS event.target.result.key is testData[5]
611 PASS event.target.result.key is testData[4]
612 PASS event.target.result.key is testData[3]
613 PASS event.target.result.key is testData[2]
614 PASS event.target.result.key is testData[1]
615 PASS event.target.result.key is testData[0]
616 PASS event.target.result is null
618 Next test: lower open bound is 5; upper open bound is 6; sorted ascending.
619 PASS event.target.result is null
621 Next test: lower open bound is 5; upper bound is 6; sorted ascending.
622 PASS event.target.result.key is testData[6]
623 PASS event.target.result is null
625 Next test: lower bound is 5; upper open bound is 6; sorted ascending.
626 PASS event.target.result.key is testData[5]
627 PASS event.target.result is null
629 Next test: lower bound is 5; upper bound is 6; sorted ascending.
630 PASS event.target.result.key is testData[5]
631 PASS event.target.result.key is testData[6]
632 PASS event.target.result is null
634 Next test: lower open bound is 5; upper open bound is 6; sorted descending.
635 PASS event.target.result is null
637 Next test: lower open bound is 5; upper bound is 6; sorted descending.
638 PASS event.target.result.key is testData[6]
639 PASS event.target.result is null
641 Next test: lower bound is 5; upper open bound is 6; sorted descending.
642 PASS event.target.result.key is testData[5]
643 PASS event.target.result is null
645 Next test: lower bound is 5; upper bound is 6; sorted descending.
646 PASS event.target.result.key is testData[6]
647 PASS event.target.result.key is testData[5]
648 PASS event.target.result is null
650 Next test: lower open bound is 6; sorted ascending.
651 PASS event.target.result is null
653 Next test: lower bound is 6; sorted ascending.
654 PASS event.target.result.key is testData[6]
655 PASS event.target.result is null
657 Next test: upper open bound is 6; sorted ascending.
658 PASS event.target.result.key is testData[0]
659 PASS event.target.result.key is testData[1]
660 PASS event.target.result.key is testData[2]
661 PASS event.target.result.key is testData[3]
662 PASS event.target.result.key is testData[4]
663 PASS event.target.result.key is testData[5]
664 PASS event.target.result is null
666 Next test: upper bound is 6; sorted ascending.
667 PASS event.target.result.key is testData[0]
668 PASS event.target.result.key is testData[1]
669 PASS event.target.result.key is testData[2]
670 PASS event.target.result.key is testData[3]
671 PASS event.target.result.key is testData[4]
672 PASS event.target.result.key is testData[5]
673 PASS event.target.result.key is testData[6]
674 PASS event.target.result is null
676 Next test: lower open bound is 6; sorted descending.
677 PASS event.target.result is null
679 Next test: lower bound is 6; sorted descending.
680 PASS event.target.result.key is testData[6]
681 PASS event.target.result is null
683 Next test: upper open bound is 6; sorted descending.
684 PASS event.target.result.key is testData[5]
685 PASS event.target.result.key is testData[4]
686 PASS event.target.result.key is testData[3]
687 PASS event.target.result.key is testData[2]
688 PASS event.target.result.key is testData[1]
689 PASS event.target.result.key is testData[0]
690 PASS event.target.result is null
692 Next test: upper bound is 6; sorted descending.
693 PASS event.target.result.key is testData[6]
694 PASS event.target.result.key is testData[5]
695 PASS event.target.result.key is testData[4]
696 PASS event.target.result.key is testData[3]
697 PASS event.target.result.key is testData[2]
698 PASS event.target.result.key is testData[1]
699 PASS event.target.result.key is testData[0]
700 PASS event.target.result is null
702 Next test: lower open bound is 6; upper open bound is 6; sorted ascending.
703 Skipping illegal key range.
705 Next test: lower open bound is 6; upper bound is 6; sorted ascending.
706 Skipping illegal key range.
708 Next test: lower bound is 6; upper open bound is 6; sorted ascending.
709 Skipping illegal key range.
711 Next test: lower bound is 6; upper bound is 6; sorted ascending.
712 PASS event.target.result.key is testData[6]
713 PASS event.target.result is null
715 Next test: lower open bound is 6; upper open bound is 6; sorted descending.
716 Skipping illegal key range.
718 Next test: lower open bound is 6; upper bound is 6; sorted descending.
719 Skipping illegal key range.
721 Next test: lower bound is 6; upper open bound is 6; sorted descending.
722 Skipping illegal key range.
724 Next test: lower bound is 6; upper bound is 6; sorted descending.
725 PASS event.target.result.key is testData[6]
726 PASS event.target.result is null
728 Next test: null key path sorted ascending.
729 PASS event.target.result.key is testData[0]
730 PASS event.target.result.key is testData[1]
731 PASS event.target.result.key is testData[2]
732 PASS event.target.result.key is testData[3]
733 PASS event.target.result.key is testData[4]
734 PASS event.target.result.key is testData[5]
735 PASS event.target.result.key is testData[6]
736 PASS event.target.result is null
738 Next test: null key path sorted descending.
739 PASS event.target.result.key is testData[6]
740 PASS event.target.result.key is testData[5]
741 PASS event.target.result.key is testData[4]
742 PASS event.target.result.key is testData[3]
743 PASS event.target.result.key is testData[2]
744 PASS event.target.result.key is testData[1]
745 PASS event.target.result.key is testData[0]
746 PASS event.target.result is null
747 PASS successfullyParsed is true