Home | History | Annotate | Download | only in indexeddb
      1 Test IndexedDB's objectStore.openCursor + the cursor it produces in depth.
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 webkitIndexedDB.open('objectstore-cursor')
      7 db = event.target.result
      8 db.setVersion('new version')
      9 trans = event.target.result
     10 PASS trans !== null is true
     11 Deleted all object stores.
     12 db.createObjectStore('someObjectStore')
     13 objectStore.add('', testData[nextToAdd])
     14 objectStore.add('', testData[nextToAdd])
     15 objectStore.add('', testData[nextToAdd])
     16 objectStore.add('', testData[nextToAdd])
     17 objectStore.add('', testData[nextToAdd])
     18 objectStore.add('', testData[nextToAdd])
     19 objectStore.add('', testData[nextToAdd])
     20 Scheduling tests...
     21 Running tests...
     22 
     23 Next test: lower open bound is 0; sorted ascending.
     24 PASS event.target.result.key is testData[1]
     25 PASS event.target.result.key is testData[2]
     26 PASS event.target.result.key is testData[3]
     27 PASS event.target.result.key is testData[4]
     28 PASS event.target.result.key is testData[5]
     29 PASS event.target.result.key is testData[6]
     30 PASS event.target.result is null
     31 
     32 Next test: lower bound is 0; sorted ascending.
     33 PASS event.target.result.key is testData[0]
     34 PASS event.target.result.key is testData[1]
     35 PASS event.target.result.key is testData[2]
     36 PASS event.target.result.key is testData[3]
     37 PASS event.target.result.key is testData[4]
     38 PASS event.target.result.key is testData[5]
     39 PASS event.target.result.key is testData[6]
     40 PASS event.target.result is null
     41 
     42 Next test: upper open bound is 0; sorted ascending.
     43 PASS event.target.result is null
     44 
     45 Next test: upper bound is 0; sorted ascending.
     46 PASS event.target.result.key is testData[0]
     47 PASS event.target.result is null
     48 
     49 Next test: lower open bound is 0; sorted descending.
     50 PASS event.target.result.key is testData[6]
     51 PASS event.target.result.key is testData[5]
     52 PASS event.target.result.key is testData[4]
     53 PASS event.target.result.key is testData[3]
     54 PASS event.target.result.key is testData[2]
     55 PASS event.target.result.key is testData[1]
     56 PASS event.target.result is null
     57 
     58 Next test: lower bound is 0; sorted descending.
     59 PASS event.target.result.key is testData[6]
     60 PASS event.target.result.key is testData[5]
     61 PASS event.target.result.key is testData[4]
     62 PASS event.target.result.key is testData[3]
     63 PASS event.target.result.key is testData[2]
     64 PASS event.target.result.key is testData[1]
     65 PASS event.target.result.key is testData[0]
     66 PASS event.target.result is null
     67 
     68 Next test: upper open bound is 0; sorted descending.
     69 PASS event.target.result is null
     70 
     71 Next test: upper bound is 0; sorted descending.
     72 PASS event.target.result.key is testData[0]
     73 PASS event.target.result is null
     74 
     75 Next test: lower open bound is 0; upper open bound is 6; sorted ascending.
     76 PASS event.target.result.key is testData[1]
     77 PASS event.target.result.key is testData[2]
     78 PASS event.target.result.key is testData[3]
     79 PASS event.target.result.key is testData[4]
     80 PASS event.target.result.key is testData[5]
     81 PASS event.target.result is null
     82 
     83 Next test: lower open bound is 0; upper bound is 6; sorted ascending.
     84 PASS event.target.result.key is testData[1]
     85 PASS event.target.result.key is testData[2]
     86 PASS event.target.result.key is testData[3]
     87 PASS event.target.result.key is testData[4]
     88 PASS event.target.result.key is testData[5]
     89 PASS event.target.result.key is testData[6]
     90 PASS event.target.result is null
     91 
     92 Next test: lower bound is 0; upper open bound is 6; sorted ascending.
     93 PASS event.target.result.key is testData[0]
     94 PASS event.target.result.key is testData[1]
     95 PASS event.target.result.key is testData[2]
     96 PASS event.target.result.key is testData[3]
     97 PASS event.target.result.key is testData[4]
     98 PASS event.target.result.key is testData[5]
     99 PASS event.target.result is null
    100 
    101 Next test: lower bound is 0; upper bound is 6; sorted ascending.
    102 PASS event.target.result.key is testData[0]
    103 PASS event.target.result.key is testData[1]
    104 PASS event.target.result.key is testData[2]
    105 PASS event.target.result.key is testData[3]
    106 PASS event.target.result.key is testData[4]
    107 PASS event.target.result.key is testData[5]
    108 PASS event.target.result.key is testData[6]
    109 PASS event.target.result is null
    110 
    111 Next test: lower open bound is 0; upper open bound is 6; sorted descending.
    112 PASS event.target.result.key is testData[5]
    113 PASS event.target.result.key is testData[4]
    114 PASS event.target.result.key is testData[3]
    115 PASS event.target.result.key is testData[2]
    116 PASS event.target.result.key is testData[1]
    117 PASS event.target.result is null
    118 
    119 Next test: lower open bound is 0; upper bound is 6; sorted descending.
    120 PASS event.target.result.key is testData[6]
    121 PASS event.target.result.key is testData[5]
    122 PASS event.target.result.key is testData[4]
    123 PASS event.target.result.key is testData[3]
    124 PASS event.target.result.key is testData[2]
    125 PASS event.target.result.key is testData[1]
    126 PASS event.target.result is null
    127 
    128 Next test: lower bound is 0; upper open bound is 6; sorted descending.
    129 PASS event.target.result.key is testData[5]
    130 PASS event.target.result.key is testData[4]
    131 PASS event.target.result.key is testData[3]
    132 PASS event.target.result.key is testData[2]
    133 PASS event.target.result.key is testData[1]
    134 PASS event.target.result.key is testData[0]
    135 PASS event.target.result is null
    136 
    137 Next test: lower bound is 0; upper bound is 6; sorted descending.
    138 PASS event.target.result.key is testData[6]
    139 PASS event.target.result.key is testData[5]
    140 PASS event.target.result.key is testData[4]
    141 PASS event.target.result.key is testData[3]
    142 PASS event.target.result.key is testData[2]
    143 PASS event.target.result.key is testData[1]
    144 PASS event.target.result.key is testData[0]
    145 PASS event.target.result is null
    146 
    147 Next test: lower open bound is 1; sorted ascending.
    148 PASS event.target.result.key is testData[2]
    149 PASS event.target.result.key is testData[3]
    150 PASS event.target.result.key is testData[4]
    151 PASS event.target.result.key is testData[5]
    152 PASS event.target.result.key is testData[6]
    153 PASS event.target.result is null
    154 
    155 Next test: lower bound is 1; sorted ascending.
    156 PASS event.target.result.key is testData[1]
    157 PASS event.target.result.key is testData[2]
    158 PASS event.target.result.key is testData[3]
    159 PASS event.target.result.key is testData[4]
    160 PASS event.target.result.key is testData[5]
    161 PASS event.target.result.key is testData[6]
    162 PASS event.target.result is null
    163 
    164 Next test: upper open bound is 1; sorted ascending.
    165 PASS event.target.result.key is testData[0]
    166 PASS event.target.result is null
    167 
    168 Next test: upper bound is 1; sorted ascending.
    169 PASS event.target.result.key is testData[0]
    170 PASS event.target.result.key is testData[1]
    171 PASS event.target.result is null
    172 
    173 Next test: lower open bound is 1; sorted descending.
    174 PASS event.target.result.key is testData[6]
    175 PASS event.target.result.key is testData[5]
    176 PASS event.target.result.key is testData[4]
    177 PASS event.target.result.key is testData[3]
    178 PASS event.target.result.key is testData[2]
    179 PASS event.target.result is null
    180 
    181 Next test: lower bound is 1; sorted descending.
    182 PASS event.target.result.key is testData[6]
    183 PASS event.target.result.key is testData[5]
    184 PASS event.target.result.key is testData[4]
    185 PASS event.target.result.key is testData[3]
    186 PASS event.target.result.key is testData[2]
    187 PASS event.target.result.key is testData[1]
    188 PASS event.target.result is null
    189 
    190 Next test: upper open bound is 1; sorted descending.
    191 PASS event.target.result.key is testData[0]
    192 PASS event.target.result is null
    193 
    194 Next test: upper bound is 1; sorted descending.
    195 PASS event.target.result.key is testData[1]
    196 PASS event.target.result.key is testData[0]
    197 PASS event.target.result is null
    198 
    199 Next test: lower open bound is 1; upper open bound is 6; sorted ascending.
    200 PASS event.target.result.key is testData[2]
    201 PASS event.target.result.key is testData[3]
    202 PASS event.target.result.key is testData[4]
    203 PASS event.target.result.key is testData[5]
    204 PASS event.target.result is null
    205 
    206 Next test: lower open bound is 1; upper bound is 6; sorted ascending.
    207 PASS event.target.result.key is testData[2]
    208 PASS event.target.result.key is testData[3]
    209 PASS event.target.result.key is testData[4]
    210 PASS event.target.result.key is testData[5]
    211 PASS event.target.result.key is testData[6]
    212 PASS event.target.result is null
    213 
    214 Next test: lower bound is 1; upper open bound is 6; sorted ascending.
    215 PASS event.target.result.key is testData[1]
    216 PASS event.target.result.key is testData[2]
    217 PASS event.target.result.key is testData[3]
    218 PASS event.target.result.key is testData[4]
    219 PASS event.target.result.key is testData[5]
    220 PASS event.target.result is null
    221 
    222 Next test: lower bound is 1; upper bound is 6; sorted ascending.
    223 PASS event.target.result.key is testData[1]
    224 PASS event.target.result.key is testData[2]
    225 PASS event.target.result.key is testData[3]
    226 PASS event.target.result.key is testData[4]
    227 PASS event.target.result.key is testData[5]
    228 PASS event.target.result.key is testData[6]
    229 PASS event.target.result is null
    230 
    231 Next test: lower open bound is 1; upper open bound is 6; sorted descending.
    232 PASS event.target.result.key is testData[5]
    233 PASS event.target.result.key is testData[4]
    234 PASS event.target.result.key is testData[3]
    235 PASS event.target.result.key is testData[2]
    236 PASS event.target.result is null
    237 
    238 Next test: lower open bound is 1; upper bound is 6; sorted descending.
    239 PASS event.target.result.key is testData[6]
    240 PASS event.target.result.key is testData[5]
    241 PASS event.target.result.key is testData[4]
    242 PASS event.target.result.key is testData[3]
    243 PASS event.target.result.key is testData[2]
    244 PASS event.target.result is null
    245 
    246 Next test: lower bound is 1; upper open bound is 6; sorted descending.
    247 PASS event.target.result.key is testData[5]
    248 PASS event.target.result.key is testData[4]
    249 PASS event.target.result.key is testData[3]
    250 PASS event.target.result.key is testData[2]
    251 PASS event.target.result.key is testData[1]
    252 PASS event.target.result is null
    253 
    254 Next test: lower bound is 1; upper bound is 6; sorted descending.
    255 PASS event.target.result.key is testData[6]
    256 PASS event.target.result.key is testData[5]
    257 PASS event.target.result.key is testData[4]
    258 PASS event.target.result.key is testData[3]
    259 PASS event.target.result.key is testData[2]
    260 PASS event.target.result.key is testData[1]
    261 PASS event.target.result is null
    262 
    263 Next test: lower open bound is 2; sorted ascending.
    264 PASS event.target.result.key is testData[3]
    265 PASS event.target.result.key is testData[4]
    266 PASS event.target.result.key is testData[5]
    267 PASS event.target.result.key is testData[6]
    268 PASS event.target.result is null
    269 
    270 Next test: lower bound is 2; sorted ascending.
    271 PASS event.target.result.key is testData[2]
    272 PASS event.target.result.key is testData[3]
    273 PASS event.target.result.key is testData[4]
    274 PASS event.target.result.key is testData[5]
    275 PASS event.target.result.key is testData[6]
    276 PASS event.target.result is null
    277 
    278 Next test: upper open bound is 2; sorted ascending.
    279 PASS event.target.result.key is testData[0]
    280 PASS event.target.result.key is testData[1]
    281 PASS event.target.result is null
    282 
    283 Next test: upper bound is 2; sorted ascending.
    284 PASS event.target.result.key is testData[0]
    285 PASS event.target.result.key is testData[1]
    286 PASS event.target.result.key is testData[2]
    287 PASS event.target.result is null
    288 
    289 Next test: lower open bound is 2; sorted descending.
    290 PASS event.target.result.key is testData[6]
    291 PASS event.target.result.key is testData[5]
    292 PASS event.target.result.key is testData[4]
    293 PASS event.target.result.key is testData[3]
    294 PASS event.target.result is null
    295 
    296 Next test: lower bound is 2; sorted descending.
    297 PASS event.target.result.key is testData[6]
    298 PASS event.target.result.key is testData[5]
    299 PASS event.target.result.key is testData[4]
    300 PASS event.target.result.key is testData[3]
    301 PASS event.target.result.key is testData[2]
    302 PASS event.target.result is null
    303 
    304 Next test: upper open bound is 2; sorted descending.
    305 PASS event.target.result.key is testData[1]
    306 PASS event.target.result.key is testData[0]
    307 PASS event.target.result is null
    308 
    309 Next test: upper bound is 2; sorted descending.
    310 PASS event.target.result.key is testData[2]
    311 PASS event.target.result.key is testData[1]
    312 PASS event.target.result.key is testData[0]
    313 PASS event.target.result is null
    314 
    315 Next test: lower open bound is 2; upper open bound is 6; sorted ascending.
    316 PASS event.target.result.key is testData[3]
    317 PASS event.target.result.key is testData[4]
    318 PASS event.target.result.key is testData[5]
    319 PASS event.target.result is null
    320 
    321 Next test: lower open bound is 2; upper bound is 6; sorted ascending.
    322 PASS event.target.result.key is testData[3]
    323 PASS event.target.result.key is testData[4]
    324 PASS event.target.result.key is testData[5]
    325 PASS event.target.result.key is testData[6]
    326 PASS event.target.result is null
    327 
    328 Next test: lower bound is 2; upper open bound is 6; sorted ascending.
    329 PASS event.target.result.key is testData[2]
    330 PASS event.target.result.key is testData[3]
    331 PASS event.target.result.key is testData[4]
    332 PASS event.target.result.key is testData[5]
    333 PASS event.target.result is null
    334 
    335 Next test: lower bound is 2; upper bound is 6; sorted ascending.
    336 PASS event.target.result.key is testData[2]
    337 PASS event.target.result.key is testData[3]
    338 PASS event.target.result.key is testData[4]
    339 PASS event.target.result.key is testData[5]
    340 PASS event.target.result.key is testData[6]
    341 PASS event.target.result is null
    342 
    343 Next test: lower open bound is 2; upper open bound is 6; sorted descending.
    344 PASS event.target.result.key is testData[5]
    345 PASS event.target.result.key is testData[4]
    346 PASS event.target.result.key is testData[3]
    347 PASS event.target.result is null
    348 
    349 Next test: lower open bound is 2; upper bound is 6; sorted descending.
    350 PASS event.target.result.key is testData[6]
    351 PASS event.target.result.key is testData[5]
    352 PASS event.target.result.key is testData[4]
    353 PASS event.target.result.key is testData[3]
    354 PASS event.target.result is null
    355 
    356 Next test: lower bound is 2; upper open bound is 6; sorted descending.
    357 PASS event.target.result.key is testData[5]
    358 PASS event.target.result.key is testData[4]
    359 PASS event.target.result.key is testData[3]
    360 PASS event.target.result.key is testData[2]
    361 PASS event.target.result is null
    362 
    363 Next test: lower bound is 2; upper bound is 6; sorted descending.
    364 PASS event.target.result.key is testData[6]
    365 PASS event.target.result.key is testData[5]
    366 PASS event.target.result.key is testData[4]
    367 PASS event.target.result.key is testData[3]
    368 PASS event.target.result.key is testData[2]
    369 PASS event.target.result is null
    370 
    371 Next test: lower open bound is 3; sorted ascending.
    372 PASS event.target.result.key is testData[4]
    373 PASS event.target.result.key is testData[5]
    374 PASS event.target.result.key is testData[6]
    375 PASS event.target.result is null
    376 
    377 Next test: lower bound is 3; sorted ascending.
    378 PASS event.target.result.key is testData[3]
    379 PASS event.target.result.key is testData[4]
    380 PASS event.target.result.key is testData[5]
    381 PASS event.target.result.key is testData[6]
    382 PASS event.target.result is null
    383 
    384 Next test: upper open bound is 3; sorted ascending.
    385 PASS event.target.result.key is testData[0]
    386 PASS event.target.result.key is testData[1]
    387 PASS event.target.result.key is testData[2]
    388 PASS event.target.result is null
    389 
    390 Next test: upper bound is 3; sorted ascending.
    391 PASS event.target.result.key is testData[0]
    392 PASS event.target.result.key is testData[1]
    393 PASS event.target.result.key is testData[2]
    394 PASS event.target.result.key is testData[3]
    395 PASS event.target.result is null
    396 
    397 Next test: lower open bound is 3; sorted descending.
    398 PASS event.target.result.key is testData[6]
    399 PASS event.target.result.key is testData[5]
    400 PASS event.target.result.key is testData[4]
    401 PASS event.target.result is null
    402 
    403 Next test: lower bound is 3; sorted descending.
    404 PASS event.target.result.key is testData[6]
    405 PASS event.target.result.key is testData[5]
    406 PASS event.target.result.key is testData[4]
    407 PASS event.target.result.key is testData[3]
    408 PASS event.target.result is null
    409 
    410 Next test: upper open bound is 3; sorted descending.
    411 PASS event.target.result.key is testData[2]
    412 PASS event.target.result.key is testData[1]
    413 PASS event.target.result.key is testData[0]
    414 PASS event.target.result is null
    415 
    416 Next test: upper bound is 3; sorted descending.
    417 PASS event.target.result.key is testData[3]
    418 PASS event.target.result.key is testData[2]
    419 PASS event.target.result.key is testData[1]
    420 PASS event.target.result.key is testData[0]
    421 PASS event.target.result is null
    422 
    423 Next test: lower open bound is 3; upper open bound is 6; sorted ascending.
    424 PASS event.target.result.key is testData[4]
    425 PASS event.target.result.key is testData[5]
    426 PASS event.target.result is null
    427 
    428 Next test: lower open bound is 3; upper bound is 6; sorted ascending.
    429 PASS event.target.result.key is testData[4]
    430 PASS event.target.result.key is testData[5]
    431 PASS event.target.result.key is testData[6]
    432 PASS event.target.result is null
    433 
    434 Next test: lower bound is 3; upper open bound is 6; sorted ascending.
    435 PASS event.target.result.key is testData[3]
    436 PASS event.target.result.key is testData[4]
    437 PASS event.target.result.key is testData[5]
    438 PASS event.target.result is null
    439 
    440 Next test: lower bound is 3; upper bound is 6; sorted ascending.
    441 PASS event.target.result.key is testData[3]
    442 PASS event.target.result.key is testData[4]
    443 PASS event.target.result.key is testData[5]
    444 PASS event.target.result.key is testData[6]
    445 PASS event.target.result is null
    446 
    447 Next test: lower open bound is 3; upper open bound is 6; sorted descending.
    448 PASS event.target.result.key is testData[5]
    449 PASS event.target.result.key is testData[4]
    450 PASS event.target.result is null
    451 
    452 Next test: lower open bound is 3; upper bound is 6; sorted descending.
    453 PASS event.target.result.key is testData[6]
    454 PASS event.target.result.key is testData[5]
    455 PASS event.target.result.key is testData[4]
    456 PASS event.target.result is null
    457 
    458 Next test: lower bound is 3; upper open bound is 6; sorted descending.
    459 PASS event.target.result.key is testData[5]
    460 PASS event.target.result.key is testData[4]
    461 PASS event.target.result.key is testData[3]
    462 PASS event.target.result is null
    463 
    464 Next test: lower bound is 3; upper bound is 6; sorted descending.
    465 PASS event.target.result.key is testData[6]
    466 PASS event.target.result.key is testData[5]
    467 PASS event.target.result.key is testData[4]
    468 PASS event.target.result.key is testData[3]
    469 PASS event.target.result is null
    470 
    471 Next test: lower open bound is 4; sorted ascending.
    472 PASS event.target.result.key is testData[5]
    473 PASS event.target.result.key is testData[6]
    474 PASS event.target.result is null
    475 
    476 Next test: lower bound is 4; sorted ascending.
    477 PASS event.target.result.key is testData[4]
    478 PASS event.target.result.key is testData[5]
    479 PASS event.target.result.key is testData[6]
    480 PASS event.target.result is null
    481 
    482 Next test: upper open bound is 4; sorted ascending.
    483 PASS event.target.result.key is testData[0]
    484 PASS event.target.result.key is testData[1]
    485 PASS event.target.result.key is testData[2]
    486 PASS event.target.result.key is testData[3]
    487 PASS event.target.result is null
    488 
    489 Next test: upper bound is 4; sorted ascending.
    490 PASS event.target.result.key is testData[0]
    491 PASS event.target.result.key is testData[1]
    492 PASS event.target.result.key is testData[2]
    493 PASS event.target.result.key is testData[3]
    494 PASS event.target.result.key is testData[4]
    495 PASS event.target.result is null
    496 
    497 Next test: lower open bound is 4; sorted descending.
    498 PASS event.target.result.key is testData[6]
    499 PASS event.target.result.key is testData[5]
    500 PASS event.target.result is null
    501 
    502 Next test: lower bound is 4; sorted descending.
    503 PASS event.target.result.key is testData[6]
    504 PASS event.target.result.key is testData[5]
    505 PASS event.target.result.key is testData[4]
    506 PASS event.target.result is null
    507 
    508 Next test: upper open bound is 4; sorted descending.
    509 PASS event.target.result.key is testData[3]
    510 PASS event.target.result.key is testData[2]
    511 PASS event.target.result.key is testData[1]
    512 PASS event.target.result.key is testData[0]
    513 PASS event.target.result is null
    514 
    515 Next test: upper bound is 4; sorted descending.
    516 PASS event.target.result.key is testData[4]
    517 PASS event.target.result.key is testData[3]
    518 PASS event.target.result.key is testData[2]
    519 PASS event.target.result.key is testData[1]
    520 PASS event.target.result.key is testData[0]
    521 PASS event.target.result is null
    522 
    523 Next test: lower open bound is 4; upper open bound is 6; sorted ascending.
    524 PASS event.target.result.key is testData[5]
    525 PASS event.target.result is null
    526 
    527 Next test: lower open bound is 4; upper bound is 6; sorted ascending.
    528 PASS event.target.result.key is testData[5]
    529 PASS event.target.result.key is testData[6]
    530 PASS event.target.result is null
    531 
    532 Next test: lower bound is 4; upper open bound is 6; sorted ascending.
    533 PASS event.target.result.key is testData[4]
    534 PASS event.target.result.key is testData[5]
    535 PASS event.target.result is null
    536 
    537 Next test: lower bound is 4; upper bound is 6; sorted ascending.
    538 PASS event.target.result.key is testData[4]
    539 PASS event.target.result.key is testData[5]
    540 PASS event.target.result.key is testData[6]
    541 PASS event.target.result is null
    542 
    543 Next test: lower open bound is 4; upper open bound is 6; sorted descending.
    544 PASS event.target.result.key is testData[5]
    545 PASS event.target.result is null
    546 
    547 Next test: lower open bound is 4; upper bound is 6; sorted descending.
    548 PASS event.target.result.key is testData[6]
    549 PASS event.target.result.key is testData[5]
    550 PASS event.target.result is null
    551 
    552 Next test: lower bound is 4; upper open bound is 6; sorted descending.
    553 PASS event.target.result.key is testData[5]
    554 PASS event.target.result.key is testData[4]
    555 PASS event.target.result is null
    556 
    557 Next test: lower bound is 4; upper bound is 6; sorted descending.
    558 PASS event.target.result.key is testData[6]
    559 PASS event.target.result.key is testData[5]
    560 PASS event.target.result.key is testData[4]
    561 PASS event.target.result is null
    562 
    563 Next test: lower open bound is 5; sorted ascending.
    564 PASS event.target.result.key is testData[6]
    565 PASS event.target.result is null
    566 
    567 Next test: lower bound is 5; sorted ascending.
    568 PASS event.target.result.key is testData[5]
    569 PASS event.target.result.key is testData[6]
    570 PASS event.target.result is null
    571 
    572 Next test: upper open bound is 5; sorted ascending.
    573 PASS event.target.result.key is testData[0]
    574 PASS event.target.result.key is testData[1]
    575 PASS event.target.result.key is testData[2]
    576 PASS event.target.result.key is testData[3]
    577 PASS event.target.result.key is testData[4]
    578 PASS event.target.result is null
    579 
    580 Next test: upper bound is 5; sorted ascending.
    581 PASS event.target.result.key is testData[0]
    582 PASS event.target.result.key is testData[1]
    583 PASS event.target.result.key is testData[2]
    584 PASS event.target.result.key is testData[3]
    585 PASS event.target.result.key is testData[4]
    586 PASS event.target.result.key is testData[5]
    587 PASS event.target.result is null
    588 
    589 Next test: lower open bound is 5; sorted descending.
    590 PASS event.target.result.key is testData[6]
    591 PASS event.target.result is null
    592 
    593 Next test: lower bound is 5; sorted descending.
    594 PASS event.target.result.key is testData[6]
    595 PASS event.target.result.key is testData[5]
    596 PASS event.target.result is null
    597 
    598 Next test: upper open bound is 5; sorted descending.
    599 PASS event.target.result.key is testData[4]
    600 PASS event.target.result.key is testData[3]
    601 PASS event.target.result.key is testData[2]
    602 PASS event.target.result.key is testData[1]
    603 PASS event.target.result.key is testData[0]
    604 PASS event.target.result is null
    605 
    606 Next test: upper bound is 5; sorted descending.
    607 PASS event.target.result.key is testData[5]
    608 PASS event.target.result.key is testData[4]
    609 PASS event.target.result.key is testData[3]
    610 PASS event.target.result.key is testData[2]
    611 PASS event.target.result.key is testData[1]
    612 PASS event.target.result.key is testData[0]
    613 PASS event.target.result is null
    614 
    615 Next test: lower open bound is 5; upper open bound is 6; sorted ascending.
    616 PASS event.target.result is null
    617 
    618 Next test: lower open bound is 5; upper bound is 6; sorted ascending.
    619 PASS event.target.result.key is testData[6]
    620 PASS event.target.result is null
    621 
    622 Next test: lower bound is 5; upper open bound is 6; sorted ascending.
    623 PASS event.target.result.key is testData[5]
    624 PASS event.target.result is null
    625 
    626 Next test: lower bound is 5; upper bound is 6; sorted ascending.
    627 PASS event.target.result.key is testData[5]
    628 PASS event.target.result.key is testData[6]
    629 PASS event.target.result is null
    630 
    631 Next test: lower open bound is 5; upper open bound is 6; sorted descending.
    632 PASS event.target.result is null
    633 
    634 Next test: lower open bound is 5; upper bound is 6; sorted descending.
    635 PASS event.target.result.key is testData[6]
    636 PASS event.target.result is null
    637 
    638 Next test: lower bound is 5; upper open bound is 6; sorted descending.
    639 PASS event.target.result.key is testData[5]
    640 PASS event.target.result is null
    641 
    642 Next test: lower bound is 5; upper bound is 6; sorted descending.
    643 PASS event.target.result.key is testData[6]
    644 PASS event.target.result.key is testData[5]
    645 PASS event.target.result is null
    646 
    647 Next test: lower open bound is 6; sorted ascending.
    648 PASS event.target.result is null
    649 
    650 Next test: lower bound is 6; sorted ascending.
    651 PASS event.target.result.key is testData[6]
    652 PASS event.target.result is null
    653 
    654 Next test: upper open bound is 6; sorted ascending.
    655 PASS event.target.result.key is testData[0]
    656 PASS event.target.result.key is testData[1]
    657 PASS event.target.result.key is testData[2]
    658 PASS event.target.result.key is testData[3]
    659 PASS event.target.result.key is testData[4]
    660 PASS event.target.result.key is testData[5]
    661 PASS event.target.result is null
    662 
    663 Next test: upper bound is 6; sorted ascending.
    664 PASS event.target.result.key is testData[0]
    665 PASS event.target.result.key is testData[1]
    666 PASS event.target.result.key is testData[2]
    667 PASS event.target.result.key is testData[3]
    668 PASS event.target.result.key is testData[4]
    669 PASS event.target.result.key is testData[5]
    670 PASS event.target.result.key is testData[6]
    671 PASS event.target.result is null
    672 
    673 Next test: lower open bound is 6; sorted descending.
    674 PASS event.target.result is null
    675 
    676 Next test: lower bound is 6; sorted descending.
    677 PASS event.target.result.key is testData[6]
    678 PASS event.target.result is null
    679 
    680 Next test: upper open bound is 6; sorted descending.
    681 PASS event.target.result.key is testData[5]
    682 PASS event.target.result.key is testData[4]
    683 PASS event.target.result.key is testData[3]
    684 PASS event.target.result.key is testData[2]
    685 PASS event.target.result.key is testData[1]
    686 PASS event.target.result.key is testData[0]
    687 PASS event.target.result is null
    688 
    689 Next test: upper bound is 6; sorted descending.
    690 PASS event.target.result.key is testData[6]
    691 PASS event.target.result.key is testData[5]
    692 PASS event.target.result.key is testData[4]
    693 PASS event.target.result.key is testData[3]
    694 PASS event.target.result.key is testData[2]
    695 PASS event.target.result.key is testData[1]
    696 PASS event.target.result.key is testData[0]
    697 PASS event.target.result is null
    698 
    699 Next test: lower open bound is 6; upper open bound is 6; sorted ascending.
    700 PASS event.target.result is null
    701 
    702 Next test: lower open bound is 6; upper bound is 6; sorted ascending.
    703 PASS event.target.result is null
    704 
    705 Next test: lower bound is 6; upper open bound is 6; sorted ascending.
    706 PASS event.target.result is null
    707 
    708 Next test: lower bound is 6; upper bound is 6; sorted ascending.
    709 PASS event.target.result.key is testData[6]
    710 PASS event.target.result is null
    711 
    712 Next test: lower open bound is 6; upper open bound is 6; sorted descending.
    713 PASS event.target.result is null
    714 
    715 Next test: lower open bound is 6; upper bound is 6; sorted descending.
    716 PASS event.target.result is null
    717 
    718 Next test: lower bound is 6; upper open bound is 6; sorted descending.
    719 PASS event.target.result is null
    720 
    721 Next test: lower bound is 6; upper bound is 6; sorted descending.
    722 PASS event.target.result.key is testData[6]
    723 PASS event.target.result is null
    724 
    725 Next test: null key path sorted ascending.
    726 PASS event.target.result.key is testData[0]
    727 PASS event.target.result.key is testData[1]
    728 PASS event.target.result.key is testData[2]
    729 PASS event.target.result.key is testData[3]
    730 PASS event.target.result.key is testData[4]
    731 PASS event.target.result.key is testData[5]
    732 PASS event.target.result.key is testData[6]
    733 PASS event.target.result is null
    734 
    735 Next test: null key path sorted descending.
    736 PASS event.target.result.key is testData[6]
    737 PASS event.target.result.key is testData[5]
    738 PASS event.target.result.key is testData[4]
    739 PASS event.target.result.key is testData[3]
    740 PASS event.target.result.key is testData[2]
    741 PASS event.target.result.key is testData[1]
    742 PASS event.target.result.key is testData[0]
    743 PASS event.target.result is null
    744 PASS successfullyParsed is true
    745 
    746 TEST COMPLETE
    747 
    748