| OLD | NEW |
| 1 Test IndexedDB key comparison using IDBFactory.cmp(). | 1 Test IndexedDB key comparison using IDBFactory.cmp(). |
| 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 typeof indexedDB.cmp is "function" | 8 PASS typeof indexedDB.cmp is "function" |
| 9 | 9 |
| 10 compare valid keys | 10 compare valid keys |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 PASS indexedDB.cmp([[[]]],[[[[]]]]) is -1 | 203 PASS indexedDB.cmp([[[]]],[[[[]]]]) is -1 |
| 204 PASS indexedDB.cmp([[[[]]]],[[[]]]) is 1 | 204 PASS indexedDB.cmp([[[[]]]],[[[]]]) is 1 |
| 205 PASS indexedDB.cmp([[[]]],[[[]]]) is 0 | 205 PASS indexedDB.cmp([[[]]],[[[]]]) is 0 |
| 206 PASS indexedDB.cmp([[[[]]]],[[[[]]]]) is 0 | 206 PASS indexedDB.cmp([[[[]]]],[[[[]]]]) is 0 |
| 207 | 207 |
| 208 compare invalid keys | 208 compare invalid keys |
| 209 Expecting exception from indexedDB.cmp(void 0, true) | 209 Expecting exception from indexedDB.cmp(void 0, true) |
| 210 PASS Exception was thrown. | 210 PASS Exception was thrown. |
| 211 PASS code is 0 | 211 PASS code is 0 |
| 212 PASS ename is 'DataError' | 212 PASS ename is 'DataError' |
| 213 Exception message: The parameter is not a valid key. | 213 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 214 Expecting exception from indexedDB.cmp(true, void 0) | 214 Expecting exception from indexedDB.cmp(true, void 0) |
| 215 PASS Exception was thrown. | 215 PASS Exception was thrown. |
| 216 PASS code is 0 | 216 PASS code is 0 |
| 217 PASS ename is 'DataError' | 217 PASS ename is 'DataError' |
| 218 Exception message: The parameter is not a valid key. | 218 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 219 Expecting exception from indexedDB.cmp(void 0, 'valid') | 219 Expecting exception from indexedDB.cmp(void 0, 'valid') |
| 220 PASS Exception was thrown. | 220 PASS Exception was thrown. |
| 221 PASS code is 0 | 221 PASS code is 0 |
| 222 PASS ename is 'DataError' | 222 PASS ename is 'DataError' |
| 223 Exception message: The parameter is not a valid key. | 223 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 224 Expecting exception from indexedDB.cmp('valid', void 0) | 224 Expecting exception from indexedDB.cmp('valid', void 0) |
| 225 PASS Exception was thrown. | 225 PASS Exception was thrown. |
| 226 PASS code is 0 | 226 PASS code is 0 |
| 227 PASS ename is 'DataError' | 227 PASS ename is 'DataError' |
| 228 Exception message: The parameter is not a valid key. | 228 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 229 Expecting exception from indexedDB.cmp(true, 'valid') | 229 Expecting exception from indexedDB.cmp(true, 'valid') |
| 230 PASS Exception was thrown. | 230 PASS Exception was thrown. |
| 231 PASS code is 0 | 231 PASS code is 0 |
| 232 PASS ename is 'DataError' | 232 PASS ename is 'DataError' |
| 233 Exception message: The parameter is not a valid key. | 233 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 234 Expecting exception from indexedDB.cmp('valid', true) | 234 Expecting exception from indexedDB.cmp('valid', true) |
| 235 PASS Exception was thrown. | 235 PASS Exception was thrown. |
| 236 PASS code is 0 | 236 PASS code is 0 |
| 237 PASS ename is 'DataError' | 237 PASS ename is 'DataError' |
| 238 Exception message: The parameter is not a valid key. | 238 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 239 Expecting exception from indexedDB.cmp(true, false) | 239 Expecting exception from indexedDB.cmp(true, false) |
| 240 PASS Exception was thrown. | 240 PASS Exception was thrown. |
| 241 PASS code is 0 | 241 PASS code is 0 |
| 242 PASS ename is 'DataError' | 242 PASS ename is 'DataError' |
| 243 Exception message: The parameter is not a valid key. | 243 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 244 Expecting exception from indexedDB.cmp(false, true) | 244 Expecting exception from indexedDB.cmp(false, true) |
| 245 PASS Exception was thrown. | 245 PASS Exception was thrown. |
| 246 PASS code is 0 | 246 PASS code is 0 |
| 247 PASS ename is 'DataError' | 247 PASS ename is 'DataError' |
| 248 Exception message: The parameter is not a valid key. | 248 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 249 Expecting exception from indexedDB.cmp(true, 'valid') | 249 Expecting exception from indexedDB.cmp(true, 'valid') |
| 250 PASS Exception was thrown. | 250 PASS Exception was thrown. |
| 251 PASS code is 0 | 251 PASS code is 0 |
| 252 PASS ename is 'DataError' | 252 PASS ename is 'DataError' |
| 253 Exception message: The parameter is not a valid key. | 253 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 254 Expecting exception from indexedDB.cmp('valid', true) | 254 Expecting exception from indexedDB.cmp('valid', true) |
| 255 PASS Exception was thrown. | 255 PASS Exception was thrown. |
| 256 PASS code is 0 | 256 PASS code is 0 |
| 257 PASS ename is 'DataError' | 257 PASS ename is 'DataError' |
| 258 Exception message: The parameter is not a valid key. | 258 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 259 Expecting exception from indexedDB.cmp(false, 'valid') | 259 Expecting exception from indexedDB.cmp(false, 'valid') |
| 260 PASS Exception was thrown. | 260 PASS Exception was thrown. |
| 261 PASS code is 0 | 261 PASS code is 0 |
| 262 PASS ename is 'DataError' | 262 PASS ename is 'DataError' |
| 263 Exception message: The parameter is not a valid key. | 263 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 264 Expecting exception from indexedDB.cmp('valid', false) | 264 Expecting exception from indexedDB.cmp('valid', false) |
| 265 PASS Exception was thrown. | 265 PASS Exception was thrown. |
| 266 PASS code is 0 | 266 PASS code is 0 |
| 267 PASS ename is 'DataError' | 267 PASS ename is 'DataError' |
| 268 Exception message: The parameter is not a valid key. | 268 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 269 Expecting exception from indexedDB.cmp(false, NaN) | 269 Expecting exception from indexedDB.cmp(false, NaN) |
| 270 PASS Exception was thrown. | 270 PASS Exception was thrown. |
| 271 PASS code is 0 | 271 PASS code is 0 |
| 272 PASS ename is 'DataError' | 272 PASS ename is 'DataError' |
| 273 Exception message: The parameter is not a valid key. | 273 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 274 Expecting exception from indexedDB.cmp(NaN, false) | 274 Expecting exception from indexedDB.cmp(NaN, false) |
| 275 PASS Exception was thrown. | 275 PASS Exception was thrown. |
| 276 PASS code is 0 | 276 PASS code is 0 |
| 277 PASS ename is 'DataError' | 277 PASS ename is 'DataError' |
| 278 Exception message: The parameter is not a valid key. | 278 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 279 Expecting exception from indexedDB.cmp(false, 'valid') | 279 Expecting exception from indexedDB.cmp(false, 'valid') |
| 280 PASS Exception was thrown. | 280 PASS Exception was thrown. |
| 281 PASS code is 0 | 281 PASS code is 0 |
| 282 PASS ename is 'DataError' | 282 PASS ename is 'DataError' |
| 283 Exception message: The parameter is not a valid key. | 283 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 284 Expecting exception from indexedDB.cmp('valid', false) | 284 Expecting exception from indexedDB.cmp('valid', false) |
| 285 PASS Exception was thrown. | 285 PASS Exception was thrown. |
| 286 PASS code is 0 | 286 PASS code is 0 |
| 287 PASS ename is 'DataError' | 287 PASS ename is 'DataError' |
| 288 Exception message: The parameter is not a valid key. | 288 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 289 Expecting exception from indexedDB.cmp(NaN, 'valid') | 289 Expecting exception from indexedDB.cmp(NaN, 'valid') |
| 290 PASS Exception was thrown. | 290 PASS Exception was thrown. |
| 291 PASS code is 0 | 291 PASS code is 0 |
| 292 PASS ename is 'DataError' | 292 PASS ename is 'DataError' |
| 293 Exception message: The parameter is not a valid key. | 293 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 294 Expecting exception from indexedDB.cmp('valid', NaN) | 294 Expecting exception from indexedDB.cmp('valid', NaN) |
| 295 PASS Exception was thrown. | 295 PASS Exception was thrown. |
| 296 PASS code is 0 | 296 PASS code is 0 |
| 297 PASS ename is 'DataError' | 297 PASS ename is 'DataError' |
| 298 Exception message: The parameter is not a valid key. | 298 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 299 Expecting exception from indexedDB.cmp(NaN, new Date(NaN)) | 299 Expecting exception from indexedDB.cmp(NaN, new Date(NaN)) |
| 300 PASS Exception was thrown. | 300 PASS Exception was thrown. |
| 301 PASS code is 0 | 301 PASS code is 0 |
| 302 PASS ename is 'DataError' | 302 PASS ename is 'DataError' |
| 303 Exception message: The parameter is not a valid key. | 303 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 304 Expecting exception from indexedDB.cmp(new Date(NaN), NaN) | 304 Expecting exception from indexedDB.cmp(new Date(NaN), NaN) |
| 305 PASS Exception was thrown. | 305 PASS Exception was thrown. |
| 306 PASS code is 0 | 306 PASS code is 0 |
| 307 PASS ename is 'DataError' | 307 PASS ename is 'DataError' |
| 308 Exception message: The parameter is not a valid key. | 308 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 309 Expecting exception from indexedDB.cmp(NaN, 'valid') | 309 Expecting exception from indexedDB.cmp(NaN, 'valid') |
| 310 PASS Exception was thrown. | 310 PASS Exception was thrown. |
| 311 PASS code is 0 | 311 PASS code is 0 |
| 312 PASS ename is 'DataError' | 312 PASS ename is 'DataError' |
| 313 Exception message: The parameter is not a valid key. | 313 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 314 Expecting exception from indexedDB.cmp('valid', NaN) | 314 Expecting exception from indexedDB.cmp('valid', NaN) |
| 315 PASS Exception was thrown. | 315 PASS Exception was thrown. |
| 316 PASS code is 0 | 316 PASS code is 0 |
| 317 PASS ename is 'DataError' | 317 PASS ename is 'DataError' |
| 318 Exception message: The parameter is not a valid key. | 318 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 319 Expecting exception from indexedDB.cmp(new Date(NaN), 'valid') | 319 Expecting exception from indexedDB.cmp(new Date(NaN), 'valid') |
| 320 PASS Exception was thrown. | 320 PASS Exception was thrown. |
| 321 PASS code is 0 | 321 PASS code is 0 |
| 322 PASS ename is 'DataError' | 322 PASS ename is 'DataError' |
| 323 Exception message: The parameter is not a valid key. | 323 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 324 Expecting exception from indexedDB.cmp('valid', new Date(NaN)) | 324 Expecting exception from indexedDB.cmp('valid', new Date(NaN)) |
| 325 PASS Exception was thrown. | 325 PASS Exception was thrown. |
| 326 PASS code is 0 | 326 PASS code is 0 |
| 327 PASS ename is 'DataError' | 327 PASS ename is 'DataError' |
| 328 Exception message: The parameter is not a valid key. | 328 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 329 Expecting exception from indexedDB.cmp(new Date(NaN), null) | 329 Expecting exception from indexedDB.cmp(new Date(NaN), null) |
| 330 PASS Exception was thrown. | 330 PASS Exception was thrown. |
| 331 PASS code is 0 | 331 PASS code is 0 |
| 332 PASS ename is 'DataError' | 332 PASS ename is 'DataError' |
| 333 Exception message: The parameter is not a valid key. | 333 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 334 Expecting exception from indexedDB.cmp(null, new Date(NaN)) | 334 Expecting exception from indexedDB.cmp(null, new Date(NaN)) |
| 335 PASS Exception was thrown. | 335 PASS Exception was thrown. |
| 336 PASS code is 0 | 336 PASS code is 0 |
| 337 PASS ename is 'DataError' | 337 PASS ename is 'DataError' |
| 338 Exception message: The parameter is not a valid key. | 338 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 339 Expecting exception from indexedDB.cmp(new Date(NaN), 'valid') | 339 Expecting exception from indexedDB.cmp(new Date(NaN), 'valid') |
| 340 PASS Exception was thrown. | 340 PASS Exception was thrown. |
| 341 PASS code is 0 | 341 PASS code is 0 |
| 342 PASS ename is 'DataError' | 342 PASS ename is 'DataError' |
| 343 Exception message: The parameter is not a valid key. | 343 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 344 Expecting exception from indexedDB.cmp('valid', new Date(NaN)) | 344 Expecting exception from indexedDB.cmp('valid', new Date(NaN)) |
| 345 PASS Exception was thrown. | 345 PASS Exception was thrown. |
| 346 PASS code is 0 | 346 PASS code is 0 |
| 347 PASS ename is 'DataError' | 347 PASS ename is 'DataError' |
| 348 Exception message: The parameter is not a valid key. | 348 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 349 Expecting exception from indexedDB.cmp(null, 'valid') | 349 Expecting exception from indexedDB.cmp(null, 'valid') |
| 350 PASS Exception was thrown. | 350 PASS Exception was thrown. |
| 351 PASS code is 0 | 351 PASS code is 0 |
| 352 PASS ename is 'DataError' | 352 PASS ename is 'DataError' |
| 353 Exception message: The parameter is not a valid key. | 353 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 354 Expecting exception from indexedDB.cmp('valid', null) | 354 Expecting exception from indexedDB.cmp('valid', null) |
| 355 PASS Exception was thrown. | 355 PASS Exception was thrown. |
| 356 PASS code is 0 | 356 PASS code is 0 |
| 357 PASS ename is 'DataError' | 357 PASS ename is 'DataError' |
| 358 Exception message: The parameter is not a valid key. | 358 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 359 Expecting exception from indexedDB.cmp(null, {}) | 359 Expecting exception from indexedDB.cmp(null, {}) |
| 360 PASS Exception was thrown. | 360 PASS Exception was thrown. |
| 361 PASS code is 0 | 361 PASS code is 0 |
| 362 PASS ename is 'DataError' | 362 PASS ename is 'DataError' |
| 363 Exception message: The parameter is not a valid key. | 363 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 364 Expecting exception from indexedDB.cmp({}, null) | 364 Expecting exception from indexedDB.cmp({}, null) |
| 365 PASS Exception was thrown. | 365 PASS Exception was thrown. |
| 366 PASS code is 0 | 366 PASS code is 0 |
| 367 PASS ename is 'DataError' | 367 PASS ename is 'DataError' |
| 368 Exception message: The parameter is not a valid key. | 368 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 369 Expecting exception from indexedDB.cmp(null, 'valid') | 369 Expecting exception from indexedDB.cmp(null, 'valid') |
| 370 PASS Exception was thrown. | 370 PASS Exception was thrown. |
| 371 PASS code is 0 | 371 PASS code is 0 |
| 372 PASS ename is 'DataError' | 372 PASS ename is 'DataError' |
| 373 Exception message: The parameter is not a valid key. | 373 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 374 Expecting exception from indexedDB.cmp('valid', null) | 374 Expecting exception from indexedDB.cmp('valid', null) |
| 375 PASS Exception was thrown. | 375 PASS Exception was thrown. |
| 376 PASS code is 0 | 376 PASS code is 0 |
| 377 PASS ename is 'DataError' | 377 PASS ename is 'DataError' |
| 378 Exception message: The parameter is not a valid key. | 378 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 379 Expecting exception from indexedDB.cmp({}, 'valid') | 379 Expecting exception from indexedDB.cmp({}, 'valid') |
| 380 PASS Exception was thrown. | 380 PASS Exception was thrown. |
| 381 PASS code is 0 | 381 PASS code is 0 |
| 382 PASS ename is 'DataError' | 382 PASS ename is 'DataError' |
| 383 Exception message: The parameter is not a valid key. | 383 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 384 Expecting exception from indexedDB.cmp('valid', {}) | 384 Expecting exception from indexedDB.cmp('valid', {}) |
| 385 PASS Exception was thrown. | 385 PASS Exception was thrown. |
| 386 PASS code is 0 | 386 PASS code is 0 |
| 387 PASS ename is 'DataError' | 387 PASS ename is 'DataError' |
| 388 Exception message: The parameter is not a valid key. | 388 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 389 Expecting exception from indexedDB.cmp({}, function () {}) | 389 Expecting exception from indexedDB.cmp({}, function () {}) |
| 390 PASS Exception was thrown. | 390 PASS Exception was thrown. |
| 391 PASS code is 0 | 391 PASS code is 0 |
| 392 PASS ename is 'DataError' | 392 PASS ename is 'DataError' |
| 393 Exception message: The parameter is not a valid key. | 393 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 394 Expecting exception from indexedDB.cmp(function () {}, {}) | 394 Expecting exception from indexedDB.cmp(function () {}, {}) |
| 395 PASS Exception was thrown. | 395 PASS Exception was thrown. |
| 396 PASS code is 0 | 396 PASS code is 0 |
| 397 PASS ename is 'DataError' | 397 PASS ename is 'DataError' |
| 398 Exception message: The parameter is not a valid key. | 398 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 399 Expecting exception from indexedDB.cmp({}, 'valid') | 399 Expecting exception from indexedDB.cmp({}, 'valid') |
| 400 PASS Exception was thrown. | 400 PASS Exception was thrown. |
| 401 PASS code is 0 | 401 PASS code is 0 |
| 402 PASS ename is 'DataError' | 402 PASS ename is 'DataError' |
| 403 Exception message: The parameter is not a valid key. | 403 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 404 Expecting exception from indexedDB.cmp('valid', {}) | 404 Expecting exception from indexedDB.cmp('valid', {}) |
| 405 PASS Exception was thrown. | 405 PASS Exception was thrown. |
| 406 PASS code is 0 | 406 PASS code is 0 |
| 407 PASS ename is 'DataError' | 407 PASS ename is 'DataError' |
| 408 Exception message: The parameter is not a valid key. | 408 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 409 Expecting exception from indexedDB.cmp(function () {}, 'valid') | 409 Expecting exception from indexedDB.cmp(function () {}, 'valid') |
| 410 PASS Exception was thrown. | 410 PASS Exception was thrown. |
| 411 PASS code is 0 | 411 PASS code is 0 |
| 412 PASS ename is 'DataError' | 412 PASS ename is 'DataError' |
| 413 Exception message: The parameter is not a valid key. | 413 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 414 Expecting exception from indexedDB.cmp('valid', function () {}) | 414 Expecting exception from indexedDB.cmp('valid', function () {}) |
| 415 PASS Exception was thrown. | 415 PASS Exception was thrown. |
| 416 PASS code is 0 | 416 PASS code is 0 |
| 417 PASS ename is 'DataError' | 417 PASS ename is 'DataError' |
| 418 Exception message: The parameter is not a valid key. | 418 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 419 Expecting exception from indexedDB.cmp(function () {}, /regex/) | 419 Expecting exception from indexedDB.cmp(function () {}, /regex/) |
| 420 PASS Exception was thrown. | 420 PASS Exception was thrown. |
| 421 PASS code is 0 | 421 PASS code is 0 |
| 422 PASS ename is 'DataError' | 422 PASS ename is 'DataError' |
| 423 Exception message: The parameter is not a valid key. | 423 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 424 Expecting exception from indexedDB.cmp(/regex/, function () {}) | 424 Expecting exception from indexedDB.cmp(/regex/, function () {}) |
| 425 PASS Exception was thrown. | 425 PASS Exception was thrown. |
| 426 PASS code is 0 | 426 PASS code is 0 |
| 427 PASS ename is 'DataError' | 427 PASS ename is 'DataError' |
| 428 Exception message: The parameter is not a valid key. | 428 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 429 Expecting exception from indexedDB.cmp(function () {}, 'valid') | 429 Expecting exception from indexedDB.cmp(function () {}, 'valid') |
| 430 PASS Exception was thrown. | 430 PASS Exception was thrown. |
| 431 PASS code is 0 | 431 PASS code is 0 |
| 432 PASS ename is 'DataError' | 432 PASS ename is 'DataError' |
| 433 Exception message: The parameter is not a valid key. | 433 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 434 Expecting exception from indexedDB.cmp('valid', function () {}) | 434 Expecting exception from indexedDB.cmp('valid', function () {}) |
| 435 PASS Exception was thrown. | 435 PASS Exception was thrown. |
| 436 PASS code is 0 | 436 PASS code is 0 |
| 437 PASS ename is 'DataError' | 437 PASS ename is 'DataError' |
| 438 Exception message: The parameter is not a valid key. | 438 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 439 Expecting exception from indexedDB.cmp(/regex/, 'valid') | 439 Expecting exception from indexedDB.cmp(/regex/, 'valid') |
| 440 PASS Exception was thrown. | 440 PASS Exception was thrown. |
| 441 PASS code is 0 | 441 PASS code is 0 |
| 442 PASS ename is 'DataError' | 442 PASS ename is 'DataError' |
| 443 Exception message: The parameter is not a valid key. | 443 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 444 Expecting exception from indexedDB.cmp('valid', /regex/) | 444 Expecting exception from indexedDB.cmp('valid', /regex/) |
| 445 PASS Exception was thrown. | 445 PASS Exception was thrown. |
| 446 PASS code is 0 | 446 PASS code is 0 |
| 447 PASS ename is 'DataError' | 447 PASS ename is 'DataError' |
| 448 Exception message: The parameter is not a valid key. | 448 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 449 Expecting exception from indexedDB.cmp(/regex/, self) | 449 Expecting exception from indexedDB.cmp(/regex/, self) |
| 450 PASS Exception was thrown. | 450 PASS Exception was thrown. |
| 451 PASS code is 0 | 451 PASS code is 0 |
| 452 PASS ename is 'DataError' | 452 PASS ename is 'DataError' |
| 453 Exception message: The parameter is not a valid key. | 453 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 454 Expecting exception from indexedDB.cmp(self, /regex/) | 454 Expecting exception from indexedDB.cmp(self, /regex/) |
| 455 PASS Exception was thrown. | 455 PASS Exception was thrown. |
| 456 PASS code is 0 | 456 PASS code is 0 |
| 457 PASS ename is 'DataError' | 457 PASS ename is 'DataError' |
| 458 Exception message: The parameter is not a valid key. | 458 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 459 Expecting exception from indexedDB.cmp(/regex/, 'valid') | 459 Expecting exception from indexedDB.cmp(/regex/, 'valid') |
| 460 PASS Exception was thrown. | 460 PASS Exception was thrown. |
| 461 PASS code is 0 | 461 PASS code is 0 |
| 462 PASS ename is 'DataError' | 462 PASS ename is 'DataError' |
| 463 Exception message: The parameter is not a valid key. | 463 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 464 Expecting exception from indexedDB.cmp('valid', /regex/) | 464 Expecting exception from indexedDB.cmp('valid', /regex/) |
| 465 PASS Exception was thrown. | 465 PASS Exception was thrown. |
| 466 PASS code is 0 | 466 PASS code is 0 |
| 467 PASS ename is 'DataError' | 467 PASS ename is 'DataError' |
| 468 Exception message: The parameter is not a valid key. | 468 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 469 Expecting exception from indexedDB.cmp(self, 'valid') | 469 Expecting exception from indexedDB.cmp(self, 'valid') |
| 470 PASS Exception was thrown. | 470 PASS Exception was thrown. |
| 471 PASS code is 0 | 471 PASS code is 0 |
| 472 PASS ename is 'DataError' | 472 PASS ename is 'DataError' |
| 473 Exception message: The parameter is not a valid key. | 473 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 474 Expecting exception from indexedDB.cmp('valid', self) | 474 Expecting exception from indexedDB.cmp('valid', self) |
| 475 PASS Exception was thrown. | 475 PASS Exception was thrown. |
| 476 PASS code is 0 | 476 PASS code is 0 |
| 477 PASS ename is 'DataError' | 477 PASS ename is 'DataError' |
| 478 Exception message: The parameter is not a valid key. | 478 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 479 Expecting exception from indexedDB.cmp(self, self.document) | 479 Expecting exception from indexedDB.cmp(self, self.document) |
| 480 PASS Exception was thrown. | 480 PASS Exception was thrown. |
| 481 PASS code is 0 | 481 PASS code is 0 |
| 482 PASS ename is 'DataError' | 482 PASS ename is 'DataError' |
| 483 Exception message: The parameter is not a valid key. | 483 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 484 Expecting exception from indexedDB.cmp(self.document, self) | 484 Expecting exception from indexedDB.cmp(self.document, self) |
| 485 PASS Exception was thrown. | 485 PASS Exception was thrown. |
| 486 PASS code is 0 | 486 PASS code is 0 |
| 487 PASS ename is 'DataError' | 487 PASS ename is 'DataError' |
| 488 Exception message: The parameter is not a valid key. | 488 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 489 Expecting exception from indexedDB.cmp(self, 'valid') | 489 Expecting exception from indexedDB.cmp(self, 'valid') |
| 490 PASS Exception was thrown. | 490 PASS Exception was thrown. |
| 491 PASS code is 0 | 491 PASS code is 0 |
| 492 PASS ename is 'DataError' | 492 PASS ename is 'DataError' |
| 493 Exception message: The parameter is not a valid key. | 493 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 494 Expecting exception from indexedDB.cmp('valid', self) | 494 Expecting exception from indexedDB.cmp('valid', self) |
| 495 PASS Exception was thrown. | 495 PASS Exception was thrown. |
| 496 PASS code is 0 | 496 PASS code is 0 |
| 497 PASS ename is 'DataError' | 497 PASS ename is 'DataError' |
| 498 Exception message: The parameter is not a valid key. | 498 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 499 Expecting exception from indexedDB.cmp(self.document, 'valid') | 499 Expecting exception from indexedDB.cmp(self.document, 'valid') |
| 500 PASS Exception was thrown. | 500 PASS Exception was thrown. |
| 501 PASS code is 0 | 501 PASS code is 0 |
| 502 PASS ename is 'DataError' | 502 PASS ename is 'DataError' |
| 503 Exception message: The parameter is not a valid key. | 503 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 504 Expecting exception from indexedDB.cmp('valid', self.document) | 504 Expecting exception from indexedDB.cmp('valid', self.document) |
| 505 PASS Exception was thrown. | 505 PASS Exception was thrown. |
| 506 PASS code is 0 | 506 PASS code is 0 |
| 507 PASS ename is 'DataError' | 507 PASS ename is 'DataError' |
| 508 Exception message: The parameter is not a valid key. | 508 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 509 Expecting exception from indexedDB.cmp(self.document, self.document.body) | 509 Expecting exception from indexedDB.cmp(self.document, self.document.body) |
| 510 PASS Exception was thrown. | 510 PASS Exception was thrown. |
| 511 PASS code is 0 | 511 PASS code is 0 |
| 512 PASS ename is 'DataError' | 512 PASS ename is 'DataError' |
| 513 Exception message: The parameter is not a valid key. | 513 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 514 Expecting exception from indexedDB.cmp(self.document.body, self.document) | 514 Expecting exception from indexedDB.cmp(self.document.body, self.document) |
| 515 PASS Exception was thrown. | 515 PASS Exception was thrown. |
| 516 PASS code is 0 | 516 PASS code is 0 |
| 517 PASS ename is 'DataError' | 517 PASS ename is 'DataError' |
| 518 Exception message: The parameter is not a valid key. | 518 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 519 Expecting exception from indexedDB.cmp(self.document, 'valid') | 519 Expecting exception from indexedDB.cmp(self.document, 'valid') |
| 520 PASS Exception was thrown. | 520 PASS Exception was thrown. |
| 521 PASS code is 0 | 521 PASS code is 0 |
| 522 PASS ename is 'DataError' | 522 PASS ename is 'DataError' |
| 523 Exception message: The parameter is not a valid key. | 523 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 524 Expecting exception from indexedDB.cmp('valid', self.document) | 524 Expecting exception from indexedDB.cmp('valid', self.document) |
| 525 PASS Exception was thrown. | 525 PASS Exception was thrown. |
| 526 PASS code is 0 | 526 PASS code is 0 |
| 527 PASS ename is 'DataError' | 527 PASS ename is 'DataError' |
| 528 Exception message: The parameter is not a valid key. | 528 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 529 Expecting exception from indexedDB.cmp(self.document.body, 'valid') | 529 Expecting exception from indexedDB.cmp(self.document.body, 'valid') |
| 530 PASS Exception was thrown. | 530 PASS Exception was thrown. |
| 531 PASS code is 0 | 531 PASS code is 0 |
| 532 PASS ename is 'DataError' | 532 PASS ename is 'DataError' |
| 533 Exception message: The parameter is not a valid key. | 533 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 534 Expecting exception from indexedDB.cmp('valid', self.document.body) | 534 Expecting exception from indexedDB.cmp('valid', self.document.body) |
| 535 PASS Exception was thrown. | 535 PASS Exception was thrown. |
| 536 PASS code is 0 | 536 PASS code is 0 |
| 537 PASS ename is 'DataError' | 537 PASS ename is 'DataError' |
| 538 Exception message: The parameter is not a valid key. | 538 Exception message: Failed to execute 'cmp' on 'IDBFactory': The parameter is not
a valid key. |
| 539 | 539 |
| 540 compare identical keys | 540 compare identical keys |
| 541 PASS indexedDB.cmp(0, -0) is 0 | 541 PASS indexedDB.cmp(0, -0) is 0 |
| 542 PASS successfullyParsed is true | 542 PASS successfullyParsed is true |
| 543 | 543 |
| 544 TEST COMPLETE | 544 TEST COMPLETE |
| 545 | 545 |
| OLD | NEW |