OLD | NEW |
1 CONSOLE ERROR: line 8: The given range isn't in document. | 1 CONSOLE ERROR: line 8: The given range isn't in document. |
2 CONSOLE ERROR: line 8: The given range isn't in document. | 2 CONSOLE ERROR: line 8: The given range isn't in document. |
3 CONSOLE ERROR: line 8: The given range isn't in document. | 3 CONSOLE ERROR: line 8: The given range isn't in document. |
4 CONSOLE ERROR: line 8: The given range isn't in document. | 4 CONSOLE ERROR: line 8: The given range isn't in document. |
5 CONSOLE ERROR: line 8: The given range isn't in document. | 5 CONSOLE ERROR: line 8: The given range isn't in document. |
6 CONSOLE ERROR: line 8: The given range isn't in document. | 6 CONSOLE ERROR: line 8: The given range isn't in document. |
7 CONSOLE ERROR: line 8: The given range isn't in document. | 7 CONSOLE ERROR: line 8: The given range isn't in document. |
8 CONSOLE ERROR: line 8: The given range isn't in document. | 8 CONSOLE ERROR: line 8: The given range isn't in document. |
9 CONSOLE ERROR: line 8: The given range isn't in document. | 9 CONSOLE ERROR: line 8: The given range isn't in document. |
10 CONSOLE ERROR: line 8: The given range isn't in document. | 10 CONSOLE ERROR: line 8: The given range isn't in document. |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 13 [paras[1].firstChi
ld, 9] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | 400 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 13 [paras[1].firstChi
ld, 9] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop |
401 " but got Text node "Qrstuvwx" | 401 " but got Text node "Qrstuvwx" |
402 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 14 [paras[1].firstChi
ld, 10] | 402 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 14 [paras[1].firstChi
ld, 10] |
403 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 15 [paras[1].firstChi
ld, 65535] | 403 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 15 [paras[1].firstChi
ld, 65535] |
404 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 404 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
405 " | 405 " |
406 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 406 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
407 " | 407 " |
408 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 408 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
409 " | 409 " |
410 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 19 [detachedPara1.fir
stChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the o
ffset is negative or greater than the node's length function "function () { | 410 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 19 [detachedPara1.fir
stChild, 9] |
411 selection.collapse(point[0], point[1]); | |
412 }" did not throw | |
413 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 411 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
414 " | 412 " |
415 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 413 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
416 " | 414 " |
417 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 415 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
418 " | 416 " |
419 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 23 [foreignPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 417 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 23 [foreignPara1.firs
tChild, 9] |
420 selection.collapse(point[0], point[1]); | |
421 }" did not throw | |
422 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 24 [document.document
Element, -1] | 418 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 24 [document.document
Element, -1] |
423 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 25 [document.document
Element, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | 419 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 25 [document.document
Element, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> |
424 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 420 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
425 " | 421 " |
426 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 26 [document.document
Element, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | 422 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 26 [document.document
Element, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> |
427 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 423 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
428 " | 424 " |
429 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 27 [document.document
Element, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | 425 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 27 [document.document
Element, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> |
430 <me... but got Text node "Qrstuvwx" | 426 <me... but got Text node "Qrstuvwx" |
431 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 28 [document.document
Element, 7] | 427 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 28 [document.document
Element, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 " | 478 " |
483 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 57 [foreignTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Äb̈c̈d̈ëf̈g̈ḧ | 479 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 57 [foreignTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Äb̈c̈d̈ëf̈g̈ḧ |
484 " | 480 " |
485 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 58 [foreignTextNode,
36] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ | 481 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 58 [foreignTextNode,
36] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ |
486 " | 482 " |
487 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 59 [xmlDoc, -1] | 483 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 59 [xmlDoc, -1] |
488 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 60 [xmlDoc, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 484 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 60 [xmlDoc, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
489 " | 485 " |
490 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 61 [xmlDoc, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 486 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 61 [xmlDoc, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
491 " | 487 " |
492 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 62 [xmlDoc, 5] assert
_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative
or greater than the node's length function "function () { | 488 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 62 [xmlDoc, 5] |
493 selection.collapse(point[0], point[1]); | |
494 }" did not throw | |
495 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 63 [xmlComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Äb̈c̈d̈ëf̈g̈ḧ | 489 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 63 [xmlComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Äb̈c̈d̈ëf̈g̈ḧ |
496 " | 490 " |
497 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 64 [xmlComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Äb̈c̈d̈ëf̈g̈ḧ | 491 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 64 [xmlComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Äb̈c̈d̈ëf̈g̈ḧ |
498 " | 492 " |
499 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 65 [processingInstruc
tion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 493 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 65 [processingInstruc
tion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
500 " | 494 " |
501 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 66 [processingInstruc
tion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 495 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 66 [processingInstruc
tion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
502 " | 496 " |
503 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 67 [processingInstruc
tion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 497 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 67 [processingInstruc
tion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
504 " | 498 " |
(...skipping 25 matching lines...) Expand all Loading... |
530 " | 524 " |
531 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 81 [foreignDocfrag, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Docume
ntFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 525 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 81 [foreignDocfrag, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Docume
ntFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
532 " | 526 " |
533 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 82 [xmlDocfrag, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected DocumentFr
agment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 527 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 82 [xmlDocfrag, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected DocumentFr
agment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
534 " | 528 " |
535 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 83 [doctype, 0] | 529 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 83 [doctype, 0] |
536 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 530 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
537 selection.collapse(point[0], point[1]); | 531 selection.collapse(point[0], point[1]); |
538 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 532 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
539 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 85 [doctype, 1] | 533 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 85 [doctype, 1] |
540 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 86 [foreignDoctype, 0
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 534 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 86 [foreignDoctype, 0
] |
541 selection.collapse(point[0], point[1]); | 535 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 87 [xmlDoctype, 0] |
542 }" did not throw | |
543 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 87 [xmlDoctype, 0] as
sert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { | |
544 selection.collapse(point[0], point[1]); | |
545 }" did not throw | |
546 PASS Range 31 [testDiv, 2, paras[4], 1], point 0 [paras[0].firstChild, -1] | 536 PASS Range 31 [testDiv, 2, paras[4], 1], point 0 [paras[0].firstChild, -1] |
547 PASS Range 31 [testDiv, 2, paras[4], 1], point 1 [paras[0].firstChild, 0] | 537 PASS Range 31 [testDiv, 2, paras[4], 1], point 1 [paras[0].firstChild, 0] |
548 FAIL Range 31 [testDiv, 2, paras[4], 1], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 538 FAIL Range 31 [testDiv, 2, paras[4], 1], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 |
549 PASS Range 31 [testDiv, 2, paras[4], 1], point 3 [paras[0].firstChild, 2] | 539 PASS Range 31 [testDiv, 2, paras[4], 1], point 3 [paras[0].firstChild, 2] |
550 PASS Range 31 [testDiv, 2, paras[4], 1], point 4 [paras[0].firstChild, 8] | 540 PASS Range 31 [testDiv, 2, paras[4], 1], point 4 [paras[0].firstChild, 8] |
551 FAIL Range 31 [testDiv, 2, paras[4], 1], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 541 FAIL Range 31 [testDiv, 2, paras[4], 1], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 |
552 PASS Range 31 [testDiv, 2, paras[4], 1], point 6 [paras[0].firstChild, 10] | 542 PASS Range 31 [testDiv, 2, paras[4], 1], point 6 [paras[0].firstChild, 10] |
553 PASS Range 31 [testDiv, 2, paras[4], 1], point 7 [paras[0].firstChild, 65535] | 543 PASS Range 31 [testDiv, 2, paras[4], 1], point 7 [paras[0].firstChild, 65535] |
554 PASS Range 31 [testDiv, 2, paras[4], 1], point 8 [paras[1].firstChild, -1] | 544 PASS Range 31 [testDiv, 2, paras[4], 1], point 8 [paras[1].firstChild, -1] |
555 FAIL Range 31 [testDiv, 2, paras[4], 1], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 545 FAIL Range 31 [testDiv, 2, paras[4], 1], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
556 " but got Text node "Qrstuvwx" | 546 " but got Text node "Qrstuvwx" |
557 FAIL Range 31 [testDiv, 2, paras[4], 1], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 547 FAIL Range 31 [testDiv, 2, paras[4], 1], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
558 " but got Text node "Qrstuvwx" | 548 " but got Text node "Qrstuvwx" |
559 FAIL Range 31 [testDiv, 2, paras[4], 1], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 549 FAIL Range 31 [testDiv, 2, paras[4], 1], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
560 " but got Text node "Qrstuvwx" | 550 " but got Text node "Qrstuvwx" |
561 FAIL Range 31 [testDiv, 2, paras[4], 1], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 551 FAIL Range 31 [testDiv, 2, paras[4], 1], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
562 " but got Text node "Qrstuvwx" | 552 " but got Text node "Qrstuvwx" |
563 FAIL Range 31 [testDiv, 2, paras[4], 1], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 553 FAIL Range 31 [testDiv, 2, paras[4], 1], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
564 " but got Text node "Qrstuvwx" | 554 " but got Text node "Qrstuvwx" |
565 PASS Range 31 [testDiv, 2, paras[4], 1], point 14 [paras[1].firstChild, 10] | 555 PASS Range 31 [testDiv, 2, paras[4], 1], point 14 [paras[1].firstChild, 10] |
566 PASS Range 31 [testDiv, 2, paras[4], 1], point 15 [paras[1].firstChild, 65535] | 556 PASS Range 31 [testDiv, 2, paras[4], 1], point 15 [paras[1].firstChild, 65535] |
567 FAIL Range 31 [testDiv, 2, paras[4], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" | 557 FAIL Range 31 [testDiv, 2, paras[4], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" |
568 FAIL Range 31 [testDiv, 2, paras[4], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" | 558 FAIL Range 31 [testDiv, 2, paras[4], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" |
569 FAIL Range 31 [testDiv, 2, paras[4], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" | 559 FAIL Range 31 [testDiv, 2, paras[4], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" |
570 FAIL Range 31 [testDiv, 2, paras[4], 1], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 560 PASS Range 31 [testDiv, 2, paras[4], 1], point 19 [detachedPara1.firstChild, 9] |
571 selection.collapse(point[0], point[1]); | |
572 }" did not throw | |
573 FAIL Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 561 FAIL Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
574 FAIL Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 562 FAIL Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
575 FAIL Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 563 FAIL Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
576 FAIL Range 31 [testDiv, 2, paras[4], 1], point 23 [foreignPara1.firstChild, 9] a
ssert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is nega
tive or greater than the node's length function "function () { | 564 PASS Range 31 [testDiv, 2, paras[4], 1], point 23 [foreignPara1.firstChild, 9] |
577 selection.collapse(point[0], point[1]); | |
578 }" did not throw | |
579 PASS Range 31 [testDiv, 2, paras[4], 1], point 24 [document.documentElement, -1]
| 565 PASS Range 31 [testDiv, 2, paras[4], 1], point 24 [document.documentElement, -1]
|
580 FAIL Range 31 [testDiv, 2, paras[4], 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 566 FAIL Range 31 [testDiv, 2, paras[4], 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
581 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 567 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
582 " | 568 " |
583 FAIL Range 31 [testDiv, 2, paras[4], 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 569 FAIL Range 31 [testDiv, 2, paras[4], 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
584 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 570 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
585 " | 571 " |
586 FAIL Range 31 [testDiv, 2, paras[4], 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 572 FAIL Range 31 [testDiv, 2, paras[4], 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
587 <me... but got Text node "Qrstuvwx" | 573 <me... but got Text node "Qrstuvwx" |
588 PASS Range 31 [testDiv, 2, paras[4], 1], point 28 [document.documentElement, 7] | 574 PASS Range 31 [testDiv, 2, paras[4], 1], point 28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 FAIL Range 31 [testDiv, 2, paras[4], 1], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 612 FAIL Range 31 [testDiv, 2, paras[4], 1], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" |
627 PASS Range 31 [testDiv, 2, paras[4], 1], point 53 [comment, 96] | 613 PASS Range 31 [testDiv, 2, paras[4], 1], point 53 [comment, 96] |
628 FAIL Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" | 614 FAIL Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" |
629 FAIL Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" | 615 FAIL Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" |
630 FAIL Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Text node
"Qrstuvwx" | 616 FAIL Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Text node
"Qrstuvwx" |
631 FAIL Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Text node "Qrstu
vwx" | 617 FAIL Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Text node "Qrstu
vwx" |
632 FAIL Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" | 618 FAIL Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" |
633 PASS Range 31 [testDiv, 2, paras[4], 1], point 59 [xmlDoc, -1] | 619 PASS Range 31 [testDiv, 2, paras[4], 1], point 59 [xmlDoc, -1] |
634 FAIL Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" | 620 FAIL Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" |
635 FAIL Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" | 621 FAIL Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" |
636 FAIL Range 31 [testDiv, 2, paras[4], 1], point 62 [xmlDoc, 5] assert_throws: Mus
t throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater t
han the node's length function "function () { | 622 PASS Range 31 [testDiv, 2, paras[4], 1], point 62 [xmlDoc, 5] |
637 selection.collapse(point[0], point[1]); | |
638 }" did not throw | |
639 FAIL Range 31 [testDiv, 2, paras[4], 1], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" | 623 FAIL Range 31 [testDiv, 2, paras[4], 1], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" |
640 FAIL Range 31 [testDiv, 2, paras[4], 1], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" | 624 FAIL Range 31 [testDiv, 2, paras[4], 1], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" |
641 FAIL Range 31 [testDiv, 2, paras[4], 1], point 65 [processingInstruction, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" | 625 FAIL Range 31 [testDiv, 2, paras[4], 1], point 65 [processingInstruction, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" |
642 FAIL Range 31 [testDiv, 2, paras[4], 1], point 66 [processingInstruction, 5] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" | 626 FAIL Range 31 [testDiv, 2, paras[4], 1], point 66 [processingInstruction, 5] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" |
643 FAIL Range 31 [testDiv, 2, paras[4], 1], point 67 [processingInstruction, 9] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" | 627 FAIL Range 31 [testDiv, 2, paras[4], 1], point 67 [processingInstruction, 9] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" |
644 FAIL Range 31 [testDiv, 2, paras[4], 1], point 68 [detachedTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" | 628 FAIL Range 31 [testDiv, 2, paras[4], 1], point 68 [detachedTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" |
645 FAIL Range 31 [testDiv, 2, paras[4], 1], point 69 [detachedTextNode, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" | 629 FAIL Range 31 [testDiv, 2, paras[4], 1], point 69 [detachedTextNode, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" |
646 FAIL Range 31 [testDiv, 2, paras[4], 1], point 70 [detachedForeignTextNode, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" | 630 FAIL Range 31 [testDiv, 2, paras[4], 1], point 70 [detachedForeignTextNode, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" |
647 FAIL Range 31 [testDiv, 2, paras[4], 1], point 71 [detachedForeignTextNode, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" | 631 FAIL Range 31 [testDiv, 2, paras[4], 1], point 71 [detachedForeignTextNode, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" |
648 FAIL Range 31 [testDiv, 2, paras[4], 1], point 72 [detachedXmlTextNode, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" | 632 FAIL Range 31 [testDiv, 2, paras[4], 1], point 72 [detachedXmlTextNode, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" |
649 FAIL Range 31 [testDiv, 2, paras[4], 1], point 73 [detachedXmlTextNode, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" | 633 FAIL Range 31 [testDiv, 2, paras[4], 1], point 73 [detachedXmlTextNode, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" |
650 FAIL Range 31 [testDiv, 2, paras[4], 1], point 74 [detachedProcessingInstruction
, 12] assert_equals: focusNode must equal the node we collapse()d to expected Pr
ocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Text node "Qrstuvwx" | 634 FAIL Range 31 [testDiv, 2, paras[4], 1], point 74 [detachedProcessingInstruction
, 12] assert_equals: focusNode must equal the node we collapse()d to expected Pr
ocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Text node "Qrstuvwx" |
651 FAIL Range 31 [testDiv, 2, paras[4], 1], point 75 [detachedComment, 3] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" | 635 FAIL Range 31 [testDiv, 2, paras[4], 1], point 75 [detachedComment, 3] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" |
652 FAIL Range 31 [testDiv, 2, paras[4], 1], point 76 [detachedComment, 5] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" | 636 FAIL Range 31 [testDiv, 2, paras[4], 1], point 76 [detachedComment, 5] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" |
653 FAIL Range 31 [testDiv, 2, paras[4], 1], point 77 [detachedForeignComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 637 FAIL Range 31 [testDiv, 2, paras[4], 1], point 77 [detachedForeignComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
654 FAIL Range 31 [testDiv, 2, paras[4], 1], point 78 [detachedForeignComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 638 FAIL Range 31 [testDiv, 2, paras[4], 1], point 78 [detachedForeignComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
655 FAIL Range 31 [testDiv, 2, paras[4], 1], point 79 [detachedXmlComment, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 639 FAIL Range 31 [testDiv, 2, paras[4], 1], point 79 [detachedXmlComment, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
656 FAIL Range 31 [testDiv, 2, paras[4], 1], point 80 [docfrag, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected DocumentFragment node wit
h 0 children but got Text node "Qrstuvwx" | 640 FAIL Range 31 [testDiv, 2, paras[4], 1], point 80 [docfrag, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected DocumentFragment node wit
h 0 children but got Text node "Qrstuvwx" |
657 FAIL Range 31 [testDiv, 2, paras[4], 1], point 81 [foreignDocfrag, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected DocumentFragment n
ode with 0 children but got Text node "Qrstuvwx" | 641 FAIL Range 31 [testDiv, 2, paras[4], 1], point 81 [foreignDocfrag, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected DocumentFragment n
ode with 0 children but got Text node "Qrstuvwx" |
658 FAIL Range 31 [testDiv, 2, paras[4], 1], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" | 642 FAIL Range 31 [testDiv, 2, paras[4], 1], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" |
659 PASS Range 31 [testDiv, 2, paras[4], 1], point 83 [doctype, 0] | 643 PASS Range 31 [testDiv, 2, paras[4], 1], point 83 [doctype, 0] |
660 FAIL Range 31 [testDiv, 2, paras[4], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | 644 FAIL Range 31 [testDiv, 2, paras[4], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { |
661 selection.collapse(point[0], point[1]); | 645 selection.collapse(point[0], point[1]); |
662 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 646 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
663 PASS Range 31 [testDiv, 2, paras[4], 1], point 85 [doctype, 1] | 647 PASS Range 31 [testDiv, 2, paras[4], 1], point 85 [doctype, 1] |
664 FAIL Range 31 [testDiv, 2, paras[4], 1], point 86 [foreignDoctype, 0] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | 648 PASS Range 31 [testDiv, 2, paras[4], 1], point 86 [foreignDoctype, 0] |
665 selection.collapse(point[0], point[1]); | 649 PASS Range 31 [testDiv, 2, paras[4], 1], point 87 [xmlDoctype, 0] |
666 }" did not throw | |
667 FAIL Range 31 [testDiv, 2, paras[4], 1], point 87 [xmlDoctype, 0] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | |
668 selection.collapse(point[0], point[1]); | |
669 }" did not throw | |
670 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 0 [paras[0].firstChild
, -1] | 650 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 0 [paras[0].firstChild
, -1] |
671 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 1 [paras[0].firstChild
, 0] | 651 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 1 [paras[0].firstChild
, 0] |
672 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 652 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 |
673 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 3 [paras[0].firstChild
, 2] | 653 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 3 [paras[0].firstChild
, 2] |
674 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 4 [paras[0].firstChild
, 8] | 654 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 4 [paras[0].firstChild
, 8] |
675 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 655 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 |
676 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 6 [paras[0].firstChild
, 10] | 656 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 6 [paras[0].firstChild
, 10] |
677 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 7 [paras[0].firstChild
, 65535] | 657 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 7 [paras[0].firstChild
, 65535] |
678 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 8 [paras[1].firstChild
, -1] | 658 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 8 [paras[1].firstChild
, -1] |
679 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 659 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop |
680 " but got Text node "Qrstuvwx" | 660 " but got Text node "Qrstuvwx" |
681 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 661 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
682 " but got Text node "Qrstuvwx" | 662 " but got Text node "Qrstuvwx" |
683 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 663 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
684 " but got Text node "Qrstuvwx" | 664 " but got Text node "Qrstuvwx" |
685 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 665 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
686 " but got Text node "Qrstuvwx" | 666 " but got Text node "Qrstuvwx" |
687 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 667 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
688 " but got Text node "Qrstuvwx" | 668 " but got Text node "Qrstuvwx" |
689 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 14 [paras[1].firstChil
d, 10] | 669 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 14 [paras[1].firstChil
d, 10] |
690 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 15 [paras[1].firstChil
d, 65535] | 670 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 15 [paras[1].firstChil
d, 65535] |
691 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 671 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
692 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 672 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
693 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 673 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
694 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 19 [detachedPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 674 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 19 [detachedPara1.firs
tChild, 9] |
695 selection.collapse(point[0], point[1]); | |
696 }" did not throw | |
697 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 675 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
698 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 676 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
699 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 677 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
700 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 23 [foreignPara1.first
Child, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the off
set is negative or greater than the node's length function "function () { | 678 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 23 [foreignPara1.first
Child, 9] |
701 selection.collapse(point[0], point[1]); | |
702 }" did not throw | |
703 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 24 [document.documentE
lement, -1] | 679 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 24 [document.documentE
lement, -1] |
704 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 680 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> |
705 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 681 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
706 " | 682 " |
707 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 683 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> |
708 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 684 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
709 " | 685 " |
710 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 686 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> |
711 <me... but got Text node "Qrstuvwx" | 687 <me... but got Text node "Qrstuvwx" |
712 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 28 [document.documentE
lement, 7] | 688 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 28 [document.documentE
lement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 726 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" |
751 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 53 [comment, 96] | 727 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 53 [comment, 96] |
752 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" | 728 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" |
753 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" | 729 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" |
754 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Text node "Qrstuvwx" | 730 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Text node "Qrstuvwx" |
755 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" | 731 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" |
756 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" | 732 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" |
757 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 59 [xmlDoc, -1] | 733 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 59 [xmlDoc, -1] |
758 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 734 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
759 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 735 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
760 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 62 [xmlDoc, 5] assert_
throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative o
r greater than the node's length function "function () { | 736 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 62 [xmlDoc, 5] |
761 selection.collapse(point[0], point[1]); | |
762 }" did not throw | |
763 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" | 737 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" |
764 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" | 738 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" |
765 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 739 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
766 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 740 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
767 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 741 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
768 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 742 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
769 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 743 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
770 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | 744 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" |
771 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | 745 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" |
772 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | 746 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" |
773 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | 747 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" |
774 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Text node "Qrstuvwx" | 748 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Text node "Qrstuvwx" |
775 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 749 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
776 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 750 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
777 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 751 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
778 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 752 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
779 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 753 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
780 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Text node "Qrstuvwx" | 754 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Text node "Qrstuvwx" |
781 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Qrstuvwx" | 755 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Qrstuvwx" |
782 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" | 756 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" |
783 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 83 [doctype, 0] | 757 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 83 [doctype, 0] |
784 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 758 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
785 selection.collapse(point[0], point[1]); | 759 selection.collapse(point[0], point[1]); |
786 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 760 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
787 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 85 [doctype, 1] | 761 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 85 [doctype, 1] |
788 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 86 [foreignDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 762 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 86 [foreignDoctype, 0]
|
789 selection.collapse(point[0], point[1]); | 763 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 87 [xmlDoctype, 0] |
790 }" did not throw | |
791 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 87 [xmlDoctype, 0] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
792 selection.collapse(point[0], point[1]); | |
793 }" did not throw | |
794 PASS Range 33 [document.documentElement, 1, document.body, 0], point 0 [paras[0]
.firstChild, -1] | 764 PASS Range 33 [document.documentElement, 1, document.body, 0], point 0 [paras[0]
.firstChild, -1] |
795 PASS Range 33 [document.documentElement, 1, document.body, 0], point 1 [paras[0]
.firstChild, 0] | 765 PASS Range 33 [document.documentElement, 1, document.body, 0], point 1 [paras[0]
.firstChild, 0] |
796 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 766 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 |
797 PASS Range 33 [document.documentElement, 1, document.body, 0], point 3 [paras[0]
.firstChild, 2] | 767 PASS Range 33 [document.documentElement, 1, document.body, 0], point 3 [paras[0]
.firstChild, 2] |
798 PASS Range 33 [document.documentElement, 1, document.body, 0], point 4 [paras[0]
.firstChild, 8] | 768 PASS Range 33 [document.documentElement, 1, document.body, 0], point 4 [paras[0]
.firstChild, 8] |
799 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 769 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 |
800 PASS Range 33 [document.documentElement, 1, document.body, 0], point 6 [paras[0]
.firstChild, 10] | 770 PASS Range 33 [document.documentElement, 1, document.body, 0], point 6 [paras[0]
.firstChild, 10] |
801 PASS Range 33 [document.documentElement, 1, document.body, 0], point 7 [paras[0]
.firstChild, 65535] | 771 PASS Range 33 [document.documentElement, 1, document.body, 0], point 7 [paras[0]
.firstChild, 65535] |
802 PASS Range 33 [document.documentElement, 1, document.body, 0], point 8 [paras[1]
.firstChild, -1] | 772 PASS Range 33 [document.documentElement, 1, document.body, 0], point 8 [paras[1]
.firstChild, -1] |
803 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 773 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop |
804 " but got Text node "Qrstuvwx" | 774 " but got Text node "Qrstuvwx" |
805 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 775 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
806 " but got Text node "Qrstuvwx" | 776 " but got Text node "Qrstuvwx" |
807 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 777 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
808 " but got Text node "Qrstuvwx" | 778 " but got Text node "Qrstuvwx" |
809 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 779 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
810 " but got Text node "Qrstuvwx" | 780 " but got Text node "Qrstuvwx" |
811 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 781 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
812 " but got Text node "Qrstuvwx" | 782 " but got Text node "Qrstuvwx" |
813 PASS Range 33 [document.documentElement, 1, document.body, 0], point 14 [paras[1
].firstChild, 10] | 783 PASS Range 33 [document.documentElement, 1, document.body, 0], point 14 [paras[1
].firstChild, 10] |
814 PASS Range 33 [document.documentElement, 1, document.body, 0], point 15 [paras[1
].firstChild, 65535] | 784 PASS Range 33 [document.documentElement, 1, document.body, 0], point 15 [paras[1
].firstChild, 65535] |
815 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 785 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
816 " | 786 " |
817 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 787 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
818 " | 788 " |
819 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 789 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
820 " | 790 " |
821 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 791 PASS Range 33 [document.documentElement, 1, document.body, 0], point 19 [detache
dPara1.firstChild, 9] |
822 selection.collapse(point[0], point[1]); | |
823 }" did not throw | |
824 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 792 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
825 " | 793 " |
826 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 794 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
827 " | 795 " |
828 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 796 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
829 " | 797 " |
830 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 798 PASS Range 33 [document.documentElement, 1, document.body, 0], point 23 [foreign
Para1.firstChild, 9] |
831 selection.collapse(point[0], point[1]); | |
832 }" did not throw | |
833 PASS Range 33 [document.documentElement, 1, document.body, 0], point 24 [documen
t.documentElement, -1] | 799 PASS Range 33 [document.documentElement, 1, document.body, 0], point 24 [documen
t.documentElement, -1] |
834 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | 800 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> |
835 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 801 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
836 " | 802 " |
837 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | 803 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> |
838 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 804 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
839 " | 805 " |
840 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | 806 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> |
841 <me... but got Text node "Qrstuvwx" | 807 <me... but got Text node "Qrstuvwx" |
842 PASS Range 33 [document.documentElement, 1, document.body, 0], point 28 [documen
t.documentElement, 7] | 808 PASS Range 33 [document.documentElement, 1, document.body, 0], point 28 [documen
t.documentElement, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 " | 859 " |
894 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 860 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
895 " | 861 " |
896 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 862 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
897 " | 863 " |
898 PASS Range 33 [document.documentElement, 1, document.body, 0], point 59 [xmlDoc,
-1] | 864 PASS Range 33 [document.documentElement, 1, document.body, 0], point 59 [xmlDoc,
-1] |
899 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 865 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
900 " | 866 " |
901 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 867 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
902 " | 868 " |
903 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 869 PASS Range 33 [document.documentElement, 1, document.body, 0], point 62 [xmlDoc,
5] |
904 selection.collapse(point[0], point[1]); | |
905 }" did not throw | |
906 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 870 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
907 " | 871 " |
908 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 872 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
909 " | 873 " |
910 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 874 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
911 " | 875 " |
912 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 876 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
913 " | 877 " |
914 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 878 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
915 " | 879 " |
(...skipping 25 matching lines...) Expand all Loading... |
941 " | 905 " |
942 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 906 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
943 " | 907 " |
944 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 908 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
945 " | 909 " |
946 PASS Range 33 [document.documentElement, 1, document.body, 0], point 83 [doctype
, 0] | 910 PASS Range 33 [document.documentElement, 1, document.body, 0], point 83 [doctype
, 0] |
947 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 911 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
948 selection.collapse(point[0], point[1]); | 912 selection.collapse(point[0], point[1]); |
949 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 913 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
950 PASS Range 33 [document.documentElement, 1, document.body, 0], point 85 [doctype
, 1] | 914 PASS Range 33 [document.documentElement, 1, document.body, 0], point 85 [doctype
, 1] |
951 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 915 PASS Range 33 [document.documentElement, 1, document.body, 0], point 86 [foreign
Doctype, 0] |
952 selection.collapse(point[0], point[1]); | 916 PASS Range 33 [document.documentElement, 1, document.body, 0], point 87 [xmlDoct
ype, 0] |
953 }" did not throw | |
954 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
955 selection.collapse(point[0], point[1]); | |
956 }" did not throw | |
957 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 0 [para
s[0].firstChild, -1] | 917 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 0 [para
s[0].firstChild, -1] |
958 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 1 [para
s[0].firstChild, 0] | 918 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 1 [para
s[0].firstChild, 0] |
959 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 2 [para
s[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse
()d to expected 1 but got 2 | 919 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 2 [para
s[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse
()d to expected 1 but got 2 |
960 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 3 [para
s[0].firstChild, 2] | 920 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 3 [para
s[0].firstChild, 2] |
961 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 4 [para
s[0].firstChild, 8] | 921 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 4 [para
s[0].firstChild, 8] |
962 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 5 [para
s[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse
()d to expected 9 but got 10 | 922 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 5 [para
s[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse
()d to expected 9 but got 10 |
963 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 6 [para
s[0].firstChild, 10] | 923 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 6 [para
s[0].firstChild, 10] |
964 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 7 [para
s[0].firstChild, 65535] | 924 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 7 [para
s[0].firstChild, 65535] |
965 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 8 [para
s[1].firstChild, -1] | 925 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 8 [para
s[1].firstChild, -1] |
966 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 9 [para
s[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 926 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 9 [para
s[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop |
967 " but got Text node "Qrstuvwx" | 927 " but got Text node "Qrstuvwx" |
968 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 10 [par
as[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 928 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 10 [par
as[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop |
969 " but got Text node "Qrstuvwx" | 929 " but got Text node "Qrstuvwx" |
970 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 11 [par
as[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 930 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 11 [par
as[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop |
971 " but got Text node "Qrstuvwx" | 931 " but got Text node "Qrstuvwx" |
972 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [par
as[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 932 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [par
as[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop |
973 " but got Text node "Qrstuvwx" | 933 " but got Text node "Qrstuvwx" |
974 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 13 [par
as[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 934 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 13 [par
as[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop |
975 " but got Text node "Qrstuvwx" | 935 " but got Text node "Qrstuvwx" |
976 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 14 [par
as[1].firstChild, 10] | 936 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 14 [par
as[1].firstChild, 10] |
977 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 15 [par
as[1].firstChild, 65535] | 937 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 15 [par
as[1].firstChild, 65535] |
978 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 16 [det
achedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 938 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 16 [det
achedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
979 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 17 [det
achedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 939 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 17 [det
achedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
980 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 18 [det
achedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 940 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 18 [det
achedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
981 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 19 [det
achedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse
()ing if the offset is negative or greater than the node's length function "func
tion () { | 941 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 19 [det
achedPara1.firstChild, 9] |
982 selection.collapse(point[0], point[1]); | |
983 }" did not throw | |
984 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [for
eignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 942 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [for
eignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
985 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [for
eignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 943 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [for
eignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
986 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [for
eignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 944 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [for
eignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
987 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 23 [for
eignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse(
)ing if the offset is negative or greater than the node's length function "funct
ion () { | 945 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 23 [for
eignPara1.firstChild, 9] |
988 selection.collapse(point[0], point[1]); | |
989 }" did not throw | |
990 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 24 [doc
ument.documentElement, -1] | 946 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 24 [doc
ument.documentElement, -1] |
991 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [doc
ument.documentElement, 0] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | 947 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [doc
ument.documentElement, 0] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> |
992 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 948 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
993 " | 949 " |
994 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 26 [doc
ument.documentElement, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | 950 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 26 [doc
ument.documentElement, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> |
995 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 951 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
996 " | 952 " |
997 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [doc
ument.documentElement, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | 953 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [doc
ument.documentElement, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> |
998 <me... but got Text node "Qrstuvwx" | 954 <me... but got Text node "Qrstuvwx" |
999 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 28 [doc
ument.documentElement, 7] | 955 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 28 [doc
ument.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 52 [com
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 993 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 52 [com
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
1038 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 53 [com
ment, 96] | 994 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 53 [com
ment, 96] |
1039 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [for
eignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 995 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [for
eignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
1040 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [for
eignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 996 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [for
eignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
1041 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [for
eignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 997 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [for
eignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
1042 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [for
eignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 998 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [for
eignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
1043 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [for
eignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 999 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [for
eignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
1044 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 59 [xml
Doc, -1] | 1000 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 59 [xml
Doc, -1] |
1045 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xml
Doc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1001 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xml
Doc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
1046 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xml
Doc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1002 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xml
Doc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
1047 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 62 [xml
Doc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offse
t is negative or greater than the node's length function "function () { | 1003 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 62 [xml
Doc, 5] |
1048 selection.collapse(point[0], point[1]); | |
1049 }" did not throw | |
1050 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 63 [xml
Comment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 1004 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 63 [xml
Comment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
1051 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 64 [xml
Comment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 1005 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 64 [xml
Comment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
1052 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 65 [pro
cessingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1006 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 65 [pro
cessingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
1053 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 66 [pro
cessingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1007 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 66 [pro
cessingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
1054 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 67 [pro
cessingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1008 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 67 [pro
cessingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
1055 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 68 [det
achedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1009 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 68 [det
achedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
1056 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 69 [det
achedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1010 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 69 [det
achedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
1057 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 70 [det
achedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1011 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 70 [det
achedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
1058 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 71 [det
achedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1012 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 71 [det
achedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
1059 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 72 [det
achedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 1013 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 72 [det
achedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
1060 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 73 [det
achedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 1014 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 73 [det
achedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
1061 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 74 [det
achedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1015 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 74 [det
achedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
1062 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 75 [det
achedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1016 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 75 [det
achedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
1063 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 76 [det
achedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1017 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 76 [det
achedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
1064 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 77 [det
achedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1018 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 77 [det
achedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
1065 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 78 [det
achedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1019 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 78 [det
achedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
1066 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 79 [det
achedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 1020 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 79 [det
achedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
1067 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 80 [doc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1021 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 80 [doc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
1068 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 81 [for
eignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1022 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 81 [for
eignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
1069 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xml
Docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 1023 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xml
Docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
1070 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 83 [doc
type, 0] | 1024 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 83 [doc
type, 0] |
1071 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 84 [doc
type, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if
the node is a DocumentType function "function () { | 1025 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 84 [doc
type, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if
the node is a DocumentType function "function () { |
1072 selection.collapse(point[0], point[1]); | 1026 selection.collapse(point[0], point[1]); |
1073 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1027 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1074 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 85 [doc
type, 1] | 1028 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 85 [doc
type, 1] |
1075 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 86 [for
eignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | 1029 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 86 [for
eignDoctype, 0] |
1076 selection.collapse(point[0], point[1]); | 1030 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 87 [xml
Doctype, 0] |
1077 }" did not throw | |
1078 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 87 [xml
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | |
1079 selection.collapse(point[0], point[1]); | |
1080 }" did not throw | |
1081 PASS Range 35 [document, 0, document, 1], point 0 [paras[0].firstChild, -1] | 1031 PASS Range 35 [document, 0, document, 1], point 0 [paras[0].firstChild, -1] |
1082 PASS Range 35 [document, 0, document, 1], point 1 [paras[0].firstChild, 0] | 1032 PASS Range 35 [document, 0, document, 1], point 1 [paras[0].firstChild, 0] |
1083 FAIL Range 35 [document, 0, document, 1], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1033 FAIL Range 35 [document, 0, document, 1], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 |
1084 PASS Range 35 [document, 0, document, 1], point 3 [paras[0].firstChild, 2] | 1034 PASS Range 35 [document, 0, document, 1], point 3 [paras[0].firstChild, 2] |
1085 PASS Range 35 [document, 0, document, 1], point 4 [paras[0].firstChild, 8] | 1035 PASS Range 35 [document, 0, document, 1], point 4 [paras[0].firstChild, 8] |
1086 FAIL Range 35 [document, 0, document, 1], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1036 FAIL Range 35 [document, 0, document, 1], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 |
1087 PASS Range 35 [document, 0, document, 1], point 6 [paras[0].firstChild, 10] | 1037 PASS Range 35 [document, 0, document, 1], point 6 [paras[0].firstChild, 10] |
1088 PASS Range 35 [document, 0, document, 1], point 7 [paras[0].firstChild, 65535] | 1038 PASS Range 35 [document, 0, document, 1], point 7 [paras[0].firstChild, 65535] |
1089 PASS Range 35 [document, 0, document, 1], point 8 [paras[1].firstChild, -1] | 1039 PASS Range 35 [document, 0, document, 1], point 8 [paras[1].firstChild, -1] |
1090 FAIL Range 35 [document, 0, document, 1], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1040 FAIL Range 35 [document, 0, document, 1], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
1091 " but got Text node "Qrstuvwx" | 1041 " but got Text node "Qrstuvwx" |
1092 FAIL Range 35 [document, 0, document, 1], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1042 FAIL Range 35 [document, 0, document, 1], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1093 " but got Text node "Qrstuvwx" | 1043 " but got Text node "Qrstuvwx" |
1094 FAIL Range 35 [document, 0, document, 1], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1044 FAIL Range 35 [document, 0, document, 1], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1095 " but got Text node "Qrstuvwx" | 1045 " but got Text node "Qrstuvwx" |
1096 FAIL Range 35 [document, 0, document, 1], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1046 FAIL Range 35 [document, 0, document, 1], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1097 " but got Text node "Qrstuvwx" | 1047 " but got Text node "Qrstuvwx" |
1098 FAIL Range 35 [document, 0, document, 1], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1048 FAIL Range 35 [document, 0, document, 1], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1099 " but got Text node "Qrstuvwx" | 1049 " but got Text node "Qrstuvwx" |
1100 PASS Range 35 [document, 0, document, 1], point 14 [paras[1].firstChild, 10] | 1050 PASS Range 35 [document, 0, document, 1], point 14 [paras[1].firstChild, 10] |
1101 PASS Range 35 [document, 0, document, 1], point 15 [paras[1].firstChild, 65535] | 1051 PASS Range 35 [document, 0, document, 1], point 15 [paras[1].firstChild, 65535] |
1102 FAIL Range 35 [document, 0, document, 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1052 FAIL Range 35 [document, 0, document, 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1103 " | 1053 " |
1104 FAIL Range 35 [document, 0, document, 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1054 FAIL Range 35 [document, 0, document, 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1105 " | 1055 " |
1106 FAIL Range 35 [document, 0, document, 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1056 FAIL Range 35 [document, 0, document, 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1107 " | 1057 " |
1108 FAIL Range 35 [document, 0, document, 1], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is ne
gative or greater than the node's length function "function () { | 1058 PASS Range 35 [document, 0, document, 1], point 19 [detachedPara1.firstChild, 9]
|
1109 selection.collapse(point[0], point[1]); | |
1110 }" did not throw | |
1111 FAIL Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1059 FAIL Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1112 " | 1060 " |
1113 FAIL Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1061 FAIL Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1114 " | 1062 " |
1115 FAIL Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1063 FAIL Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1116 " | 1064 " |
1117 FAIL Range 35 [document, 0, document, 1], point 23 [foreignPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 1065 PASS Range 35 [document, 0, document, 1], point 23 [foreignPara1.firstChild, 9] |
1118 selection.collapse(point[0], point[1]); | |
1119 }" did not throw | |
1120 PASS Range 35 [document, 0, document, 1], point 24 [document.documentElement, -1
] | 1066 PASS Range 35 [document, 0, document, 1], point 24 [document.documentElement, -1
] |
1121 FAIL Range 35 [document, 0, document, 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1067 FAIL Range 35 [document, 0, document, 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1122 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1068 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1123 " | 1069 " |
1124 FAIL Range 35 [document, 0, document, 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1070 FAIL Range 35 [document, 0, document, 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1125 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1071 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1126 " | 1072 " |
1127 FAIL Range 35 [document, 0, document, 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1073 FAIL Range 35 [document, 0, document, 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1128 <me... but got Text node "Qrstuvwx" | 1074 <me... but got Text node "Qrstuvwx" |
1129 PASS Range 35 [document, 0, document, 1], point 28 [document.documentElement, 7]
| 1075 PASS Range 35 [document, 0, document, 1], point 28 [document.documentElement, 7]
|
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 " | 1126 " |
1181 FAIL Range 35 [document, 0, document, 1], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Äb̈
c̈d̈ëf̈g̈ḧ | 1127 FAIL Range 35 [document, 0, document, 1], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Äb̈
c̈d̈ëf̈g̈ḧ |
1182 " | 1128 " |
1183 FAIL Range 35 [document, 0, document, 1], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Text node "Äb
̈c̈d̈ëf̈g̈ḧ | 1129 FAIL Range 35 [document, 0, document, 1], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Text node "Äb
̈c̈d̈ëf̈g̈ḧ |
1184 " | 1130 " |
1185 PASS Range 35 [document, 0, document, 1], point 59 [xmlDoc, -1] | 1131 PASS Range 35 [document, 0, document, 1], point 59 [xmlDoc, -1] |
1186 FAIL Range 35 [document, 0, document, 1], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1132 FAIL Range 35 [document, 0, document, 1], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1187 " | 1133 " |
1188 FAIL Range 35 [document, 0, document, 1], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1134 FAIL Range 35 [document, 0, document, 1], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1189 " | 1135 " |
1190 FAIL Range 35 [document, 0, document, 1], point 62 [xmlDoc, 5] assert_throws: Mu
st throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater
than the node's length function "function () { | 1136 PASS Range 35 [document, 0, document, 1], point 62 [xmlDoc, 5] |
1191 selection.collapse(point[0], point[1]); | |
1192 }" did not throw | |
1193 FAIL Range 35 [document, 0, document, 1], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ | 1137 FAIL Range 35 [document, 0, document, 1], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ |
1194 " | 1138 " |
1195 FAIL Range 35 [document, 0, document, 1], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ | 1139 FAIL Range 35 [document, 0, document, 1], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ |
1196 " | 1140 " |
1197 FAIL Range 35 [document, 0, document, 1], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1141 FAIL Range 35 [document, 0, document, 1], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1198 " | 1142 " |
1199 FAIL Range 35 [document, 0, document, 1], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1143 FAIL Range 35 [document, 0, document, 1], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1200 " | 1144 " |
1201 FAIL Range 35 [document, 0, document, 1], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1145 FAIL Range 35 [document, 0, document, 1], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1202 " | 1146 " |
(...skipping 25 matching lines...) Expand all Loading... |
1228 " | 1172 " |
1229 FAIL Range 35 [document, 0, document, 1], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1173 FAIL Range 35 [document, 0, document, 1], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1230 " | 1174 " |
1231 FAIL Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1175 FAIL Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1232 " | 1176 " |
1233 PASS Range 35 [document, 0, document, 1], point 83 [doctype, 0] | 1177 PASS Range 35 [document, 0, document, 1], point 83 [doctype, 0] |
1234 FAIL Range 35 [document, 0, document, 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 1178 FAIL Range 35 [document, 0, document, 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
1235 selection.collapse(point[0], point[1]); | 1179 selection.collapse(point[0], point[1]); |
1236 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1180 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1237 PASS Range 35 [document, 0, document, 1], point 85 [doctype, 1] | 1181 PASS Range 35 [document, 0, document, 1], point 85 [doctype, 1] |
1238 FAIL Range 35 [document, 0, document, 1], point 86 [foreignDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | 1182 PASS Range 35 [document, 0, document, 1], point 86 [foreignDoctype, 0] |
1239 selection.collapse(point[0], point[1]); | 1183 PASS Range 35 [document, 0, document, 1], point 87 [xmlDoctype, 0] |
1240 }" did not throw | |
1241 FAIL Range 35 [document, 0, document, 1], point 87 [xmlDoctype, 0] assert_throws
: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentT
ype function "function () { | |
1242 selection.collapse(point[0], point[1]); | |
1243 }" did not throw | |
1244 PASS Range 36 [document, 0, document, 2], point 0 [paras[0].firstChild, -1] | 1184 PASS Range 36 [document, 0, document, 2], point 0 [paras[0].firstChild, -1] |
1245 PASS Range 36 [document, 0, document, 2], point 1 [paras[0].firstChild, 0] | 1185 PASS Range 36 [document, 0, document, 2], point 1 [paras[0].firstChild, 0] |
1246 FAIL Range 36 [document, 0, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1186 FAIL Range 36 [document, 0, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 |
1247 PASS Range 36 [document, 0, document, 2], point 3 [paras[0].firstChild, 2] | 1187 PASS Range 36 [document, 0, document, 2], point 3 [paras[0].firstChild, 2] |
1248 PASS Range 36 [document, 0, document, 2], point 4 [paras[0].firstChild, 8] | 1188 PASS Range 36 [document, 0, document, 2], point 4 [paras[0].firstChild, 8] |
1249 FAIL Range 36 [document, 0, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1189 FAIL Range 36 [document, 0, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 |
1250 PASS Range 36 [document, 0, document, 2], point 6 [paras[0].firstChild, 10] | 1190 PASS Range 36 [document, 0, document, 2], point 6 [paras[0].firstChild, 10] |
1251 PASS Range 36 [document, 0, document, 2], point 7 [paras[0].firstChild, 65535] | 1191 PASS Range 36 [document, 0, document, 2], point 7 [paras[0].firstChild, 65535] |
1252 PASS Range 36 [document, 0, document, 2], point 8 [paras[1].firstChild, -1] | 1192 PASS Range 36 [document, 0, document, 2], point 8 [paras[1].firstChild, -1] |
1253 FAIL Range 36 [document, 0, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1193 FAIL Range 36 [document, 0, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
1254 " but got Text node "Qrstuvwx" | 1194 " but got Text node "Qrstuvwx" |
1255 FAIL Range 36 [document, 0, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1195 FAIL Range 36 [document, 0, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1256 " but got Text node "Qrstuvwx" | 1196 " but got Text node "Qrstuvwx" |
1257 FAIL Range 36 [document, 0, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1197 FAIL Range 36 [document, 0, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1258 " but got Text node "Qrstuvwx" | 1198 " but got Text node "Qrstuvwx" |
1259 FAIL Range 36 [document, 0, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1199 FAIL Range 36 [document, 0, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1260 " but got Text node "Qrstuvwx" | 1200 " but got Text node "Qrstuvwx" |
1261 FAIL Range 36 [document, 0, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1201 FAIL Range 36 [document, 0, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1262 " but got Text node "Qrstuvwx" | 1202 " but got Text node "Qrstuvwx" |
1263 PASS Range 36 [document, 0, document, 2], point 14 [paras[1].firstChild, 10] | 1203 PASS Range 36 [document, 0, document, 2], point 14 [paras[1].firstChild, 10] |
1264 PASS Range 36 [document, 0, document, 2], point 15 [paras[1].firstChild, 65535] | 1204 PASS Range 36 [document, 0, document, 2], point 15 [paras[1].firstChild, 65535] |
1265 FAIL Range 36 [document, 0, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" | 1205 FAIL Range 36 [document, 0, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" |
1266 FAIL Range 36 [document, 0, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" | 1206 FAIL Range 36 [document, 0, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" |
1267 FAIL Range 36 [document, 0, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" | 1207 FAIL Range 36 [document, 0, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" |
1268 FAIL Range 36 [document, 0, document, 2], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is ne
gative or greater than the node's length function "function () { | 1208 PASS Range 36 [document, 0, document, 2], point 19 [detachedPara1.firstChild, 9]
|
1269 selection.collapse(point[0], point[1]); | |
1270 }" did not throw | |
1271 FAIL Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" | 1209 FAIL Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" |
1272 FAIL Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" | 1210 FAIL Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" |
1273 FAIL Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" | 1211 FAIL Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" |
1274 FAIL Range 36 [document, 0, document, 2], point 23 [foreignPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 1212 PASS Range 36 [document, 0, document, 2], point 23 [foreignPara1.firstChild, 9] |
1275 selection.collapse(point[0], point[1]); | |
1276 }" did not throw | |
1277 PASS Range 36 [document, 0, document, 2], point 24 [document.documentElement, -1
] | 1213 PASS Range 36 [document, 0, document, 2], point 24 [document.documentElement, -1
] |
1278 FAIL Range 36 [document, 0, document, 2], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1214 FAIL Range 36 [document, 0, document, 2], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1279 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1215 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1280 " | 1216 " |
1281 FAIL Range 36 [document, 0, document, 2], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1217 FAIL Range 36 [document, 0, document, 2], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1282 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1218 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1283 " | 1219 " |
1284 FAIL Range 36 [document, 0, document, 2], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1220 FAIL Range 36 [document, 0, document, 2], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1285 <me... but got Text node "Qrstuvwx" | 1221 <me... but got Text node "Qrstuvwx" |
1286 PASS Range 36 [document, 0, document, 2], point 28 [document.documentElement, 7]
| 1222 PASS Range 36 [document, 0, document, 2], point 28 [document.documentElement, 7]
|
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 FAIL Range 36 [document, 0, document, 2], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | 1260 FAIL Range 36 [document, 0, document, 2], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" |
1325 PASS Range 36 [document, 0, document, 2], point 53 [comment, 96] | 1261 PASS Range 36 [document, 0, document, 2], point 53 [comment, 96] |
1326 FAIL Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" | 1262 FAIL Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" |
1327 FAIL Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" | 1263 FAIL Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" |
1328 FAIL Range 36 [document, 0, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Text nod
e "Qrstuvwx" | 1264 FAIL Range 36 [document, 0, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Text nod
e "Qrstuvwx" |
1329 FAIL Range 36 [document, 0, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" | 1265 FAIL Range 36 [document, 0, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" |
1330 FAIL Range 36 [document, 0, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Text node "Qrs
tuvwx" | 1266 FAIL Range 36 [document, 0, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Text node "Qrs
tuvwx" |
1331 PASS Range 36 [document, 0, document, 2], point 59 [xmlDoc, -1] | 1267 PASS Range 36 [document, 0, document, 2], point 59 [xmlDoc, -1] |
1332 FAIL Range 36 [document, 0, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" | 1268 FAIL Range 36 [document, 0, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" |
1333 FAIL Range 36 [document, 0, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" | 1269 FAIL Range 36 [document, 0, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" |
1334 FAIL Range 36 [document, 0, document, 2], point 62 [xmlDoc, 5] assert_throws: Mu
st throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater
than the node's length function "function () { | 1270 PASS Range 36 [document, 0, document, 2], point 62 [xmlDoc, 5] |
1335 selection.collapse(point[0], point[1]); | |
1336 }" did not throw | |
1337 FAIL Range 36 [document, 0, document, 2], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" | 1271 FAIL Range 36 [document, 0, document, 2], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" |
1338 FAIL Range 36 [document, 0, document, 2], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" | 1272 FAIL Range 36 [document, 0, document, 2], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" |
1339 FAIL Range 36 [document, 0, document, 2], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1273 FAIL Range 36 [document, 0, document, 2], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1340 FAIL Range 36 [document, 0, document, 2], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1274 FAIL Range 36 [document, 0, document, 2], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1341 FAIL Range 36 [document, 0, document, 2], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1275 FAIL Range 36 [document, 0, document, 2], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1342 FAIL Range 36 [document, 0, document, 2], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" | 1276 FAIL Range 36 [document, 0, document, 2], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" |
1343 FAIL Range 36 [document, 0, document, 2], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" | 1277 FAIL Range 36 [document, 0, document, 2], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" |
1344 FAIL Range 36 [document, 0, document, 2], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" | 1278 FAIL Range 36 [document, 0, document, 2], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" |
1345 FAIL Range 36 [document, 0, document, 2], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" | 1279 FAIL Range 36 [document, 0, document, 2], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" |
1346 FAIL Range 36 [document, 0, document, 2], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" | 1280 FAIL Range 36 [document, 0, document, 2], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" |
1347 FAIL Range 36 [document, 0, document, 2], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" | 1281 FAIL Range 36 [document, 0, document, 2], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" |
1348 FAIL Range 36 [document, 0, document, 2], point 74 [detachedProcessingInstructio
n, 12] assert_equals: focusNode must equal the node we collapse()d to expected P
rocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp
" but got Text node "Qrstuvwx" | 1282 FAIL Range 36 [document, 0, document, 2], point 74 [detachedProcessingInstructio
n, 12] assert_equals: focusNode must equal the node we collapse()d to expected P
rocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp
" but got Text node "Qrstuvwx" |
1349 FAIL Range 36 [document, 0, document, 2], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" | 1283 FAIL Range 36 [document, 0, document, 2], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" |
1350 FAIL Range 36 [document, 0, document, 2], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" | 1284 FAIL Range 36 [document, 0, document, 2], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" |
1351 FAIL Range 36 [document, 0, document, 2], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1285 FAIL Range 36 [document, 0, document, 2], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1352 FAIL Range 36 [document, 0, document, 2], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1286 FAIL Range 36 [document, 0, document, 2], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1353 FAIL Range 36 [document, 0, document, 2], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 1287 FAIL Range 36 [document, 0, document, 2], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
1354 FAIL Range 36 [document, 0, document, 2], point 80 [docfrag, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected DocumentFragment node wi
th 0 children but got Text node "Qrstuvwx" | 1288 FAIL Range 36 [document, 0, document, 2], point 80 [docfrag, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected DocumentFragment node wi
th 0 children but got Text node "Qrstuvwx" |
1355 FAIL Range 36 [document, 0, document, 2], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Qrstuvwx" | 1289 FAIL Range 36 [document, 0, document, 2], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Qrstuvwx" |
1356 FAIL Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" | 1290 FAIL Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" |
1357 PASS Range 36 [document, 0, document, 2], point 83 [doctype, 0] | 1291 PASS Range 36 [document, 0, document, 2], point 83 [doctype, 0] |
1358 FAIL Range 36 [document, 0, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 1292 FAIL Range 36 [document, 0, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
1359 selection.collapse(point[0], point[1]); | 1293 selection.collapse(point[0], point[1]); |
1360 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1294 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1361 PASS Range 36 [document, 0, document, 2], point 85 [doctype, 1] | 1295 PASS Range 36 [document, 0, document, 2], point 85 [doctype, 1] |
1362 FAIL Range 36 [document, 0, document, 2], point 86 [foreignDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | 1296 PASS Range 36 [document, 0, document, 2], point 86 [foreignDoctype, 0] |
1363 selection.collapse(point[0], point[1]); | 1297 PASS Range 36 [document, 0, document, 2], point 87 [xmlDoctype, 0] |
1364 }" did not throw | |
1365 FAIL Range 36 [document, 0, document, 2], point 87 [xmlDoctype, 0] assert_throws
: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentT
ype function "function () { | |
1366 selection.collapse(point[0], point[1]); | |
1367 }" did not throw | |
1368 PASS Range 37 [document, 1, document, 2], point 0 [paras[0].firstChild, -1] | 1298 PASS Range 37 [document, 1, document, 2], point 0 [paras[0].firstChild, -1] |
1369 PASS Range 37 [document, 1, document, 2], point 1 [paras[0].firstChild, 0] | 1299 PASS Range 37 [document, 1, document, 2], point 1 [paras[0].firstChild, 0] |
1370 FAIL Range 37 [document, 1, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1300 FAIL Range 37 [document, 1, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 |
1371 PASS Range 37 [document, 1, document, 2], point 3 [paras[0].firstChild, 2] | 1301 PASS Range 37 [document, 1, document, 2], point 3 [paras[0].firstChild, 2] |
1372 PASS Range 37 [document, 1, document, 2], point 4 [paras[0].firstChild, 8] | 1302 PASS Range 37 [document, 1, document, 2], point 4 [paras[0].firstChild, 8] |
1373 FAIL Range 37 [document, 1, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1303 FAIL Range 37 [document, 1, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 |
1374 PASS Range 37 [document, 1, document, 2], point 6 [paras[0].firstChild, 10] | 1304 PASS Range 37 [document, 1, document, 2], point 6 [paras[0].firstChild, 10] |
1375 PASS Range 37 [document, 1, document, 2], point 7 [paras[0].firstChild, 65535] | 1305 PASS Range 37 [document, 1, document, 2], point 7 [paras[0].firstChild, 65535] |
1376 PASS Range 37 [document, 1, document, 2], point 8 [paras[1].firstChild, -1] | 1306 PASS Range 37 [document, 1, document, 2], point 8 [paras[1].firstChild, -1] |
1377 FAIL Range 37 [document, 1, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1307 FAIL Range 37 [document, 1, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
1378 " but got Text node "Qrstuvwx" | 1308 " but got Text node "Qrstuvwx" |
1379 FAIL Range 37 [document, 1, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1309 FAIL Range 37 [document, 1, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1380 " but got Text node "Qrstuvwx" | 1310 " but got Text node "Qrstuvwx" |
1381 FAIL Range 37 [document, 1, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1311 FAIL Range 37 [document, 1, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1382 " but got Text node "Qrstuvwx" | 1312 " but got Text node "Qrstuvwx" |
1383 FAIL Range 37 [document, 1, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1313 FAIL Range 37 [document, 1, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1384 " but got Text node "Qrstuvwx" | 1314 " but got Text node "Qrstuvwx" |
1385 FAIL Range 37 [document, 1, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1315 FAIL Range 37 [document, 1, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
1386 " but got Text node "Qrstuvwx" | 1316 " but got Text node "Qrstuvwx" |
1387 PASS Range 37 [document, 1, document, 2], point 14 [paras[1].firstChild, 10] | 1317 PASS Range 37 [document, 1, document, 2], point 14 [paras[1].firstChild, 10] |
1388 PASS Range 37 [document, 1, document, 2], point 15 [paras[1].firstChild, 65535] | 1318 PASS Range 37 [document, 1, document, 2], point 15 [paras[1].firstChild, 65535] |
1389 FAIL Range 37 [document, 1, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" | 1319 FAIL Range 37 [document, 1, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" |
1390 FAIL Range 37 [document, 1, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" | 1320 FAIL Range 37 [document, 1, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" |
1391 FAIL Range 37 [document, 1, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" | 1321 FAIL Range 37 [document, 1, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Text node "Qrstuvwx" |
1392 FAIL Range 37 [document, 1, document, 2], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is ne
gative or greater than the node's length function "function () { | 1322 PASS Range 37 [document, 1, document, 2], point 19 [detachedPara1.firstChild, 9]
|
1393 selection.collapse(point[0], point[1]); | |
1394 }" did not throw | |
1395 FAIL Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" | 1323 FAIL Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" |
1396 FAIL Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" | 1324 FAIL Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" |
1397 FAIL Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" | 1325 FAIL Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Text node "Qrstuvwx" |
1398 FAIL Range 37 [document, 1, document, 2], point 23 [foreignPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 1326 PASS Range 37 [document, 1, document, 2], point 23 [foreignPara1.firstChild, 9] |
1399 selection.collapse(point[0], point[1]); | |
1400 }" did not throw | |
1401 PASS Range 37 [document, 1, document, 2], point 24 [document.documentElement, -1
] | 1327 PASS Range 37 [document, 1, document, 2], point 24 [document.documentElement, -1
] |
1402 FAIL Range 37 [document, 1, document, 2], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1328 FAIL Range 37 [document, 1, document, 2], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1403 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1329 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1404 " | 1330 " |
1405 FAIL Range 37 [document, 1, document, 2], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1331 FAIL Range 37 [document, 1, document, 2], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1406 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1332 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1407 " | 1333 " |
1408 FAIL Range 37 [document, 1, document, 2], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1334 FAIL Range 37 [document, 1, document, 2], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1409 <me... but got Text node "Qrstuvwx" | 1335 <me... but got Text node "Qrstuvwx" |
1410 PASS Range 37 [document, 1, document, 2], point 28 [document.documentElement, 7]
| 1336 PASS Range 37 [document, 1, document, 2], point 28 [document.documentElement, 7]
|
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 FAIL Range 37 [document, 1, document, 2], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | 1374 FAIL Range 37 [document, 1, document, 2], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" |
1449 PASS Range 37 [document, 1, document, 2], point 53 [comment, 96] | 1375 PASS Range 37 [document, 1, document, 2], point 53 [comment, 96] |
1450 FAIL Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" | 1376 FAIL Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" |
1451 FAIL Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" | 1377 FAIL Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Text node "Qrstuvwx" |
1452 FAIL Range 37 [document, 1, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Text nod
e "Qrstuvwx" | 1378 FAIL Range 37 [document, 1, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Text nod
e "Qrstuvwx" |
1453 FAIL Range 37 [document, 1, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" | 1379 FAIL Range 37 [document, 1, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" |
1454 FAIL Range 37 [document, 1, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Text node "Qrs
tuvwx" | 1380 FAIL Range 37 [document, 1, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Text node "Qrs
tuvwx" |
1455 PASS Range 37 [document, 1, document, 2], point 59 [xmlDoc, -1] | 1381 PASS Range 37 [document, 1, document, 2], point 59 [xmlDoc, -1] |
1456 FAIL Range 37 [document, 1, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" | 1382 FAIL Range 37 [document, 1, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" |
1457 FAIL Range 37 [document, 1, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" | 1383 FAIL Range 37 [document, 1, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Qrstuvwx" |
1458 FAIL Range 37 [document, 1, document, 2], point 62 [xmlDoc, 5] assert_throws: Mu
st throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater
than the node's length function "function () { | 1384 PASS Range 37 [document, 1, document, 2], point 62 [xmlDoc, 5] |
1459 selection.collapse(point[0], point[1]); | |
1460 }" did not throw | |
1461 FAIL Range 37 [document, 1, document, 2], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" | 1385 FAIL Range 37 [document, 1, document, 2], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" |
1462 FAIL Range 37 [document, 1, document, 2], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" | 1386 FAIL Range 37 [document, 1, document, 2], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "Q
rstuvwx" |
1463 FAIL Range 37 [document, 1, document, 2], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1387 FAIL Range 37 [document, 1, document, 2], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1464 FAIL Range 37 [document, 1, document, 2], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1388 FAIL Range 37 [document, 1, document, 2], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1465 FAIL Range 37 [document, 1, document, 2], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1389 FAIL Range 37 [document, 1, document, 2], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1466 FAIL Range 37 [document, 1, document, 2], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" | 1390 FAIL Range 37 [document, 1, document, 2], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" |
1467 FAIL Range 37 [document, 1, document, 2], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" | 1391 FAIL Range 37 [document, 1, document, 2], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Text node "Qrstuvwx" |
1468 FAIL Range 37 [document, 1, document, 2], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" | 1392 FAIL Range 37 [document, 1, document, 2], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" |
1469 FAIL Range 37 [document, 1, document, 2], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" | 1393 FAIL Range 37 [document, 1, document, 2], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Text node "Qrstuvwx" |
1470 FAIL Range 37 [document, 1, document, 2], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" | 1394 FAIL Range 37 [document, 1, document, 2], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" |
1471 FAIL Range 37 [document, 1, document, 2], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" | 1395 FAIL Range 37 [document, 1, document, 2], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Text node "Qrstuvwx" |
1472 FAIL Range 37 [document, 1, document, 2], point 74 [detachedProcessingInstructio
n, 12] assert_equals: focusNode must equal the node we collapse()d to expected P
rocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp
" but got Text node "Qrstuvwx" | 1396 FAIL Range 37 [document, 1, document, 2], point 74 [detachedProcessingInstructio
n, 12] assert_equals: focusNode must equal the node we collapse()d to expected P
rocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp
" but got Text node "Qrstuvwx" |
1473 FAIL Range 37 [document, 1, document, 2], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" | 1397 FAIL Range 37 [document, 1, document, 2], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" |
1474 FAIL Range 37 [document, 1, document, 2], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" | 1398 FAIL Range 37 [document, 1, document, 2], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Text node "Qrstuvwx" |
1475 FAIL Range 37 [document, 1, document, 2], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1399 FAIL Range 37 [document, 1, document, 2], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1476 FAIL Range 37 [document, 1, document, 2], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1400 FAIL Range 37 [document, 1, document, 2], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1477 FAIL Range 37 [document, 1, document, 2], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 1401 FAIL Range 37 [document, 1, document, 2], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
1478 FAIL Range 37 [document, 1, document, 2], point 80 [docfrag, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected DocumentFragment node wi
th 0 children but got Text node "Qrstuvwx" | 1402 FAIL Range 37 [document, 1, document, 2], point 80 [docfrag, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected DocumentFragment node wi
th 0 children but got Text node "Qrstuvwx" |
1479 FAIL Range 37 [document, 1, document, 2], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Qrstuvwx" | 1403 FAIL Range 37 [document, 1, document, 2], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Qrstuvwx" |
1480 FAIL Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" | 1404 FAIL Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" |
1481 PASS Range 37 [document, 1, document, 2], point 83 [doctype, 0] | 1405 PASS Range 37 [document, 1, document, 2], point 83 [doctype, 0] |
1482 FAIL Range 37 [document, 1, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 1406 FAIL Range 37 [document, 1, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
1483 selection.collapse(point[0], point[1]); | 1407 selection.collapse(point[0], point[1]); |
1484 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1408 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1485 PASS Range 37 [document, 1, document, 2], point 85 [doctype, 1] | 1409 PASS Range 37 [document, 1, document, 2], point 85 [doctype, 1] |
1486 FAIL Range 37 [document, 1, document, 2], point 86 [foreignDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | 1410 PASS Range 37 [document, 1, document, 2], point 86 [foreignDoctype, 0] |
1487 selection.collapse(point[0], point[1]); | 1411 PASS Range 37 [document, 1, document, 2], point 87 [xmlDoctype, 0] |
1488 }" did not throw | |
1489 FAIL Range 37 [document, 1, document, 2], point 87 [xmlDoctype, 0] assert_throws
: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentT
ype function "function () { | |
1490 selection.collapse(point[0], point[1]); | |
1491 }" did not throw | |
1492 PASS Range 38 [testDiv, 0, comment, 5], point 0 [paras[0].firstChild, -1] | 1412 PASS Range 38 [testDiv, 0, comment, 5], point 0 [paras[0].firstChild, -1] |
1493 PASS Range 38 [testDiv, 0, comment, 5], point 1 [paras[0].firstChild, 0] | 1413 PASS Range 38 [testDiv, 0, comment, 5], point 1 [paras[0].firstChild, 0] |
1494 FAIL Range 38 [testDiv, 0, comment, 5], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | 1414 FAIL Range 38 [testDiv, 0, comment, 5], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 |
1495 PASS Range 38 [testDiv, 0, comment, 5], point 3 [paras[0].firstChild, 2] | 1415 PASS Range 38 [testDiv, 0, comment, 5], point 3 [paras[0].firstChild, 2] |
1496 PASS Range 38 [testDiv, 0, comment, 5], point 4 [paras[0].firstChild, 8] | 1416 PASS Range 38 [testDiv, 0, comment, 5], point 4 [paras[0].firstChild, 8] |
1497 FAIL Range 38 [testDiv, 0, comment, 5], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 | 1417 FAIL Range 38 [testDiv, 0, comment, 5], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 |
1498 PASS Range 38 [testDiv, 0, comment, 5], point 6 [paras[0].firstChild, 10] | 1418 PASS Range 38 [testDiv, 0, comment, 5], point 6 [paras[0].firstChild, 10] |
1499 PASS Range 38 [testDiv, 0, comment, 5], point 7 [paras[0].firstChild, 65535] | 1419 PASS Range 38 [testDiv, 0, comment, 5], point 7 [paras[0].firstChild, 65535] |
1500 PASS Range 38 [testDiv, 0, comment, 5], point 8 [paras[1].firstChild, -1] | 1420 PASS Range 38 [testDiv, 0, comment, 5], point 8 [paras[1].firstChild, -1] |
1501 FAIL Range 38 [testDiv, 0, comment, 5], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop | 1421 FAIL Range 38 [testDiv, 0, comment, 5], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop |
1502 " but got Text node "Qrstuvwx" | 1422 " but got Text node "Qrstuvwx" |
1503 FAIL Range 38 [testDiv, 0, comment, 5], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1423 FAIL Range 38 [testDiv, 0, comment, 5], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
1504 " but got Text node "Qrstuvwx" | 1424 " but got Text node "Qrstuvwx" |
1505 FAIL Range 38 [testDiv, 0, comment, 5], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1425 FAIL Range 38 [testDiv, 0, comment, 5], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
1506 " but got Text node "Qrstuvwx" | 1426 " but got Text node "Qrstuvwx" |
1507 FAIL Range 38 [testDiv, 0, comment, 5], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1427 FAIL Range 38 [testDiv, 0, comment, 5], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
1508 " but got Text node "Qrstuvwx" | 1428 " but got Text node "Qrstuvwx" |
1509 FAIL Range 38 [testDiv, 0, comment, 5], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1429 FAIL Range 38 [testDiv, 0, comment, 5], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
1510 " but got Text node "Qrstuvwx" | 1430 " but got Text node "Qrstuvwx" |
1511 PASS Range 38 [testDiv, 0, comment, 5], point 14 [paras[1].firstChild, 10] | 1431 PASS Range 38 [testDiv, 0, comment, 5], point 14 [paras[1].firstChild, 10] |
1512 PASS Range 38 [testDiv, 0, comment, 5], point 15 [paras[1].firstChild, 65535] | 1432 PASS Range 38 [testDiv, 0, comment, 5], point 15 [paras[1].firstChild, 65535] |
1513 FAIL Range 38 [testDiv, 0, comment, 5], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Text node "Qrstuvwx" | 1433 FAIL Range 38 [testDiv, 0, comment, 5], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Text node "Qrstuvwx" |
1514 FAIL Range 38 [testDiv, 0, comment, 5], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Text node "Qrstuvwx" | 1434 FAIL Range 38 [testDiv, 0, comment, 5], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Text node "Qrstuvwx" |
1515 FAIL Range 38 [testDiv, 0, comment, 5], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Text node "Qrstuvwx" | 1435 FAIL Range 38 [testDiv, 0, comment, 5], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Text node "Qrstuvwx" |
1516 FAIL Range 38 [testDiv, 0, comment, 5], point 19 [detachedPara1.firstChild, 9] a
ssert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is nega
tive or greater than the node's length function "function () { | 1436 PASS Range 38 [testDiv, 0, comment, 5], point 19 [detachedPara1.firstChild, 9] |
1517 selection.collapse(point[0], point[1]); | |
1518 }" did not throw | |
1519 FAIL Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 1437 FAIL Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
1520 FAIL Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 1438 FAIL Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
1521 FAIL Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 1439 FAIL Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
1522 FAIL Range 38 [testDiv, 0, comment, 5], point 23 [foreignPara1.firstChild, 9] as
sert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negat
ive or greater than the node's length function "function () { | 1440 PASS Range 38 [testDiv, 0, comment, 5], point 23 [foreignPara1.firstChild, 9] |
1523 selection.collapse(point[0], point[1]); | |
1524 }" did not throw | |
1525 PASS Range 38 [testDiv, 0, comment, 5], point 24 [document.documentElement, -1] | 1441 PASS Range 38 [testDiv, 0, comment, 5], point 24 [document.documentElement, -1] |
1526 FAIL Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 1442 FAIL Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> |
1527 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1443 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1528 " | 1444 " |
1529 FAIL Range 38 [testDiv, 0, comment, 5], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 1445 FAIL Range 38 [testDiv, 0, comment, 5], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> |
1530 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1446 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1531 " | 1447 " |
1532 FAIL Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 1448 FAIL Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> |
1533 <me... but got Text node "Qrstuvwx" | 1449 <me... but got Text node "Qrstuvwx" |
1534 PASS Range 38 [testDiv, 0, comment, 5], point 28 [document.documentElement, 7] | 1450 PASS Range 38 [testDiv, 0, comment, 5], point 28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 FAIL Range 38 [testDiv, 0, comment, 5], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 1488 FAIL Range 38 [testDiv, 0, comment, 5], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" |
1573 PASS Range 38 [testDiv, 0, comment, 5], point 53 [comment, 96] | 1489 PASS Range 38 [testDiv, 0, comment, 5], point 53 [comment, 96] |
1574 FAIL Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Text node "Qrstuvwx" | 1490 FAIL Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Text node "Qrstuvwx" |
1575 FAIL Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Text node "Qrstuvwx" | 1491 FAIL Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Text node "Qrstuvwx" |
1576 FAIL Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Comment node <!--"C
ommenter" and "commentator" mean different things. I'v...--> but got Text node
"Qrstuvwx" | 1492 FAIL Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Comment node <!--"C
ommenter" and "commentator" mean different things. I'v...--> but got Text node
"Qrstuvwx" |
1577 FAIL Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Text node "I admit
that I harbor doubts about whether we really need..." but got Text node "Qrstuv
wx" | 1493 FAIL Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Text node "I admit
that I harbor doubts about whether we really need..." but got Text node "Qrstuv
wx" |
1578 FAIL Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Text node "Qrstu
vwx" | 1494 FAIL Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Text node "Qrstu
vwx" |
1579 PASS Range 38 [testDiv, 0, comment, 5], point 59 [xmlDoc, -1] | 1495 PASS Range 38 [testDiv, 0, comment, 5], point 59 [xmlDoc, -1] |
1580 FAIL Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Text node "Qrstuvwx" | 1496 FAIL Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Text node "Qrstuvwx" |
1581 FAIL Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Text node "Qrstuvwx" | 1497 FAIL Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Text node "Qrstuvwx" |
1582 FAIL Range 38 [testDiv, 0, comment, 5], point 62 [xmlDoc, 5] assert_throws: Must
throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater th
an the node's length function "function () { | 1498 PASS Range 38 [testDiv, 0, comment, 5], point 62 [xmlDoc, 5] |
1583 selection.collapse(point[0], point[1]); | |
1584 }" did not throw | |
1585 FAIL Range 38 [testDiv, 0, comment, 5], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mali
ciously created a comment that will break incautiou...--> but got Text node "Qrs
tuvwx" | 1499 FAIL Range 38 [testDiv, 0, comment, 5], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mali
ciously created a comment that will break incautiou...--> but got Text node "Qrs
tuvwx" |
1586 FAIL Range 38 [testDiv, 0, comment, 5], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mali
ciously created a comment that will break incautiou...--> but got Text node "Qrs
tuvwx" | 1500 FAIL Range 38 [testDiv, 0, comment, 5], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mali
ciously created a comment that will break incautiou...--> but got Text node "Qrs
tuvwx" |
1587 FAIL Range 38 [testDiv, 0, comment, 5], point 65 [processingInstruction, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Text node "Qrstuvwx" | 1501 FAIL Range 38 [testDiv, 0, comment, 5], point 65 [processingInstruction, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Text node "Qrstuvwx" |
1588 FAIL Range 38 [testDiv, 0, comment, 5], point 66 [processingInstruction, 5] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Text node "Qrstuvwx" | 1502 FAIL Range 38 [testDiv, 0, comment, 5], point 66 [processingInstruction, 5] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Text node "Qrstuvwx" |
1589 FAIL Range 38 [testDiv, 0, comment, 5], point 67 [processingInstruction, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Text node "Qrstuvwx" | 1503 FAIL Range 38 [testDiv, 0, comment, 5], point 67 [processingInstruction, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Text node "Qrstuvwx" |
1590 FAIL Range 38 [testDiv, 0, comment, 5], point 68 [detachedTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyz
ab" but got Text node "Qrstuvwx" | 1504 FAIL Range 38 [testDiv, 0, comment, 5], point 68 [detachedTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyz
ab" but got Text node "Qrstuvwx" |
1591 FAIL Range 38 [testDiv, 0, comment, 5], point 69 [detachedTextNode, 8] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyz
ab" but got Text node "Qrstuvwx" | 1505 FAIL Range 38 [testDiv, 0, comment, 5], point 69 [detachedTextNode, 8] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyz
ab" but got Text node "Qrstuvwx" |
1592 FAIL Range 38 [testDiv, 0, comment, 5], point 70 [detachedForeignTextNode, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" | 1506 FAIL Range 38 [testDiv, 0, comment, 5], point 70 [detachedForeignTextNode, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" |
1593 FAIL Range 38 [testDiv, 0, comment, 5], point 71 [detachedForeignTextNode, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" | 1507 FAIL Range 38 [testDiv, 0, comment, 5], point 71 [detachedForeignTextNode, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" |
1594 FAIL Range 38 [testDiv, 0, comment, 5], point 72 [detachedXmlTextNode, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Klm
nopqr" but got Text node "Qrstuvwx" | 1508 FAIL Range 38 [testDiv, 0, comment, 5], point 72 [detachedXmlTextNode, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Klm
nopqr" but got Text node "Qrstuvwx" |
1595 FAIL Range 38 [testDiv, 0, comment, 5], point 73 [detachedXmlTextNode, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Klm
nopqr" but got Text node "Qrstuvwx" | 1509 FAIL Range 38 [testDiv, 0, comment, 5], point 73 [detachedXmlTextNode, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Klm
nopqr" but got Text node "Qrstuvwx" |
1596 FAIL Range 38 [testDiv, 0, comment, 5], point 74 [detachedProcessingInstruction,
12] assert_equals: focusNode must equal the node we collapse()d to expected Pro
cessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Text node "Qrstuvwx" | 1510 FAIL Range 38 [testDiv, 0, comment, 5], point 74 [detachedProcessingInstruction,
12] assert_equals: focusNode must equal the node we collapse()d to expected Pro
cessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Text node "Qrstuvwx" |
1597 FAIL Range 38 [testDiv, 0, comment, 5], point 75 [detachedComment, 3] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--S
tuvwxyz--> but got Text node "Qrstuvwx" | 1511 FAIL Range 38 [testDiv, 0, comment, 5], point 75 [detachedComment, 3] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--S
tuvwxyz--> but got Text node "Qrstuvwx" |
1598 FAIL Range 38 [testDiv, 0, comment, 5], point 76 [detachedComment, 5] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--S
tuvwxyz--> but got Text node "Qrstuvwx" | 1512 FAIL Range 38 [testDiv, 0, comment, 5], point 76 [detachedComment, 5] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--S
tuvwxyz--> but got Text node "Qrstuvwx" |
1599 FAIL Range 38 [testDiv, 0, comment, 5], point 77 [detachedForeignComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1513 FAIL Range 38 [testDiv, 0, comment, 5], point 77 [detachedForeignComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1600 FAIL Range 38 [testDiv, 0, comment, 5], point 78 [detachedForeignComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1514 FAIL Range 38 [testDiv, 0, comment, 5], point 78 [detachedForeignComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1601 FAIL Range 38 [testDiv, 0, comment, 5], point 79 [detachedXmlComment, 2] assert_
equals: focusNode must equal the node we collapse()d to expected Comment node <!
--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 1515 FAIL Range 38 [testDiv, 0, comment, 5], point 79 [detachedXmlComment, 2] assert_
equals: focusNode must equal the node we collapse()d to expected Comment node <!
--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
1602 FAIL Range 38 [testDiv, 0, comment, 5], point 80 [docfrag, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected DocumentFragment node with
0 children but got Text node "Qrstuvwx" | 1516 FAIL Range 38 [testDiv, 0, comment, 5], point 80 [docfrag, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected DocumentFragment node with
0 children but got Text node "Qrstuvwx" |
1603 FAIL Range 38 [testDiv, 0, comment, 5], point 81 [foreignDocfrag, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected DocumentFragment no
de with 0 children but got Text node "Qrstuvwx" | 1517 FAIL Range 38 [testDiv, 0, comment, 5], point 81 [foreignDocfrag, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected DocumentFragment no
de with 0 children but got Text node "Qrstuvwx" |
1604 FAIL Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node w
ith 0 children but got Text node "Qrstuvwx" | 1518 FAIL Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node w
ith 0 children but got Text node "Qrstuvwx" |
1605 PASS Range 38 [testDiv, 0, comment, 5], point 83 [doctype, 0] | 1519 PASS Range 38 [testDiv, 0, comment, 5], point 83 [doctype, 0] |
1606 FAIL Range 38 [testDiv, 0, comment, 5], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { | 1520 FAIL Range 38 [testDiv, 0, comment, 5], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { |
1607 selection.collapse(point[0], point[1]); | 1521 selection.collapse(point[0], point[1]); |
1608 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1522 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1609 PASS Range 38 [testDiv, 0, comment, 5], point 85 [doctype, 1] | 1523 PASS Range 38 [testDiv, 0, comment, 5], point 85 [doctype, 1] |
1610 FAIL Range 38 [testDiv, 0, comment, 5], point 86 [foreignDoctype, 0] assert_thro
ws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Documen
tType function "function () { | 1524 PASS Range 38 [testDiv, 0, comment, 5], point 86 [foreignDoctype, 0] |
1611 selection.collapse(point[0], point[1]); | 1525 PASS Range 38 [testDiv, 0, comment, 5], point 87 [xmlDoctype, 0] |
1612 }" did not throw | |
1613 FAIL Range 38 [testDiv, 0, comment, 5], point 87 [xmlDoctype, 0] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | |
1614 selection.collapse(point[0], point[1]); | |
1615 }" did not throw | |
1616 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 0 [paras[0].firstChild
, -1] | 1526 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 0 [paras[0].firstChild
, -1] |
1617 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 1 [paras[0].firstChild
, 0] | 1527 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 1 [paras[0].firstChild
, 0] |
1618 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 1528 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 |
1619 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 3 [paras[0].firstChild
, 2] | 1529 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 3 [paras[0].firstChild
, 2] |
1620 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 4 [paras[0].firstChild
, 8] | 1530 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 4 [paras[0].firstChild
, 8] |
1621 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 1531 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 |
1622 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 6 [paras[0].firstChild
, 10] | 1532 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 6 [paras[0].firstChild
, 10] |
1623 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 7 [paras[0].firstChild
, 65535] | 1533 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 7 [paras[0].firstChild
, 65535] |
1624 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 8 [paras[1].firstChild
, -1] | 1534 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 8 [paras[1].firstChild
, -1] |
1625 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 1535 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop |
1626 " but got Text node "Qrstuvwx" | 1536 " but got Text node "Qrstuvwx" |
1627 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 1537 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
1628 " but got Text node "Qrstuvwx" | 1538 " but got Text node "Qrstuvwx" |
1629 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 1539 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
1630 " but got Text node "Qrstuvwx" | 1540 " but got Text node "Qrstuvwx" |
1631 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 1541 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
1632 " but got Text node "Qrstuvwx" | 1542 " but got Text node "Qrstuvwx" |
1633 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 1543 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop |
1634 " but got Text node "Qrstuvwx" | 1544 " but got Text node "Qrstuvwx" |
1635 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 14 [paras[1].firstChil
d, 10] | 1545 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 14 [paras[1].firstChil
d, 10] |
1636 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 15 [paras[1].firstChil
d, 65535] | 1546 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 15 [paras[1].firstChil
d, 65535] |
1637 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 1547 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
1638 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 1548 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
1639 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 1549 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
1640 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 19 [detachedPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 1550 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 19 [detachedPara1.firs
tChild, 9] |
1641 selection.collapse(point[0], point[1]); | |
1642 }" did not throw | |
1643 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 1551 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
1644 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 1552 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
1645 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 1553 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
1646 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 23 [foreignPara1.first
Child, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the off
set is negative or greater than the node's length function "function () { | 1554 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 23 [foreignPara1.first
Child, 9] |
1647 selection.collapse(point[0], point[1]); | |
1648 }" did not throw | |
1649 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 24 [document.documentE
lement, -1] | 1555 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 24 [document.documentE
lement, -1] |
1650 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 1556 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> |
1651 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1557 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1652 " | 1558 " |
1653 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 1559 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> |
1654 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1560 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1655 " | 1561 " |
1656 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 1562 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> |
1657 <me... but got Text node "Qrstuvwx" | 1563 <me... but got Text node "Qrstuvwx" |
1658 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 28 [document.documentE
lement, 7] | 1564 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 28 [document.documentE
lement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1696 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1602 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" |
1697 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 53 [comment, 96] | 1603 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 53 [comment, 96] |
1698 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" | 1604 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" |
1699 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" | 1605 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Text node "Qrstuvwx" |
1700 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Text node "Qrstuvwx" | 1606 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Text node "Qrstuvwx" |
1701 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" | 1607 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" |
1702 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" | 1608 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" |
1703 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 59 [xmlDoc, -1] | 1609 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 59 [xmlDoc, -1] |
1704 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 1610 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
1705 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 1611 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
1706 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 62 [xmlDoc, 5] assert_
throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative o
r greater than the node's length function "function () { | 1612 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 62 [xmlDoc, 5] |
1707 selection.collapse(point[0], point[1]); | |
1708 }" did not throw | |
1709 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" | 1613 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" |
1710 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" | 1614 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" |
1711 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1615 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1712 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1616 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1713 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1617 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1714 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 1618 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
1715 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 1619 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
1716 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | 1620 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" |
1717 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | 1621 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" |
1718 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | 1622 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" |
1719 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | 1623 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" |
1720 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Text node "Qrstuvwx" | 1624 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Text node "Qrstuvwx" |
1721 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1625 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1722 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1626 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1723 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1627 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1724 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1628 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1725 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 1629 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
1726 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Text node "Qrstuvwx" | 1630 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Text node "Qrstuvwx" |
1727 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Qrstuvwx" | 1631 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Qrstuvwx" |
1728 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" | 1632 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" |
1729 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 83 [doctype, 0] | 1633 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 83 [doctype, 0] |
1730 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 1634 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
1731 selection.collapse(point[0], point[1]); | 1635 selection.collapse(point[0], point[1]); |
1732 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1636 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1733 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 85 [doctype, 1] | 1637 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 85 [doctype, 1] |
1734 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 86 [foreignDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 1638 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 86 [foreignDoctype, 0]
|
1735 selection.collapse(point[0], point[1]); | 1639 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 87 [xmlDoctype, 0] |
1736 }" did not throw | |
1737 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 87 [xmlDoctype, 0] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
1738 selection.collapse(point[0], point[1]); | |
1739 }" did not throw | |
1740 PASS Range 40 [paras[3], 1, comment, 8], point 0 [paras[0].firstChild, -1] | 1640 PASS Range 40 [paras[3], 1, comment, 8], point 0 [paras[0].firstChild, -1] |
1741 PASS Range 40 [paras[3], 1, comment, 8], point 1 [paras[0].firstChild, 0] | 1641 PASS Range 40 [paras[3], 1, comment, 8], point 1 [paras[0].firstChild, 0] |
1742 FAIL Range 40 [paras[3], 1, comment, 8], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1642 FAIL Range 40 [paras[3], 1, comment, 8], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 |
1743 PASS Range 40 [paras[3], 1, comment, 8], point 3 [paras[0].firstChild, 2] | 1643 PASS Range 40 [paras[3], 1, comment, 8], point 3 [paras[0].firstChild, 2] |
1744 PASS Range 40 [paras[3], 1, comment, 8], point 4 [paras[0].firstChild, 8] | 1644 PASS Range 40 [paras[3], 1, comment, 8], point 4 [paras[0].firstChild, 8] |
1745 FAIL Range 40 [paras[3], 1, comment, 8], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1645 FAIL Range 40 [paras[3], 1, comment, 8], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 |
1746 PASS Range 40 [paras[3], 1, comment, 8], point 6 [paras[0].firstChild, 10] | 1646 PASS Range 40 [paras[3], 1, comment, 8], point 6 [paras[0].firstChild, 10] |
1747 PASS Range 40 [paras[3], 1, comment, 8], point 7 [paras[0].firstChild, 65535] | 1647 PASS Range 40 [paras[3], 1, comment, 8], point 7 [paras[0].firstChild, 65535] |
1748 PASS Range 40 [paras[3], 1, comment, 8], point 8 [paras[1].firstChild, -1] | 1648 PASS Range 40 [paras[3], 1, comment, 8], point 8 [paras[1].firstChild, -1] |
1749 FAIL Range 40 [paras[3], 1, comment, 8], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1649 FAIL Range 40 [paras[3], 1, comment, 8], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
1750 " but got Text node "Qrstuvwx" | 1650 " but got Text node "Qrstuvwx" |
1751 FAIL Range 40 [paras[3], 1, comment, 8], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1651 FAIL Range 40 [paras[3], 1, comment, 8], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
1752 " but got Text node "Qrstuvwx" | 1652 " but got Text node "Qrstuvwx" |
1753 FAIL Range 40 [paras[3], 1, comment, 8], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1653 FAIL Range 40 [paras[3], 1, comment, 8], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
1754 " but got Text node "Qrstuvwx" | 1654 " but got Text node "Qrstuvwx" |
1755 FAIL Range 40 [paras[3], 1, comment, 8], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1655 FAIL Range 40 [paras[3], 1, comment, 8], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
1756 " but got Text node "Qrstuvwx" | 1656 " but got Text node "Qrstuvwx" |
1757 FAIL Range 40 [paras[3], 1, comment, 8], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1657 FAIL Range 40 [paras[3], 1, comment, 8], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
1758 " but got Text node "Qrstuvwx" | 1658 " but got Text node "Qrstuvwx" |
1759 PASS Range 40 [paras[3], 1, comment, 8], point 14 [paras[1].firstChild, 10] | 1659 PASS Range 40 [paras[3], 1, comment, 8], point 14 [paras[1].firstChild, 10] |
1760 PASS Range 40 [paras[3], 1, comment, 8], point 15 [paras[1].firstChild, 65535] | 1660 PASS Range 40 [paras[3], 1, comment, 8], point 15 [paras[1].firstChild, 65535] |
1761 FAIL Range 40 [paras[3], 1, comment, 8], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" | 1661 FAIL Range 40 [paras[3], 1, comment, 8], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" |
1762 FAIL Range 40 [paras[3], 1, comment, 8], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" | 1662 FAIL Range 40 [paras[3], 1, comment, 8], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" |
1763 FAIL Range 40 [paras[3], 1, comment, 8], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" | 1663 FAIL Range 40 [paras[3], 1, comment, 8], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Text node "Qrstuvwx" |
1764 FAIL Range 40 [paras[3], 1, comment, 8], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 1664 PASS Range 40 [paras[3], 1, comment, 8], point 19 [detachedPara1.firstChild, 9] |
1765 selection.collapse(point[0], point[1]); | |
1766 }" did not throw | |
1767 FAIL Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 1665 FAIL Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
1768 FAIL Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 1666 FAIL Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
1769 FAIL Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" | 1667 FAIL Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Text node "Qrstuvwx" |
1770 FAIL Range 40 [paras[3], 1, comment, 8], point 23 [foreignPara1.firstChild, 9] a
ssert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is nega
tive or greater than the node's length function "function () { | 1668 PASS Range 40 [paras[3], 1, comment, 8], point 23 [foreignPara1.firstChild, 9] |
1771 selection.collapse(point[0], point[1]); | |
1772 }" did not throw | |
1773 PASS Range 40 [paras[3], 1, comment, 8], point 24 [document.documentElement, -1]
| 1669 PASS Range 40 [paras[3], 1, comment, 8], point 24 [document.documentElement, -1]
|
1774 FAIL Range 40 [paras[3], 1, comment, 8], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1670 FAIL Range 40 [paras[3], 1, comment, 8], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1775 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1671 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1776 " | 1672 " |
1777 FAIL Range 40 [paras[3], 1, comment, 8], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1673 FAIL Range 40 [paras[3], 1, comment, 8], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1778 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1674 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1779 " | 1675 " |
1780 FAIL Range 40 [paras[3], 1, comment, 8], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1676 FAIL Range 40 [paras[3], 1, comment, 8], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
1781 <me... but got Text node "Qrstuvwx" | 1677 <me... but got Text node "Qrstuvwx" |
1782 PASS Range 40 [paras[3], 1, comment, 8], point 28 [document.documentElement, 7] | 1678 PASS Range 40 [paras[3], 1, comment, 8], point 28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1820 FAIL Range 40 [paras[3], 1, comment, 8], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 1716 FAIL Range 40 [paras[3], 1, comment, 8], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" |
1821 PASS Range 40 [paras[3], 1, comment, 8], point 53 [comment, 96] | 1717 PASS Range 40 [paras[3], 1, comment, 8], point 53 [comment, 96] |
1822 FAIL Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" | 1718 FAIL Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" |
1823 FAIL Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" | 1719 FAIL Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Text node "Qrstuvwx" |
1824 FAIL Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Text node
"Qrstuvwx" | 1720 FAIL Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Text node
"Qrstuvwx" |
1825 FAIL Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Text node "Qrstu
vwx" | 1721 FAIL Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Text node "Qrstu
vwx" |
1826 FAIL Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" | 1722 FAIL Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Text node "Qrst
uvwx" |
1827 PASS Range 40 [paras[3], 1, comment, 8], point 59 [xmlDoc, -1] | 1723 PASS Range 40 [paras[3], 1, comment, 8], point 59 [xmlDoc, -1] |
1828 FAIL Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" | 1724 FAIL Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" |
1829 FAIL Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" | 1725 FAIL Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Text node "Qrstuvwx" |
1830 FAIL Range 40 [paras[3], 1, comment, 8], point 62 [xmlDoc, 5] assert_throws: Mus
t throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater t
han the node's length function "function () { | 1726 PASS Range 40 [paras[3], 1, comment, 8], point 62 [xmlDoc, 5] |
1831 selection.collapse(point[0], point[1]); | |
1832 }" did not throw | |
1833 FAIL Range 40 [paras[3], 1, comment, 8], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" | 1727 FAIL Range 40 [paras[3], 1, comment, 8], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" |
1834 FAIL Range 40 [paras[3], 1, comment, 8], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" | 1728 FAIL Range 40 [paras[3], 1, comment, 8], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Text node "Qr
stuvwx" |
1835 FAIL Range 40 [paras[3], 1, comment, 8], point 65 [processingInstruction, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1729 FAIL Range 40 [paras[3], 1, comment, 8], point 65 [processingInstruction, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1836 FAIL Range 40 [paras[3], 1, comment, 8], point 66 [processingInstruction, 5] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1730 FAIL Range 40 [paras[3], 1, comment, 8], point 66 [processingInstruction, 5] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1837 FAIL Range 40 [paras[3], 1, comment, 8], point 67 [processingInstruction, 9] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" | 1731 FAIL Range 40 [paras[3], 1, comment, 8], point 67 [processingInstruction, 9] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Text node "Qrstuvwx" |
1838 FAIL Range 40 [paras[3], 1, comment, 8], point 68 [detachedTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" | 1732 FAIL Range 40 [paras[3], 1, comment, 8], point 68 [detachedTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" |
1839 FAIL Range 40 [paras[3], 1, comment, 8], point 69 [detachedTextNode, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" | 1733 FAIL Range 40 [paras[3], 1, comment, 8], point 69 [detachedTextNode, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Text node "Qrstuvwx" |
1840 FAIL Range 40 [paras[3], 1, comment, 8], point 70 [detachedForeignTextNode, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" | 1734 FAIL Range 40 [paras[3], 1, comment, 8], point 70 [detachedForeignTextNode, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" |
1841 FAIL Range 40 [paras[3], 1, comment, 8], point 71 [detachedForeignTextNode, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" | 1735 FAIL Range 40 [paras[3], 1, comment, 8], point 71 [detachedForeignTextNode, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Text node "Qrstuvwx" |
1842 FAIL Range 40 [paras[3], 1, comment, 8], point 72 [detachedXmlTextNode, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" | 1736 FAIL Range 40 [paras[3], 1, comment, 8], point 72 [detachedXmlTextNode, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" |
1843 FAIL Range 40 [paras[3], 1, comment, 8], point 73 [detachedXmlTextNode, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" | 1737 FAIL Range 40 [paras[3], 1, comment, 8], point 73 [detachedXmlTextNode, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Text node "Qrstuvwx" |
1844 FAIL Range 40 [paras[3], 1, comment, 8], point 74 [detachedProcessingInstruction
, 12] assert_equals: focusNode must equal the node we collapse()d to expected Pr
ocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Text node "Qrstuvwx" | 1738 FAIL Range 40 [paras[3], 1, comment, 8], point 74 [detachedProcessingInstruction
, 12] assert_equals: focusNode must equal the node we collapse()d to expected Pr
ocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Text node "Qrstuvwx" |
1845 FAIL Range 40 [paras[3], 1, comment, 8], point 75 [detachedComment, 3] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" | 1739 FAIL Range 40 [paras[3], 1, comment, 8], point 75 [detachedComment, 3] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" |
1846 FAIL Range 40 [paras[3], 1, comment, 8], point 76 [detachedComment, 5] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" | 1740 FAIL Range 40 [paras[3], 1, comment, 8], point 76 [detachedComment, 5] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Text node "Qrstuvwx" |
1847 FAIL Range 40 [paras[3], 1, comment, 8], point 77 [detachedForeignComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1741 FAIL Range 40 [paras[3], 1, comment, 8], point 77 [detachedForeignComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1848 FAIL Range 40 [paras[3], 1, comment, 8], point 78 [detachedForeignComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1742 FAIL Range 40 [paras[3], 1, comment, 8], point 78 [detachedForeignComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1849 FAIL Range 40 [paras[3], 1, comment, 8], point 79 [detachedXmlComment, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 1743 FAIL Range 40 [paras[3], 1, comment, 8], point 79 [detachedXmlComment, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
1850 FAIL Range 40 [paras[3], 1, comment, 8], point 80 [docfrag, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected DocumentFragment node wit
h 0 children but got Text node "Qrstuvwx" | 1744 FAIL Range 40 [paras[3], 1, comment, 8], point 80 [docfrag, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected DocumentFragment node wit
h 0 children but got Text node "Qrstuvwx" |
1851 FAIL Range 40 [paras[3], 1, comment, 8], point 81 [foreignDocfrag, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected DocumentFragment n
ode with 0 children but got Text node "Qrstuvwx" | 1745 FAIL Range 40 [paras[3], 1, comment, 8], point 81 [foreignDocfrag, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected DocumentFragment n
ode with 0 children but got Text node "Qrstuvwx" |
1852 FAIL Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" | 1746 FAIL Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Qrstuvwx" |
1853 PASS Range 40 [paras[3], 1, comment, 8], point 83 [doctype, 0] | 1747 PASS Range 40 [paras[3], 1, comment, 8], point 83 [doctype, 0] |
1854 FAIL Range 40 [paras[3], 1, comment, 8], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | 1748 FAIL Range 40 [paras[3], 1, comment, 8], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { |
1855 selection.collapse(point[0], point[1]); | 1749 selection.collapse(point[0], point[1]); |
1856 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1750 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1857 PASS Range 40 [paras[3], 1, comment, 8], point 85 [doctype, 1] | 1751 PASS Range 40 [paras[3], 1, comment, 8], point 85 [doctype, 1] |
1858 FAIL Range 40 [paras[3], 1, comment, 8], point 86 [foreignDoctype, 0] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | 1752 PASS Range 40 [paras[3], 1, comment, 8], point 86 [foreignDoctype, 0] |
1859 selection.collapse(point[0], point[1]); | 1753 PASS Range 40 [paras[3], 1, comment, 8], point 87 [xmlDoctype, 0] |
1860 }" did not throw | |
1861 FAIL Range 40 [paras[3], 1, comment, 8], point 87 [xmlDoctype, 0] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | |
1862 selection.collapse(point[0], point[1]); | |
1863 }" did not throw | |
1864 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 0 [paras[0].firstChild, -1] | 1754 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 0 [paras[0].firstChild, -1] |
1865 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 1 [paras[0].firstChild, 0] | 1755 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 1 [paras[0].firstChild, 0] |
1866 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 | 1756 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 |
1867 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 3 [paras[0].firstChild, 2] | 1757 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 3 [paras[0].firstChild, 2] |
1868 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 4 [paras[0].firstChild, 8] | 1758 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 4 [paras[0].firstChild, 8] |
1869 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 | 1759 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 |
1870 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 6 [paras[0].firstChild, 10] | 1760 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 6 [paras[0].firstChild, 10] |
1871 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 7 [paras[0].firstChild, 6553
5] | 1761 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 7 [paras[0].firstChild, 6553
5] |
1872 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 8 [paras[1].firstChild, -1] | 1762 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 8 [paras[1].firstChild, -1] |
1873 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop | 1763 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop |
1874 " but got Text node "Qrstuvwx" | 1764 " but got Text node "Qrstuvwx" |
1875 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 1765 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
1876 " but got Text node "Qrstuvwx" | 1766 " but got Text node "Qrstuvwx" |
1877 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 1767 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
1878 " but got Text node "Qrstuvwx" | 1768 " but got Text node "Qrstuvwx" |
1879 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 1769 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
1880 " but got Text node "Qrstuvwx" | 1770 " but got Text node "Qrstuvwx" |
1881 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 1771 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
1882 " but got Text node "Qrstuvwx" | 1772 " but got Text node "Qrstuvwx" |
1883 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 14 [paras[1].firstChild, 10]
| 1773 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 14 [paras[1].firstChild, 10]
|
1884 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 15 [paras[1].firstChild, 655
35] | 1774 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 15 [paras[1].firstChild, 655
35] |
1885 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1775 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
1886 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1776 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
1887 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1777 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
1888 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 19 [detachedPara1.firstChild
, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset i
s negative or greater than the node's length function "function () { | 1778 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 19 [detachedPara1.firstChild
, 9] |
1889 selection.collapse(point[0], point[1]); | |
1890 }" did not throw | |
1891 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1779 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
1892 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1780 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
1893 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1781 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
1894 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 23 [foreignPara1.firstChild,
9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 1782 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 23 [foreignPara1.firstChild,
9] |
1895 selection.collapse(point[0], point[1]); | |
1896 }" did not throw | |
1897 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 24 [document.documentElement
, -1] | 1783 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 24 [document.documentElement
, -1] |
1898 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 1784 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> |
1899 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1785 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1900 " | 1786 " |
1901 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 1787 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> |
1902 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1788 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1903 " | 1789 " |
1904 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 1790 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> |
1905 <me... but got Text node "Qrstuvwx" | 1791 <me... but got Text node "Qrstuvwx" |
1906 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 28 [document.documentElement
, 7] | 1792 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 28 [document.documentElement
, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1944 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | 1830 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" |
1945 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 53 [comment, 96] | 1831 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 53 [comment, 96] |
1946 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1832 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1947 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1833 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1948 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1834 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
1949 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1835 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
1950 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 1836 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
1951 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 59 [xmlDoc, -1] | 1837 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 59 [xmlDoc, -1] |
1952 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1838 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1953 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1839 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1954 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 62 [xmlDoc, 5] assert_throws
: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or grea
ter than the node's length function "function () { | 1840 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 62 [xmlDoc, 5] |
1955 selection.collapse(point[0], point[1]); | |
1956 }" did not throw | |
1957 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 63 [xmlComment, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1841 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 63 [xmlComment, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1958 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 64 [xmlComment, 4] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1842 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 64 [xmlComment, 4] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1959 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 65 [processingInstruction, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 1843 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 65 [processingInstruction, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
1960 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 66 [processingInstruction, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 1844 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 66 [processingInstruction, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
1961 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 67 [processingInstruction, 9
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 1845 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 67 [processingInstruction, 9
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
1962 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 68 [detachedTextNode, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 1846 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 68 [detachedTextNode, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
1963 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 69 [detachedTextNode, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 1847 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 69 [detachedTextNode, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
1964 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 70 [detachedForeignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1848 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 70 [detachedForeignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
1965 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 71 [detachedForeignTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1849 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 71 [detachedForeignTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
1966 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 72 [detachedXmlTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1850 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 72 [detachedXmlTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
1967 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 73 [detachedXmlTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1851 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 73 [detachedXmlTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
1968 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 74 [detachedProcessingInstru
ction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 1852 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 74 [detachedProcessingInstru
ction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
1969 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 75 [detachedComment, 3] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1853 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 75 [detachedComment, 3] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
1970 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 76 [detachedComment, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1854 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 76 [detachedComment, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
1971 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 77 [detachedForeignComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1855 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 77 [detachedForeignComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
1972 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 78 [detachedForeignComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1856 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 78 [detachedForeignComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
1973 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 79 [detachedXmlComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1857 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 79 [detachedXmlComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
1974 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 80 [docfrag, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1858 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 80 [docfrag, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1975 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 81 [foreignDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1859 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 81 [foreignDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
1976 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1860 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
1977 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 83 [doctype, 0] | 1861 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 83 [doctype, 0] |
1978 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | 1862 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { |
1979 selection.collapse(point[0], point[1]); | 1863 selection.collapse(point[0], point[1]); |
1980 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1864 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
1981 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 85 [doctype, 1] | 1865 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 85 [doctype, 1] |
1982 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 86 [foreignDoctype, 0] asser
t_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a D
ocumentType function "function () { | 1866 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 86 [foreignDoctype, 0] |
1983 selection.collapse(point[0], point[1]); | 1867 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 87 [xmlDoctype, 0] |
1984 }" did not throw | |
1985 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 87 [xmlDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | |
1986 selection.collapse(point[0], point[1]); | |
1987 }" did not throw | |
1988 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 0 [paras[0].firstChild,
-1] | 1868 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 0 [paras[0].firstChild,
-1] |
1989 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 1 [paras[0].firstChild,
0] | 1869 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 1 [paras[0].firstChild,
0] |
1990 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 2 [paras[0].firstChild,
1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1
but got 2 | 1870 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 2 [paras[0].firstChild,
1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1
but got 2 |
1991 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 3 [paras[0].firstChild,
2] | 1871 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 3 [paras[0].firstChild,
2] |
1992 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 4 [paras[0].firstChild,
8] | 1872 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 4 [paras[0].firstChild,
8] |
1993 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 5 [paras[0].firstChild,
9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9
but got 10 | 1873 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 5 [paras[0].firstChild,
9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9
but got 10 |
1994 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 6 [paras[0].firstChild,
10] | 1874 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 6 [paras[0].firstChild,
10] |
1995 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 7 [paras[0].firstChild,
65535] | 1875 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 7 [paras[0].firstChild,
65535] |
1996 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 8 [paras[1].firstChild,
-1] | 1876 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 8 [paras[1].firstChild,
-1] |
1997 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 9 [paras[1].firstChild,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1877 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 9 [paras[1].firstChild,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop |
1998 " but got Text node "Qrstuvwx" | 1878 " but got Text node "Qrstuvwx" |
1999 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 10 [paras[1].firstChild,
1] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1879 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 10 [paras[1].firstChild,
1] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop |
2000 " but got Text node "Qrstuvwx" | 1880 " but got Text node "Qrstuvwx" |
2001 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 11 [paras[1].firstChild,
2] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1881 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 11 [paras[1].firstChild,
2] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop |
2002 " but got Text node "Qrstuvwx" | 1882 " but got Text node "Qrstuvwx" |
2003 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1883 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop |
2004 " but got Text node "Qrstuvwx" | 1884 " but got Text node "Qrstuvwx" |
2005 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 13 [paras[1].firstChild,
9] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1885 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 13 [paras[1].firstChild,
9] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop |
2006 " but got Text node "Qrstuvwx" | 1886 " but got Text node "Qrstuvwx" |
2007 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 14 [paras[1].firstChild,
10] | 1887 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 14 [paras[1].firstChild,
10] |
2008 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 15 [paras[1].firstChild,
65535] | 1888 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 15 [paras[1].firstChild,
65535] |
2009 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 16 [detachedPara1.firstC
hild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1889 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 16 [detachedPara1.firstC
hild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2010 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 17 [detachedPara1.firstC
hild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1890 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 17 [detachedPara1.firstC
hild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2011 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 18 [detachedPara1.firstC
hild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1891 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 18 [detachedPara1.firstC
hild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2012 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 19 [detachedPara1.firstC
hild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offs
et is negative or greater than the node's length function "function () { | 1892 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 19 [detachedPara1.firstC
hild, 9] |
2013 selection.collapse(point[0], point[1]); | |
2014 }" did not throw | |
2015 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstCh
ild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1893 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstCh
ild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2016 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstCh
ild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1894 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstCh
ild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2017 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstCh
ild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1895 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstCh
ild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2018 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 23 [foreignPara1.firstCh
ild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offse
t is negative or greater than the node's length function "function () { | 1896 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 23 [foreignPara1.firstCh
ild, 9] |
2019 selection.collapse(point[0], point[1]); | |
2020 }" did not throw | |
2021 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 24 [document.documentEle
ment, -1] | 1897 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 24 [document.documentEle
ment, -1] |
2022 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentEle
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | 1898 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentEle
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> |
2023 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1899 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2024 " | 1900 " |
2025 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 26 [document.documentEle
ment, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | 1901 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 26 [document.documentEle
ment, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> |
2026 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1902 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2027 " | 1903 " |
2028 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentEle
ment, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | 1904 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentEle
ment, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> |
2029 <me... but got Text node "Qrstuvwx" | 1905 <me... but got Text node "Qrstuvwx" |
2030 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 28 [document.documentEle
ment, 7] | 1906 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 28 [document.documentEle
ment, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2068 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 52 [comment, 4] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Alphabet soup?--> but got Text node "Qrstuvwx" | 1944 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 52 [comment, 4] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Alphabet soup?--> but got Text node "Qrstuvwx" |
2069 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 53 [comment, 96] | 1945 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 53 [comment, 96] |
2070 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1946 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2071 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1947 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2072 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1948 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2073 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1949 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2074 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 1950 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
2075 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 59 [xmlDoc, -1] | 1951 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 59 [xmlDoc, -1] |
2076 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1952 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2077 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1953 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2078 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 62 [xmlDoc, 5] assert_th
rows: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or
greater than the node's length function "function () { | 1954 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 62 [xmlDoc, 5] |
2079 selection.collapse(point[0], point[1]); | |
2080 }" did not throw | |
2081 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 63 [xmlComment, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1955 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 63 [xmlComment, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2082 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 64 [xmlComment, 4] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1956 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 64 [xmlComment, 4] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2083 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 65 [processingInstructio
n, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1957 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 65 [processingInstructio
n, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2084 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 66 [processingInstructio
n, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1958 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 66 [processingInstructio
n, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2085 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 67 [processingInstructio
n, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1959 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 67 [processingInstructio
n, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2086 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 68 [detachedTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 1960 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 68 [detachedTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
2087 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 69 [detachedTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 1961 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 69 [detachedTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
2088 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 70 [detachedForeignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1962 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 70 [detachedForeignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2089 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 71 [detachedForeignTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1963 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 71 [detachedForeignTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2090 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 72 [detachedXmlTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1964 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 72 [detachedXmlTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2091 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 73 [detachedXmlTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1965 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 73 [detachedXmlTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2092 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 74 [detachedProcessingIn
struction, 12] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1966 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 74 [detachedProcessingIn
struction, 12] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2093 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 75 [detachedComment, 3]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1967 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 75 [detachedComment, 3]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2094 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 76 [detachedComment, 5]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1968 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 76 [detachedComment, 5]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2095 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 77 [detachedForeignComme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1969 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 77 [detachedForeignComme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2096 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 78 [detachedForeignComme
nt, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1970 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 78 [detachedForeignComme
nt, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2097 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 79 [detachedXmlComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1971 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 79 [detachedXmlComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2098 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 80 [docfrag, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1972 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 80 [docfrag, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2099 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 81 [foreignDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1973 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 81 [foreignDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2100 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1974 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2101 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 83 [doctype, 0] | 1975 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 83 [doctype, 0] |
2102 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 84 [doctype, -17] assert
_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Do
cumentType function "function () { | 1976 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 84 [doctype, -17] assert
_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Do
cumentType function "function () { |
2103 selection.collapse(point[0], point[1]); | 1977 selection.collapse(point[0], point[1]); |
2104 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 1978 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2105 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 85 [doctype, 1] | 1979 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 85 [doctype, 1] |
2106 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 86 [foreignDoctype, 0] a
ssert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { | 1980 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 86 [foreignDoctype, 0] |
2107 selection.collapse(point[0], point[1]); | 1981 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 87 [xmlDoctype, 0] |
2108 }" did not throw | |
2109 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 87 [xmlDoctype, 0] asser
t_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a D
ocumentType function "function () { | |
2110 selection.collapse(point[0], point[1]); | |
2111 }" did not throw | |
2112 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 0 [paras[0].first
Child, -1] | 1982 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 0 [paras[0].first
Child, -1] |
2113 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 1 [paras[0].first
Child, 0] | 1983 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 1 [paras[0].first
Child, 0] |
2114 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 2 [paras[0].first
Child, 1] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 1 but got 2 | 1984 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 2 [paras[0].first
Child, 1] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 1 but got 2 |
2115 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 3 [paras[0].first
Child, 2] | 1985 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 3 [paras[0].first
Child, 2] |
2116 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 4 [paras[0].first
Child, 8] | 1986 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 4 [paras[0].first
Child, 8] |
2117 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 5 [paras[0].first
Child, 9] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 9 but got 10 | 1987 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 5 [paras[0].first
Child, 9] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 9 but got 10 |
2118 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 6 [paras[0].first
Child, 10] | 1988 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 6 [paras[0].first
Child, 10] |
2119 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 7 [paras[0].first
Child, 65535] | 1989 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 7 [paras[0].first
Child, 65535] |
2120 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 8 [paras[1].first
Child, -1] | 1990 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 8 [paras[1].first
Child, -1] |
2121 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 9 [paras[1].first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 1991 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 9 [paras[1].first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
2122 " but got Text node "Qrstuvwx" | 1992 " but got Text node "Qrstuvwx" |
2123 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 10 [paras[1].firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 1993 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 10 [paras[1].firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop |
2124 " but got Text node "Qrstuvwx" | 1994 " but got Text node "Qrstuvwx" |
2125 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 11 [paras[1].firs
tChild, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 1995 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 11 [paras[1].firs
tChild, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop |
2126 " but got Text node "Qrstuvwx" | 1996 " but got Text node "Qrstuvwx" |
2127 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 1997 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop |
2128 " but got Text node "Qrstuvwx" | 1998 " but got Text node "Qrstuvwx" |
2129 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 13 [paras[1].firs
tChild, 9] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 1999 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 13 [paras[1].firs
tChild, 9] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop |
2130 " but got Text node "Qrstuvwx" | 2000 " but got Text node "Qrstuvwx" |
2131 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 14 [paras[1].firs
tChild, 10] | 2001 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 14 [paras[1].firs
tChild, 10] |
2132 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 15 [paras[1].firs
tChild, 65535] | 2002 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 15 [paras[1].firs
tChild, 65535] |
2133 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 16 [detachedPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2003 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 16 [detachedPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2134 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 17 [detachedPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2004 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 17 [detachedPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2135 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 18 [detachedPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2005 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 18 [detachedPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2136 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 19 [detachedPara1
.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if t
he offset is negative or greater than the node's length function "function () { | 2006 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 19 [detachedPara1
.firstChild, 9] |
2137 selection.collapse(point[0], point[1]); | |
2138 }" did not throw | |
2139 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2007 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2140 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2008 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2141 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2009 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2142 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 23 [foreignPara1.
firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 2010 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 23 [foreignPara1.
firstChild, 9] |
2143 selection.collapse(point[0], point[1]); | |
2144 }" did not throw | |
2145 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 24 [document.docu
mentElement, -1] | 2011 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 24 [document.docu
mentElement, -1] |
2146 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.docu
mentElement, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | 2012 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.docu
mentElement, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> |
2147 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2013 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2148 " | 2014 " |
2149 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 26 [document.docu
mentElement, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | 2015 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 26 [document.docu
mentElement, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> |
2150 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2016 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2151 " | 2017 " |
2152 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.docu
mentElement, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | 2018 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.docu
mentElement, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> |
2153 <me... but got Text node "Qrstuvwx" | 2019 <me... but got Text node "Qrstuvwx" |
2154 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 28 [document.docu
mentElement, 7] | 2020 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 28 [document.docu
mentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2192 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 52 [comment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2058 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 52 [comment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
2193 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 53 [comment, 96] | 2059 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 53 [comment, 96] |
2194 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 2060 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
2195 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 2061 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
2196 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignCommen
t, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2062 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignCommen
t, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2197 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2063 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2198 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNo
de, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 2064 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNo
de, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2199 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 59 [xmlDoc, -1] | 2065 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 59 [xmlDoc, -1] |
2200 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2066 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
2201 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2067 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
2202 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 62 [xmlDoc, 5] as
sert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negat
ive or greater than the node's length function "function () { | 2068 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 62 [xmlDoc, 5] |
2203 selection.collapse(point[0], point[1]); | |
2204 }" did not throw | |
2205 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 63 [xmlComment, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 2069 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 63 [xmlComment, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
2206 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 64 [xmlComment, 4
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 2070 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 64 [xmlComment, 4
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
2207 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 65 [processingIns
truction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2071 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 65 [processingIns
truction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2208 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 66 [processingIns
truction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2072 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 66 [processingIns
truction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2209 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 67 [processingIns
truction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2073 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 67 [processingIns
truction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2210 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 68 [detachedTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 2074 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 68 [detachedTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2211 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 69 [detachedTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 2075 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 69 [detachedTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2212 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 70 [detachedForei
gnTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2076 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 70 [detachedForei
gnTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2213 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 71 [detachedForei
gnTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2077 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 71 [detachedForei
gnTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2214 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 72 [detachedXmlTe
xtNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2078 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 72 [detachedXmlTe
xtNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
2215 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 73 [detachedXmlTe
xtNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2079 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 73 [detachedXmlTe
xtNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
2216 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 74 [detachedProce
ssingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2080 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 74 [detachedProce
ssingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2217 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 75 [detachedComme
nt, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2081 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 75 [detachedComme
nt, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2218 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 76 [detachedComme
nt, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2082 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 76 [detachedComme
nt, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2219 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 77 [detachedForei
gnComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2083 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 77 [detachedForei
gnComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2220 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 78 [detachedForei
gnComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2084 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 78 [detachedForei
gnComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2221 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 79 [detachedXmlCo
mment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 2085 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 79 [detachedXmlCo
mment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
2222 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 80 [docfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2086 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 80 [docfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2223 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 81 [foreignDocfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2087 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 81 [foreignDocfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2224 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 2088 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
2225 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 83 [doctype, 0] | 2089 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 83 [doctype, 0] |
2226 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 2090 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { |
2227 selection.collapse(point[0], point[1]); | 2091 selection.collapse(point[0], point[1]); |
2228 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2092 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2229 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 85 [doctype, 1] | 2093 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 85 [doctype, 1] |
2230 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 86 [foreignDoctyp
e, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 2094 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 86 [foreignDoctyp
e, 0] |
2231 selection.collapse(point[0], point[1]); | 2095 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 87 [xmlDoctype, 0
] |
2232 }" did not throw | |
2233 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 87 [xmlDoctype, 0
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | |
2234 selection.collapse(point[0], point[1]); | |
2235 }" did not throw | |
2236 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 0 [paras[0].firstChild, -1] | 2096 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 0 [paras[0].firstChild, -1] |
2237 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 1 [paras[0].firstChild, 0] | 2097 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 1 [paras[0].firstChild, 0] |
2238 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 2 [paras[0].firstChild, 1] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | 2098 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 2 [paras[0].firstChild, 1] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 |
2239 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 3 [paras[0].firstChild, 2] | 2099 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 3 [paras[0].firstChild, 2] |
2240 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 4 [paras[0].firstChild, 8] | 2100 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 4 [paras[0].firstChild, 8] |
2241 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 5 [paras[0].firstChild, 9] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 | 2101 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 5 [paras[0].firstChild, 9] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 |
2242 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 6 [paras[0].firstChild, 10] | 2102 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 6 [paras[0].firstChild, 10] |
2243 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 7 [paras[0].firstChild, 65535] | 2103 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 7 [paras[0].firstChild, 65535] |
2244 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 8 [paras[1].firstChild, -1] | 2104 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 8 [paras[1].firstChild, -1] |
2245 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 9 [paras[1].firstChild, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Ijklmn
op | 2105 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 9 [paras[1].firstChild, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Ijklmn
op |
2246 " but got Text node "Qrstuvwx" | 2106 " but got Text node "Qrstuvwx" |
2247 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 10 [paras[1].firstChild, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | 2107 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 10 [paras[1].firstChild, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop |
2248 " but got Text node "Qrstuvwx" | 2108 " but got Text node "Qrstuvwx" |
2249 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 11 [paras[1].firstChild, 2] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | 2109 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 11 [paras[1].firstChild, 2] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop |
2250 " but got Text node "Qrstuvwx" | 2110 " but got Text node "Qrstuvwx" |
2251 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 12 [paras[1].firstChild, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | 2111 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 12 [paras[1].firstChild, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop |
2252 " but got Text node "Qrstuvwx" | 2112 " but got Text node "Qrstuvwx" |
2253 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 13 [paras[1].firstChild, 9] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | 2113 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 13 [paras[1].firstChild, 9] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop |
2254 " but got Text node "Qrstuvwx" | 2114 " but got Text node "Qrstuvwx" |
2255 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 14 [paras[1].firstChild, 10] | 2115 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 14 [paras[1].firstChild, 10] |
2256 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 15 [paras[1].firstChild, 65535] | 2116 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 15 [paras[1].firstChild, 65535] |
2257 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 16 [detachedPara1.firstChild, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2117 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 16 [detachedPara1.firstChild, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
2258 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 17 [detachedPara1.firstChild, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2118 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 17 [detachedPara1.firstChild, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
2259 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 18 [detachedPara1.firstChild, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2119 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 18 [detachedPara1.firstChild, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
2260 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 19 [detachedPara1.firstChild, 9] ass
ert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negati
ve or greater than the node's length function "function () { | 2120 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 19 [detachedPara1.firstChild, 9] |
2261 selection.collapse(point[0], point[1]); | |
2262 }" did not throw | |
2263 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2121 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2264 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2122 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2265 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2123 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2266 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 23 [foreignPara1.firstChild, 9] asse
rt_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negativ
e or greater than the node's length function "function () { | 2124 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 23 [foreignPara1.firstChild, 9] |
2267 selection.collapse(point[0], point[1]); | |
2268 }" did not throw | |
2269 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 24 [document.documentElement, -1] | 2125 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 24 [document.documentElement, -1] |
2270 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | 2126 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> |
2271 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2127 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2272 " | 2128 " |
2273 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 26 [document.documentElement, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | 2129 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 26 [document.documentElement, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> |
2274 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2130 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2275 " | 2131 " |
2276 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | 2132 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> |
2277 <me... but got Text node "Qrstuvwx" | 2133 <me... but got Text node "Qrstuvwx" |
2278 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 28 [document.documentElement, 7] | 2134 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2316 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 52 [comment, 4] assert_equals: focus
Node must equal the node we collapse()d to expected Comment node <!--Alphabet so
up?--> but got Text node "Qrstuvwx" | 2172 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 52 [comment, 4] assert_equals: focus
Node must equal the node we collapse()d to expected Comment node <!--Alphabet so
up?--> but got Text node "Qrstuvwx" |
2317 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 53 [comment, 96] | 2173 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 53 [comment, 96] |
2318 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2174 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2319 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2175 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2320 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2176 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2321 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2177 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2322 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2178 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2323 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 59 [xmlDoc, -1] | 2179 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 59 [xmlDoc, -1] |
2324 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2180 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2325 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2181 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2326 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 62 [xmlDoc, 5] assert_throws: Must t
hrow INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater than
the node's length function "function () { | 2182 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 62 [xmlDoc, 5] |
2327 selection.collapse(point[0], point[1]); | |
2328 }" did not throw | |
2329 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 63 [xmlComment, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2183 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 63 [xmlComment, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2330 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 64 [xmlComment, 4] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2184 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 64 [xmlComment, 4] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2331 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 65 [processingInstruction, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2185 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 65 [processingInstruction, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2332 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 66 [processingInstruction, 5] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2186 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 66 [processingInstruction, 5] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2333 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 67 [processingInstruction, 9] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2187 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 67 [processingInstruction, 9] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2334 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 68 [detachedTextNode, 0] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2188 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 68 [detachedTextNode, 0] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2335 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 69 [detachedTextNode, 8] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2189 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 69 [detachedTextNode, 8] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2336 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 70 [detachedForeignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2190 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 70 [detachedForeignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2337 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 71 [detachedForeignTextNode, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2191 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 71 [detachedForeignTextNode, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2338 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 72 [detachedXmlTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2192 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 72 [detachedXmlTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2339 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 73 [detachedXmlTextNode, 8] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2193 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 73 [detachedXmlTextNode, 8] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2340 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 74 [detachedProcessingInstruction, 1
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2194 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 74 [detachedProcessingInstruction, 1
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2341 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 75 [detachedComment, 3] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2195 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 75 [detachedComment, 3] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2342 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 76 [detachedComment, 5] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2196 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 76 [detachedComment, 5] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2343 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 77 [detachedForeignComment, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2197 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 77 [detachedForeignComment, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2344 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 78 [detachedForeignComment, 4] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2198 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 78 [detachedForeignComment, 4] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2345 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 79 [detachedXmlComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2199 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 79 [detachedXmlComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2346 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 80 [docfrag, 0] assert_equals: selec
tion.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2200 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 80 [docfrag, 0] assert_equals: selec
tion.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2347 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 81 [foreignDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2201 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 81 [foreignDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2348 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2202 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2349 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 83 [doctype, 0] | 2203 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 83 [doctype, 0] |
2350 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 84 [doctype, -17] assert_throws: Mus
t throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType f
unction "function () { | 2204 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 84 [doctype, -17] assert_throws: Mus
t throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType f
unction "function () { |
2351 selection.collapse(point[0], point[1]); | 2205 selection.collapse(point[0], point[1]); |
2352 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2206 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2353 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 85 [doctype, 1] | 2207 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 85 [doctype, 1] |
2354 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 86 [foreignDoctype, 0] assert_throws
: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentT
ype function "function () { | 2208 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 86 [foreignDoctype, 0] |
2355 selection.collapse(point[0], point[1]); | 2209 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 87 [xmlDoctype, 0] |
2356 }" did not throw | |
2357 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 87 [xmlDoctype, 0] assert_throws: Mu
st throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { | |
2358 selection.collapse(point[0], point[1]); | |
2359 }" did not throw | |
2360 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 0 [paras[0].firstChild, -1] | 2210 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 0 [paras[0].firstChild, -1] |
2361 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 1 [paras[0].firstChild, 0] | 2211 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 1 [paras[0].firstChild, 0] |
2362 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 2212 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 |
2363 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 3 [paras[0].firstChild, 2] | 2213 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 3 [paras[0].firstChild, 2] |
2364 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 4 [paras[0].firstChild, 8] | 2214 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 4 [paras[0].firstChild, 8] |
2365 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 2215 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 |
2366 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 6 [paras[0].firstChild, 10] | 2216 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 6 [paras[0].firstChild, 10] |
2367 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 7 [paras[0].firstChild, 65535] | 2217 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 7 [paras[0].firstChild, 65535] |
2368 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 8 [paras[1].firstChild, -1] | 2218 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 8 [paras[1].firstChild, -1] |
2369 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 2219 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop |
2370 " but got Text node "Qrstuvwx" | 2220 " but got Text node "Qrstuvwx" |
2371 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 2221 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
2372 " but got Text node "Qrstuvwx" | 2222 " but got Text node "Qrstuvwx" |
2373 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 2223 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
2374 " but got Text node "Qrstuvwx" | 2224 " but got Text node "Qrstuvwx" |
2375 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 2225 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
2376 " but got Text node "Qrstuvwx" | 2226 " but got Text node "Qrstuvwx" |
2377 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 2227 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop |
2378 " but got Text node "Qrstuvwx" | 2228 " but got Text node "Qrstuvwx" |
2379 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 14 [paras[1].firstChild, 10] | 2229 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 14 [paras[1].firstChild, 10] |
2380 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 15 [paras[1].firstChild, 65535] | 2230 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 15 [paras[1].firstChild, 65535] |
2381 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2231 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
2382 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2232 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
2383 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2233 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
2384 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is ne
gative or greater than the node's length function "function () { | 2234 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 19 [detachedPara1.firstChild, 9]
|
2385 selection.collapse(point[0], point[1]); | |
2386 }" did not throw | |
2387 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2235 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2388 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2236 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2389 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2237 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2390 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 23 [foreignPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 2238 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 23 [foreignPara1.firstChild, 9] |
2391 selection.collapse(point[0], point[1]); | |
2392 }" did not throw | |
2393 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 24 [document.documentElement, -1
] | 2239 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 24 [document.documentElement, -1
] |
2394 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 2240 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
2395 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2241 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2396 " | 2242 " |
2397 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 2243 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
2398 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2244 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2399 " | 2245 " |
2400 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 2246 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> |
2401 <me... but got Text node "Qrstuvwx" | 2247 <me... but got Text node "Qrstuvwx" |
2402 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 28 [document.documentElement, 7]
| 2248 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 28 [document.documentElement, 7]
|
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2440 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | 2286 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" |
2441 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 53 [comment, 96] | 2287 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 53 [comment, 96] |
2442 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2288 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2443 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2289 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2444 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2290 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2445 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2291 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2446 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2292 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2447 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 59 [xmlDoc, -1] | 2293 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 59 [xmlDoc, -1] |
2448 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2294 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2449 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2295 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2450 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 62 [xmlDoc, 5] assert_throws: Mu
st throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater
than the node's length function "function () { | 2296 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 62 [xmlDoc, 5] |
2451 selection.collapse(point[0], point[1]); | |
2452 }" did not throw | |
2453 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 63 [xmlComment, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2297 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 63 [xmlComment, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2454 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 64 [xmlComment, 4] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2298 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 64 [xmlComment, 4] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2455 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 65 [processingInstruction, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2299 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 65 [processingInstruction, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
2456 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 66 [processingInstruction, 5] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2300 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 66 [processingInstruction, 5] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
2457 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 67 [processingInstruction, 9] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2301 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 67 [processingInstruction, 9] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
2458 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 68 [detachedTextNode, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2302 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 68 [detachedTextNode, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2459 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 69 [detachedTextNode, 8] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2303 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 69 [detachedTextNode, 8] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2460 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 70 [detachedForeignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2304 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 70 [detachedForeignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2461 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 71 [detachedForeignTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2305 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 71 [detachedForeignTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2462 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 72 [detachedXmlTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2306 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 72 [detachedXmlTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2463 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 73 [detachedXmlTextNode, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2307 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 73 [detachedXmlTextNode, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2464 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 74 [detachedProcessingInstructio
n, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2308 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 74 [detachedProcessingInstructio
n, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2465 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 75 [detachedComment, 3] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2309 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 75 [detachedComment, 3] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2466 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 76 [detachedComment, 5] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2310 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 76 [detachedComment, 5] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2467 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 77 [detachedForeignComment, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2311 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 77 [detachedForeignComment, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2468 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 78 [detachedForeignComment, 4] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2312 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 78 [detachedForeignComment, 4] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2469 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 79 [detachedXmlComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2313 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 79 [detachedXmlComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
2470 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 80 [docfrag, 0] assert_equals: s
election.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2314 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 80 [docfrag, 0] assert_equals: s
election.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2471 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 81 [foreignDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2315 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 81 [foreignDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2472 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2316 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
2473 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 83 [doctype, 0] | 2317 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 83 [doctype, 0] |
2474 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 2318 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
2475 selection.collapse(point[0], point[1]); | 2319 selection.collapse(point[0], point[1]); |
2476 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2320 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2477 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 85 [doctype, 1] | 2321 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 85 [doctype, 1] |
2478 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 86 [foreignDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | 2322 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 86 [foreignDoctype, 0] |
2479 selection.collapse(point[0], point[1]); | 2323 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 87 [xmlDoctype, 0] |
2480 }" did not throw | |
2481 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 87 [xmlDoctype, 0] assert_throws
: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentT
ype function "function () { | |
2482 selection.collapse(point[0], point[1]); | |
2483 }" did not throw | |
2484 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 0 [paras[0].firs
tChild, -1] | 2324 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 0 [paras[0].firs
tChild, -1] |
2485 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 1 [paras[0].firs
tChild, 0] | 2325 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 1 [paras[0].firs
tChild, 0] |
2486 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 2 [paras[0].firs
tChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 1 but got 2 | 2326 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 2 [paras[0].firs
tChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 1 but got 2 |
2487 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 3 [paras[0].firs
tChild, 2] | 2327 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 3 [paras[0].firs
tChild, 2] |
2488 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 4 [paras[0].firs
tChild, 8] | 2328 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 4 [paras[0].firs
tChild, 8] |
2489 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 5 [paras[0].firs
tChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 9 but got 10 | 2329 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 5 [paras[0].firs
tChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 9 but got 10 |
2490 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 6 [paras[0].firs
tChild, 10] | 2330 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 6 [paras[0].firs
tChild, 10] |
2491 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 7 [paras[0].firs
tChild, 65535] | 2331 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 7 [paras[0].firs
tChild, 65535] |
2492 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 8 [paras[1].firs
tChild, -1] | 2332 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 8 [paras[1].firs
tChild, -1] |
2493 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 9 [paras[1].firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 2333 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 9 [paras[1].firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop |
2494 " but got Text node "Qrstuvwx" | 2334 " but got Text node "Qrstuvwx" |
2495 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 10 [paras[1].fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | 2335 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 10 [paras[1].fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop |
2496 " but got Text node "Qrstuvwx" | 2336 " but got Text node "Qrstuvwx" |
2497 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 11 [paras[1].fir
stChild, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | 2337 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 11 [paras[1].fir
stChild, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop |
2498 " but got Text node "Qrstuvwx" | 2338 " but got Text node "Qrstuvwx" |
2499 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | 2339 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop |
2500 " but got Text node "Qrstuvwx" | 2340 " but got Text node "Qrstuvwx" |
2501 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 13 [paras[1].fir
stChild, 9] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | 2341 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 13 [paras[1].fir
stChild, 9] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop |
2502 " but got Text node "Qrstuvwx" | 2342 " but got Text node "Qrstuvwx" |
2503 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 14 [paras[1].fir
stChild, 10] | 2343 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 14 [paras[1].fir
stChild, 10] |
2504 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 15 [paras[1].fir
stChild, 65535] | 2344 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 15 [paras[1].fir
stChild, 65535] |
2505 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 16 [detachedPara
1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2345 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 16 [detachedPara
1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2506 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 17 [detachedPara
1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2346 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 17 [detachedPara
1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2507 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 18 [detachedPara
1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2347 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 18 [detachedPara
1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2508 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 19 [detachedPara
1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if
the offset is negative or greater than the node's length function "function () { | 2348 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 19 [detachedPara
1.firstChild, 9] |
2509 selection.collapse(point[0], point[1]); | |
2510 }" did not throw | |
2511 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2349 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2512 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2350 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2513 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2351 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2514 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 23 [foreignPara1
.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if t
he offset is negative or greater than the node's length function "function () { | 2352 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 23 [foreignPara1
.firstChild, 9] |
2515 selection.collapse(point[0], point[1]); | |
2516 }" did not throw | |
2517 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 24 [document.doc
umentElement, -1] | 2353 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 24 [document.doc
umentElement, -1] |
2518 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.doc
umentElement, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | 2354 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.doc
umentElement, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> |
2519 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2355 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2520 " | 2356 " |
2521 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 26 [document.doc
umentElement, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | 2357 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 26 [document.doc
umentElement, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> |
2522 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2358 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2523 " | 2359 " |
2524 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.doc
umentElement, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | 2360 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.doc
umentElement, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> |
2525 <me... but got Text node "Qrstuvwx" | 2361 <me... but got Text node "Qrstuvwx" |
2526 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 28 [document.doc
umentElement, 7] | 2362 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 28 [document.doc
umentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2564 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 52 [comment, 4]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2400 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 52 [comment, 4]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
2565 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 53 [comment, 96]
| 2401 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 53 [comment, 96]
|
2566 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2402 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2567 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2403 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2568 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2404 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2569 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 2405 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2570 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextN
ode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2406 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextN
ode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2571 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 59 [xmlDoc, -1] | 2407 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 59 [xmlDoc, -1] |
2572 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2408 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2573 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2409 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2574 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 62 [xmlDoc, 5] a
ssert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is nega
tive or greater than the node's length function "function () { | 2410 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 62 [xmlDoc, 5] |
2575 selection.collapse(point[0], point[1]); | |
2576 }" did not throw | |
2577 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 63 [xmlComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2411 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 63 [xmlComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2578 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 64 [xmlComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2412 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 64 [xmlComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2579 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 65 [processingIn
struction, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2413 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 65 [processingIn
struction, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2580 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 66 [processingIn
struction, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2414 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 66 [processingIn
struction, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2581 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 67 [processingIn
struction, 9] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2415 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 67 [processingIn
struction, 9] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2582 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 68 [detachedText
Node, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2416 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 68 [detachedText
Node, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2583 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 69 [detachedText
Node, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2417 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 69 [detachedText
Node, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2584 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 70 [detachedFore
ignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2418 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 70 [detachedFore
ignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2585 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 71 [detachedFore
ignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 2419 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 71 [detachedFore
ignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2586 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 72 [detachedXmlT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2420 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 72 [detachedXmlT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
2587 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 73 [detachedXmlT
extNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2421 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 73 [detachedXmlT
extNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
2588 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 74 [detachedProc
essingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2422 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 74 [detachedProc
essingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2589 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 75 [detachedComm
ent, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 2423 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 75 [detachedComm
ent, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2590 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 76 [detachedComm
ent, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 2424 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 76 [detachedComm
ent, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
2591 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 77 [detachedFore
ignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2425 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 77 [detachedFore
ignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2592 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 78 [detachedFore
ignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2426 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 78 [detachedFore
ignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2593 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 79 [detachedXmlC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2427 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 79 [detachedXmlC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
2594 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 80 [docfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2428 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 80 [docfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
2595 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 81 [foreignDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2429 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 81 [foreignDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
2596 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2430 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
2597 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 83 [doctype, 0] | 2431 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 83 [doctype, 0] |
2598 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 84 [doctype, -17
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 2432 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 84 [doctype, -17
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { |
2599 selection.collapse(point[0], point[1]); | 2433 selection.collapse(point[0], point[1]); |
2600 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2434 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2601 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 85 [doctype, 1] | 2435 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 85 [doctype, 1] |
2602 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 86 [foreignDocty
pe, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 2436 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 86 [foreignDocty
pe, 0] |
2603 selection.collapse(point[0], point[1]); | 2437 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 87 [xmlDoctype,
0] |
2604 }" did not throw | |
2605 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 87 [xmlDoctype,
0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the nod
e is a DocumentType function "function () { | |
2606 selection.collapse(point[0], point[1]); | |
2607 }" did not throw | |
2608 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 0
[paras[0].firstChild, -1] | 2438 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 0
[paras[0].firstChild, -1] |
2609 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 1
[paras[0].firstChild, 0] | 2439 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 1
[paras[0].firstChild, 0] |
2610 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | 2440 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 |
2611 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 3
[paras[0].firstChild, 2] | 2441 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 3
[paras[0].firstChild, 2] |
2612 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 4
[paras[0].firstChild, 8] | 2442 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 4
[paras[0].firstChild, 8] |
2613 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | 2443 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 |
2614 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 6
[paras[0].firstChild, 10] | 2444 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 6
[paras[0].firstChild, 10] |
2615 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 7
[paras[0].firstChild, 65535] | 2445 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 7
[paras[0].firstChild, 65535] |
2616 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 8
[paras[1].firstChild, -1] | 2446 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 8
[paras[1].firstChild, -1] |
2617 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | 2447 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop |
2618 " but got Text node "Qrstuvwx" | 2448 " but got Text node "Qrstuvwx" |
2619 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2449 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2620 " but got Text node "Qrstuvwx" | 2450 " but got Text node "Qrstuvwx" |
2621 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2451 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2622 " but got Text node "Qrstuvwx" | 2452 " but got Text node "Qrstuvwx" |
2623 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2453 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2624 " but got Text node "Qrstuvwx" | 2454 " but got Text node "Qrstuvwx" |
2625 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2455 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2626 " but got Text node "Qrstuvwx" | 2456 " but got Text node "Qrstuvwx" |
2627 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 14
[paras[1].firstChild, 10] | 2457 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 14
[paras[1].firstChild, 10] |
2628 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 15
[paras[1].firstChild, 65535] | 2458 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 15
[paras[1].firstChild, 65535] |
2629 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2459 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2630 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2460 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2631 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2461 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2632 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 19
[detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when col
lapse()ing if the offset is negative or greater than the node's length function
"function () { | 2462 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 19
[detachedPara1.firstChild, 9] |
2633 selection.collapse(point[0], point[1]); | |
2634 }" did not throw | |
2635 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2463 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2636 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2464 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2637 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2465 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2638 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 23
[foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when coll
apse()ing if the offset is negative or greater than the node's length function "
function () { | 2466 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 23
[foreignPara1.firstChild, 9] |
2639 selection.collapse(point[0], point[1]); | |
2640 }" did not throw | |
2641 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 24
[document.documentElement, -1] | 2467 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 24
[document.documentElement, -1] |
2642 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2468 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> |
2643 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2469 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2644 " | 2470 " |
2645 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2471 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> |
2646 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2472 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2647 " | 2473 " |
2648 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2474 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> |
2649 <me... but got Text node "Qrstuvwx" | 2475 <me... but got Text node "Qrstuvwx" |
2650 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 28
[document.documentElement, 7] | 2476 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 28
[document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2688 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2514 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
2689 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 53
[comment, 96] | 2515 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 53
[comment, 96] |
2690 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2516 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2691 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2517 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2692 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2518 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2693 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2519 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2694 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2520 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2695 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 59
[xmlDoc, -1] | 2521 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 59
[xmlDoc, -1] |
2696 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2522 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2697 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2523 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2698 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 62
[xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 2524 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 62
[xmlDoc, 5] |
2699 selection.collapse(point[0], point[1]); | |
2700 }" did not throw | |
2701 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2525 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2702 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2526 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2703 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2527 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2704 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2528 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2705 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2529 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2706 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2530 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2707 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2531 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2708 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2532 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2709 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2533 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2710 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2534 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2711 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2535 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2712 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2536 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
2713 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2537 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2714 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2538 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2715 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2539 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2716 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2540 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2717 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2541 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2718 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2542 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2719 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2543 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2720 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2544 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2721 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 83
[doctype, 0] | 2545 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 83
[doctype, 0] |
2722 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | 2546 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { |
2723 selection.collapse(point[0], point[1]); | 2547 selection.collapse(point[0], point[1]); |
2724 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2548 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2725 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 85
[doctype, 1] | 2549 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 85
[doctype, 1] |
2726 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 86
[foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collap
se()ing if the node is a DocumentType function "function () { | 2550 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 86
[foreignDoctype, 0] |
2727 selection.collapse(point[0], point[1]); | 2551 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 87
[xmlDoctype, 0] |
2728 }" did not throw | |
2729 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 87
[xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { | |
2730 selection.collapse(point[0], point[1]); | |
2731 }" did not throw | |
2732 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 0
[paras[0].firstChild, -1] | 2552 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 0
[paras[0].firstChild, -1] |
2733 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 1
[paras[0].firstChild, 0] | 2553 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 1
[paras[0].firstChild, 0] |
2734 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | 2554 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 |
2735 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 3
[paras[0].firstChild, 2] | 2555 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 3
[paras[0].firstChild, 2] |
2736 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 4
[paras[0].firstChild, 8] | 2556 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 4
[paras[0].firstChild, 8] |
2737 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | 2557 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 |
2738 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 6
[paras[0].firstChild, 10] | 2558 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 6
[paras[0].firstChild, 10] |
2739 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 7
[paras[0].firstChild, 65535] | 2559 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 7
[paras[0].firstChild, 65535] |
2740 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 8
[paras[1].firstChild, -1] | 2560 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 8
[paras[1].firstChild, -1] |
2741 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | 2561 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop |
2742 " but got Text node "Qrstuvwx" | 2562 " but got Text node "Qrstuvwx" |
2743 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2563 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2744 " but got Text node "Qrstuvwx" | 2564 " but got Text node "Qrstuvwx" |
2745 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2565 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2746 " but got Text node "Qrstuvwx" | 2566 " but got Text node "Qrstuvwx" |
2747 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2567 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2748 " but got Text node "Qrstuvwx" | 2568 " but got Text node "Qrstuvwx" |
2749 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2569 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop |
2750 " but got Text node "Qrstuvwx" | 2570 " but got Text node "Qrstuvwx" |
2751 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 14
[paras[1].firstChild, 10] | 2571 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 14
[paras[1].firstChild, 10] |
2752 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 15
[paras[1].firstChild, 65535] | 2572 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 15
[paras[1].firstChild, 65535] |
2753 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2573 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2754 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2574 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2755 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2575 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2756 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 19
[detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when col
lapse()ing if the offset is negative or greater than the node's length function
"function () { | 2576 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 19
[detachedPara1.firstChild, 9] |
2757 selection.collapse(point[0], point[1]); | |
2758 }" did not throw | |
2759 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2577 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2760 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2578 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2761 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2579 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2762 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 23
[foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when coll
apse()ing if the offset is negative or greater than the node's length function "
function () { | 2580 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 23
[foreignPara1.firstChild, 9] |
2763 selection.collapse(point[0], point[1]); | |
2764 }" did not throw | |
2765 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 24
[document.documentElement, -1] | 2581 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 24
[document.documentElement, -1] |
2766 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2582 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> |
2767 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2583 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2768 " | 2584 " |
2769 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2585 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> |
2770 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2586 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2771 " | 2587 " |
2772 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2588 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> |
2773 <me... but got Text node "Qrstuvwx" | 2589 <me... but got Text node "Qrstuvwx" |
2774 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 28
[document.documentElement, 7] | 2590 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 28
[document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2812 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2628 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
2813 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 53
[comment, 96] | 2629 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 53
[comment, 96] |
2814 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2630 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2815 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2631 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2816 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2632 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2817 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2633 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2818 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2634 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2819 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 59
[xmlDoc, -1] | 2635 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 59
[xmlDoc, -1] |
2820 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2636 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2821 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2637 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2822 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 62
[xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 2638 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 62
[xmlDoc, 5] |
2823 selection.collapse(point[0], point[1]); | |
2824 }" did not throw | |
2825 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2639 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2826 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2640 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2827 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2641 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2828 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2642 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2829 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2643 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2830 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2644 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2831 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2645 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2832 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2646 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2833 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2647 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2834 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2648 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2835 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2649 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2836 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2650 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
2837 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2651 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2838 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2652 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2839 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2653 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2840 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2654 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2841 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2655 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2842 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2656 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2843 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2657 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2844 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2658 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2845 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 83
[doctype, 0] | 2659 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 83
[doctype, 0] |
2846 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | 2660 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { |
2847 selection.collapse(point[0], point[1]); | 2661 selection.collapse(point[0], point[1]); |
2848 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2662 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2849 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 85
[doctype, 1] | 2663 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 85
[doctype, 1] |
2850 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 86
[foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collap
se()ing if the node is a DocumentType function "function () { | 2664 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 86
[foreignDoctype, 0] |
2851 selection.collapse(point[0], point[1]); | 2665 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 87
[xmlDoctype, 0] |
2852 }" did not throw | |
2853 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 87
[xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { | |
2854 selection.collapse(point[0], point[1]); | |
2855 }" did not throw | |
2856 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 0 [paras[0
].firstChild, -1] | 2666 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 0 [paras[0
].firstChild, -1] |
2857 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 1 [paras[0
].firstChild, 0] | 2667 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 1 [paras[0
].firstChild, 0] |
2858 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 2668 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 |
2859 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 3 [paras[0
].firstChild, 2] | 2669 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 3 [paras[0
].firstChild, 2] |
2860 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 4 [paras[0
].firstChild, 8] | 2670 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 4 [paras[0
].firstChild, 8] |
2861 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 2671 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 |
2862 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 6 [paras[0
].firstChild, 10] | 2672 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 6 [paras[0
].firstChild, 10] |
2863 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 7 [paras[0
].firstChild, 65535] | 2673 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 7 [paras[0
].firstChild, 65535] |
2864 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 8 [paras[1
].firstChild, -1] | 2674 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 8 [paras[1
].firstChild, -1] |
2865 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2675 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2866 " but got Text node "Qrstuvwx" | 2676 " but got Text node "Qrstuvwx" |
2867 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2677 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2868 " but got Text node "Qrstuvwx" | 2678 " but got Text node "Qrstuvwx" |
2869 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2679 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2870 " but got Text node "Qrstuvwx" | 2680 " but got Text node "Qrstuvwx" |
2871 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2681 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2872 " but got Text node "Qrstuvwx" | 2682 " but got Text node "Qrstuvwx" |
2873 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2683 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2874 " but got Text node "Qrstuvwx" | 2684 " but got Text node "Qrstuvwx" |
2875 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 14 [paras[
1].firstChild, 10] | 2685 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 14 [paras[
1].firstChild, 10] |
2876 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 15 [paras[
1].firstChild, 65535] | 2686 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 15 [paras[
1].firstChild, 65535] |
2877 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2687 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2878 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2688 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2879 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2689 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2880 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 19 [detach
edPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()i
ng if the offset is negative or greater than the node's length function "functio
n () { | 2690 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 19 [detach
edPara1.firstChild, 9] |
2881 selection.collapse(point[0], point[1]); | |
2882 }" did not throw | |
2883 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2691 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2884 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2692 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2885 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2693 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2886 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 23 [foreig
nPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 2694 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 23 [foreig
nPara1.firstChild, 9] |
2887 selection.collapse(point[0], point[1]); | |
2888 }" did not throw | |
2889 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 24 [docume
nt.documentElement, -1] | 2695 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 24 [docume
nt.documentElement, -1] |
2890 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2696 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> |
2891 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2697 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2892 " | 2698 " |
2893 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2699 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> |
2894 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2700 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2895 " | 2701 " |
2896 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2702 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> |
2897 <me... but got Text node "Qrstuvwx" | 2703 <me... but got Text node "Qrstuvwx" |
2898 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 28 [docume
nt.documentElement, 7] | 2704 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 28 [docume
nt.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2936 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2742 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
2937 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 53 [commen
t, 96] | 2743 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 53 [commen
t, 96] |
2938 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2744 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2939 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2745 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2940 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2746 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2941 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2747 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2942 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2748 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2943 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 59 [xmlDoc
, -1] | 2749 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 59 [xmlDoc
, -1] |
2944 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2750 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2945 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2751 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2946 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 62 [xmlDoc
, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset i
s negative or greater than the node's length function "function () { | 2752 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 62 [xmlDoc
, 5] |
2947 selection.collapse(point[0], point[1]); | |
2948 }" did not throw | |
2949 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 63 [xmlCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2753 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 63 [xmlCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2950 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 64 [xmlCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2754 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 64 [xmlCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2951 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 65 [proces
singInstruction, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2755 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 65 [proces
singInstruction, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
2952 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 66 [proces
singInstruction, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2756 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 66 [proces
singInstruction, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
2953 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 67 [proces
singInstruction, 9] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2757 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 67 [proces
singInstruction, 9] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
2954 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 68 [detach
edTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2758 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 68 [detach
edTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2955 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 69 [detach
edTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2759 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 69 [detach
edTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2956 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 70 [detach
edForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2760 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 70 [detach
edForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2957 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 71 [detach
edForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2761 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 71 [detach
edForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2958 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 72 [detach
edXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2762 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 72 [detach
edXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
2959 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 73 [detach
edXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2763 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 73 [detach
edXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
2960 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 74 [detach
edProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2764 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 74 [detach
edProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2961 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 75 [detach
edComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2765 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 75 [detach
edComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2962 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 76 [detach
edComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2766 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 76 [detach
edComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2963 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 77 [detach
edForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2767 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 77 [detach
edForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2964 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 78 [detach
edForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2768 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 78 [detach
edForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2965 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 79 [detach
edXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2769 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 79 [detach
edXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2966 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 80 [docfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2770 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 80 [docfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
2967 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 81 [foreig
nDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2771 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 81 [foreig
nDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
2968 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2772 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
2969 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 83 [doctyp
e, 0] | 2773 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 83 [doctyp
e, 0] |
2970 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | 2774 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { |
2971 selection.collapse(point[0], point[1]); | 2775 selection.collapse(point[0], point[1]); |
2972 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2776 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
2973 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 85 [doctyp
e, 1] | 2777 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 85 [doctyp
e, 1] |
2974 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 86 [foreig
nDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 2778 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 86 [foreig
nDoctype, 0] |
2975 selection.collapse(point[0], point[1]); | 2779 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 87 [xmlDoc
type, 0] |
2976 }" did not throw | |
2977 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 87 [xmlDoc
type, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if t
he node is a DocumentType function "function () { | |
2978 selection.collapse(point[0], point[1]); | |
2979 }" did not throw | |
2980 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 0 [paras[0
].firstChild, -1] | 2780 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 0 [paras[0
].firstChild, -1] |
2981 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 1 [paras[0
].firstChild, 0] | 2781 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 1 [paras[0
].firstChild, 0] |
2982 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 2782 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 |
2983 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 3 [paras[0
].firstChild, 2] | 2783 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 3 [paras[0
].firstChild, 2] |
2984 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 4 [paras[0
].firstChild, 8] | 2784 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 4 [paras[0
].firstChild, 8] |
2985 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 2785 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 |
2986 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 6 [paras[0
].firstChild, 10] | 2786 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 6 [paras[0
].firstChild, 10] |
2987 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 7 [paras[0
].firstChild, 65535] | 2787 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 7 [paras[0
].firstChild, 65535] |
2988 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 8 [paras[1
].firstChild, -1] | 2788 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 8 [paras[1
].firstChild, -1] |
2989 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2789 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2990 " but got Text node "Qrstuvwx" | 2790 " but got Text node "Qrstuvwx" |
2991 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2791 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2992 " but got Text node "Qrstuvwx" | 2792 " but got Text node "Qrstuvwx" |
2993 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2793 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2994 " but got Text node "Qrstuvwx" | 2794 " but got Text node "Qrstuvwx" |
2995 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2795 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2996 " but got Text node "Qrstuvwx" | 2796 " but got Text node "Qrstuvwx" |
2997 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2797 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
2998 " but got Text node "Qrstuvwx" | 2798 " but got Text node "Qrstuvwx" |
2999 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 14 [paras[
1].firstChild, 10] | 2799 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 14 [paras[
1].firstChild, 10] |
3000 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 15 [paras[
1].firstChild, 65535] | 2800 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 15 [paras[
1].firstChild, 65535] |
3001 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2801 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
3002 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2802 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
3003 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2803 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
3004 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 19 [detach
edPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()i
ng if the offset is negative or greater than the node's length function "functio
n () { | 2804 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 19 [detach
edPara1.firstChild, 9] |
3005 selection.collapse(point[0], point[1]); | |
3006 }" did not throw | |
3007 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2805 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
3008 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2806 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
3009 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2807 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
3010 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 23 [foreig
nPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 2808 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 23 [foreig
nPara1.firstChild, 9] |
3011 selection.collapse(point[0], point[1]); | |
3012 }" did not throw | |
3013 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 24 [docume
nt.documentElement, -1] | 2809 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 24 [docume
nt.documentElement, -1] |
3014 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2810 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> |
3015 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2811 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3016 " | 2812 " |
3017 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2813 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> |
3018 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2814 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3019 " | 2815 " |
3020 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2816 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> |
3021 <me... but got Text node "Qrstuvwx" | 2817 <me... but got Text node "Qrstuvwx" |
3022 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 28 [docume
nt.documentElement, 7] | 2818 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 28 [docume
nt.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3060 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2856 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
3061 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 53 [commen
t, 96] | 2857 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 53 [commen
t, 96] |
3062 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2858 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3063 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2859 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3064 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2860 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3065 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2861 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3066 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2862 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3067 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 59 [xmlDoc
, -1] | 2863 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 59 [xmlDoc
, -1] |
3068 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2864 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3069 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2865 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3070 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 62 [xmlDoc
, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset i
s negative or greater than the node's length function "function () { | 2866 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 62 [xmlDoc
, 5] |
3071 selection.collapse(point[0], point[1]); | |
3072 }" did not throw | |
3073 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 63 [xmlCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2867 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 63 [xmlCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3074 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 64 [xmlCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2868 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 64 [xmlCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3075 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 65 [proces
singInstruction, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2869 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 65 [proces
singInstruction, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3076 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 66 [proces
singInstruction, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2870 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 66 [proces
singInstruction, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3077 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 67 [proces
singInstruction, 9] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2871 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 67 [proces
singInstruction, 9] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3078 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 68 [detach
edTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2872 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 68 [detach
edTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3079 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 69 [detach
edTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2873 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 69 [detach
edTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3080 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 70 [detach
edForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2874 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 70 [detach
edForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
3081 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 71 [detach
edForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2875 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 71 [detach
edForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
3082 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 72 [detach
edXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2876 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 72 [detach
edXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
3083 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 73 [detach
edXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2877 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 73 [detach
edXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
3084 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 74 [detach
edProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2878 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 74 [detach
edProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3085 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 75 [detach
edComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2879 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 75 [detach
edComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3086 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 76 [detach
edComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2880 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 76 [detach
edComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3087 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 77 [detach
edForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2881 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 77 [detach
edForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3088 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 78 [detach
edForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2882 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 78 [detach
edForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3089 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 79 [detach
edXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2883 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 79 [detach
edXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
3090 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 80 [docfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2884 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 80 [docfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3091 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 81 [foreig
nDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2885 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 81 [foreig
nDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3092 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2886 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3093 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 83 [doctyp
e, 0] | 2887 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 83 [doctyp
e, 0] |
3094 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | 2888 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { |
3095 selection.collapse(point[0], point[1]); | 2889 selection.collapse(point[0], point[1]); |
3096 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 2890 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3097 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 85 [doctyp
e, 1] | 2891 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 85 [doctyp
e, 1] |
3098 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 86 [foreig
nDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 2892 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 86 [foreig
nDoctype, 0] |
3099 selection.collapse(point[0], point[1]); | 2893 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 87 [xmlDoc
type, 0] |
3100 }" did not throw | |
3101 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 87 [xmlDoc
type, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if t
he node is a DocumentType function "function () { | |
3102 selection.collapse(point[0], point[1]); | |
3103 }" did not throw | |
3104 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 0 [paras[0].firstC
hild, -1] | 2894 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 0 [paras[0].firstC
hild, -1] |
3105 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 1 [paras[0].firstC
hild, 0] | 2895 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 1 [paras[0].firstC
hild, 0] |
3106 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | 2896 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 |
3107 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 3 [paras[0].firstC
hild, 2] | 2897 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 3 [paras[0].firstC
hild, 2] |
3108 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 4 [paras[0].firstC
hild, 8] | 2898 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 4 [paras[0].firstC
hild, 8] |
3109 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | 2899 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 |
3110 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 6 [paras[0].firstC
hild, 10] | 2900 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 6 [paras[0].firstC
hild, 10] |
3111 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 7 [paras[0].firstC
hild, 65535] | 2901 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 7 [paras[0].firstC
hild, 65535] |
3112 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 8 [paras[1].firstC
hild, -1] | 2902 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 8 [paras[1].firstC
hild, -1] |
3113 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 2903 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop |
3114 " but got Text node "Qrstuvwx" | 2904 " but got Text node "Qrstuvwx" |
3115 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2905 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3116 " but got Text node "Qrstuvwx" | 2906 " but got Text node "Qrstuvwx" |
3117 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2907 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3118 " but got Text node "Qrstuvwx" | 2908 " but got Text node "Qrstuvwx" |
3119 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2909 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3120 " but got Text node "Qrstuvwx" | 2910 " but got Text node "Qrstuvwx" |
3121 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2911 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3122 " but got Text node "Qrstuvwx" | 2912 " but got Text node "Qrstuvwx" |
3123 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 14 [paras[1].first
Child, 10] | 2913 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 14 [paras[1].first
Child, 10] |
3124 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 15 [paras[1].first
Child, 65535] | 2914 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 15 [paras[1].first
Child, 65535] |
3125 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2915 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3126 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2916 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3127 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2917 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3128 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 19 [detachedPara1.
firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 2918 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 19 [detachedPara1.
firstChild, 9] |
3129 selection.collapse(point[0], point[1]); | |
3130 }" did not throw | |
3131 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2919 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3132 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2920 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3133 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2921 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3134 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 23 [foreignPara1.f
irstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 2922 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 23 [foreignPara1.f
irstChild, 9] |
3135 selection.collapse(point[0], point[1]); | |
3136 }" did not throw | |
3137 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 24 [document.docum
entElement, -1] | 2923 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 24 [document.docum
entElement, -1] |
3138 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 2924 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> |
3139 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2925 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3140 " | 2926 " |
3141 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 2927 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> |
3142 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2928 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3143 " | 2929 " |
3144 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 2930 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> |
3145 <me... but got Text node "Qrstuvwx" | 2931 <me... but got Text node "Qrstuvwx" |
3146 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 28 [document.docum
entElement, 7] | 2932 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 28 [document.docum
entElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3184 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2970 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
3185 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 53 [comment, 96] | 2971 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 53 [comment, 96] |
3186 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2972 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3187 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2973 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3188 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2974 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3189 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2975 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3190 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2976 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3191 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 59 [xmlDoc, -1] | 2977 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 59 [xmlDoc, -1] |
3192 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2978 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3193 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2979 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3194 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 62 [xmlDoc, 5] ass
ert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negati
ve or greater than the node's length function "function () { | 2980 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 62 [xmlDoc, 5] |
3195 selection.collapse(point[0], point[1]); | |
3196 }" did not throw | |
3197 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2981 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3198 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2982 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3199 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2983 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3200 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2984 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3201 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2985 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3202 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2986 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3203 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2987 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3204 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2988 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3205 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2989 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3206 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 2990 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3207 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 2991 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3208 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2992 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3209 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2993 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3210 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2994 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3211 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2995 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3212 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2996 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3213 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2997 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3214 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2998 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3215 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2999 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3216 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3000 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3217 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 83 [doctype, 0] | 3001 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 83 [doctype, 0] |
3218 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | 3002 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { |
3219 selection.collapse(point[0], point[1]); | 3003 selection.collapse(point[0], point[1]); |
3220 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3004 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3221 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 85 [doctype, 1] | 3005 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 85 [doctype, 1] |
3222 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 86 [foreignDoctype
, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the n
ode is a DocumentType function "function () { | 3006 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 86 [foreignDoctype
, 0] |
3223 selection.collapse(point[0], point[1]); | 3007 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 87 [xmlDoctype, 0]
|
3224 }" did not throw | |
3225 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 87 [xmlDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | |
3226 selection.collapse(point[0], point[1]); | |
3227 }" did not throw | |
3228 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 0 [paras[0].firstC
hild, -1] | 3008 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 0 [paras[0].firstC
hild, -1] |
3229 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 1 [paras[0].firstC
hild, 0] | 3009 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 1 [paras[0].firstC
hild, 0] |
3230 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | 3010 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 |
3231 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 3 [paras[0].firstC
hild, 2] | 3011 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 3 [paras[0].firstC
hild, 2] |
3232 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 4 [paras[0].firstC
hild, 8] | 3012 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 4 [paras[0].firstC
hild, 8] |
3233 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | 3013 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 |
3234 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 6 [paras[0].firstC
hild, 10] | 3014 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 6 [paras[0].firstC
hild, 10] |
3235 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 7 [paras[0].firstC
hild, 65535] | 3015 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 7 [paras[0].firstC
hild, 65535] |
3236 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 8 [paras[1].firstC
hild, -1] | 3016 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 8 [paras[1].firstC
hild, -1] |
3237 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 3017 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop |
3238 " but got Text node "Qrstuvwx" | 3018 " but got Text node "Qrstuvwx" |
3239 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 3019 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3240 " but got Text node "Qrstuvwx" | 3020 " but got Text node "Qrstuvwx" |
3241 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 3021 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3242 " but got Text node "Qrstuvwx" | 3022 " but got Text node "Qrstuvwx" |
3243 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 3023 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3244 " but got Text node "Qrstuvwx" | 3024 " but got Text node "Qrstuvwx" |
3245 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 3025 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop |
3246 " but got Text node "Qrstuvwx" | 3026 " but got Text node "Qrstuvwx" |
3247 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 14 [paras[1].first
Child, 10] | 3027 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 14 [paras[1].first
Child, 10] |
3248 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 15 [paras[1].first
Child, 65535] | 3028 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 15 [paras[1].first
Child, 65535] |
3249 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3029 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3250 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3030 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3251 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3031 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3252 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 19 [detachedPara1.
firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 3032 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 19 [detachedPara1.
firstChild, 9] |
3253 selection.collapse(point[0], point[1]); | |
3254 }" did not throw | |
3255 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3033 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3256 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3034 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3257 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3035 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3258 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 23 [foreignPara1.f
irstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 3036 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 23 [foreignPara1.f
irstChild, 9] |
3259 selection.collapse(point[0], point[1]); | |
3260 }" did not throw | |
3261 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 24 [document.docum
entElement, -1] | 3037 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 24 [document.docum
entElement, -1] |
3262 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 3038 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> |
3263 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3039 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3264 " | 3040 " |
3265 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 3041 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> |
3266 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3042 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3267 " | 3043 " |
3268 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 3044 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> |
3269 <me... but got Text node "Qrstuvwx" | 3045 <me... but got Text node "Qrstuvwx" |
3270 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 28 [document.docum
entElement, 7] | 3046 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 28 [document.docum
entElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3308 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3084 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
3309 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 53 [comment, 96] | 3085 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 53 [comment, 96] |
3310 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3086 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3311 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3087 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3312 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3088 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3313 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3089 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3314 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3090 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3315 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 59 [xmlDoc, -1] | 3091 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 59 [xmlDoc, -1] |
3316 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3092 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3317 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3093 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3318 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 62 [xmlDoc, 5] ass
ert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negati
ve or greater than the node's length function "function () { | 3094 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 62 [xmlDoc, 5] |
3319 selection.collapse(point[0], point[1]); | |
3320 }" did not throw | |
3321 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3095 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3322 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3096 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3323 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3097 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3324 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3098 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3325 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3099 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3326 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3100 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3327 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3101 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3328 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3102 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3329 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3103 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3330 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3104 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3331 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3105 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3332 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3106 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3333 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3107 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3334 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3108 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3335 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3109 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3336 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3110 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3337 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 3111 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3338 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3112 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3339 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3113 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3340 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3114 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3341 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 83 [doctype, 0] | 3115 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 83 [doctype, 0] |
3342 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | 3116 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { |
3343 selection.collapse(point[0], point[1]); | 3117 selection.collapse(point[0], point[1]); |
3344 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3118 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3345 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 85 [doctype, 1] | 3119 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 85 [doctype, 1] |
3346 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 86 [foreignDoctype
, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the n
ode is a DocumentType function "function () { | 3120 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 86 [foreignDoctype
, 0] |
3347 selection.collapse(point[0], point[1]); | 3121 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 87 [xmlDoctype, 0]
|
3348 }" did not throw | |
3349 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 87 [xmlDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | |
3350 selection.collapse(point[0], point[1]); | |
3351 }" did not throw | |
3352 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 0 [p
aras[0].firstChild, -1] | 3122 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 0 [p
aras[0].firstChild, -1] |
3353 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 1 [p
aras[0].firstChild, 0] | 3123 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 1 [p
aras[0].firstChild, 0] |
3354 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 | 3124 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 |
3355 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 3 [p
aras[0].firstChild, 2] | 3125 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 3 [p
aras[0].firstChild, 2] |
3356 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 4 [p
aras[0].firstChild, 8] | 3126 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 4 [p
aras[0].firstChild, 8] |
3357 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 | 3127 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 |
3358 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 6 [p
aras[0].firstChild, 10] | 3128 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 6 [p
aras[0].firstChild, 10] |
3359 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 7 [p
aras[0].firstChild, 65535] | 3129 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 7 [p
aras[0].firstChild, 65535] |
3360 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 8 [p
aras[1].firstChild, -1] | 3130 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 8 [p
aras[1].firstChild, -1] |
3361 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop | 3131 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop |
3362 " but got Text node "Qrstuvwx" | 3132 " but got Text node "Qrstuvwx" |
3363 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3133 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3364 " but got Text node "Qrstuvwx" | 3134 " but got Text node "Qrstuvwx" |
3365 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3135 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3366 " but got Text node "Qrstuvwx" | 3136 " but got Text node "Qrstuvwx" |
3367 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3137 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3368 " but got Text node "Qrstuvwx" | 3138 " but got Text node "Qrstuvwx" |
3369 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3139 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3370 " but got Text node "Qrstuvwx" | 3140 " but got Text node "Qrstuvwx" |
3371 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 14 [
paras[1].firstChild, 10] | 3141 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 14 [
paras[1].firstChild, 10] |
3372 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 15 [
paras[1].firstChild, 65535] | 3142 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 15 [
paras[1].firstChild, 65535] |
3373 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3143 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3374 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3144 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3375 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3145 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3376 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 19 [
detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when colla
pse()ing if the offset is negative or greater than the node's length function "f
unction () { | 3146 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 19 [
detachedPara1.firstChild, 9] |
3377 selection.collapse(point[0], point[1]); | |
3378 }" did not throw | |
3379 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3147 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3380 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3148 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3381 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3149 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3382 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 23 [
foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collap
se()ing if the offset is negative or greater than the node's length function "fu
nction () { | 3150 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 23 [
foreignPara1.firstChild, 9] |
3383 selection.collapse(point[0], point[1]); | |
3384 }" did not throw | |
3385 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 24 [
document.documentElement, -1] | 3151 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 24 [
document.documentElement, -1] |
3386 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 3152 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> |
3387 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3153 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3388 " | 3154 " |
3389 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 3155 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> |
3390 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3156 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3391 " | 3157 " |
3392 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 3158 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> |
3393 <me... but got Text node "Qrstuvwx" | 3159 <me... but got Text node "Qrstuvwx" |
3394 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 28 [
document.documentElement, 7] | 3160 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 28 [
document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3432 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3198 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
3433 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 53 [
comment, 96] | 3199 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 53 [
comment, 96] |
3434 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3200 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3435 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3201 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3436 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 3202 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
3437 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3203 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3438 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3204 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3439 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 59 [
xmlDoc, -1] | 3205 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 59 [
xmlDoc, -1] |
3440 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3206 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3441 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3207 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3442 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 62 [
xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 3208 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 62 [
xmlDoc, 5] |
3443 selection.collapse(point[0], point[1]); | |
3444 }" did not throw | |
3445 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 63 [
xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3209 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 63 [
xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3446 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 64 [
xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3210 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 64 [
xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3447 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 65 [
processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 3211 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 65 [
processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
3448 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 66 [
processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 3212 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 66 [
processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
3449 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 67 [
processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 3213 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 67 [
processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
3450 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 68 [
detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3214 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 68 [
detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3451 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 69 [
detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3215 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 69 [
detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3452 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 70 [
detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3216 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 70 [
detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3453 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 71 [
detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3217 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 71 [
detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3454 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 72 [
detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 3218 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 72 [
detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
3455 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 73 [
detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 3219 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 73 [
detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
3456 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 74 [
detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 3220 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 74 [
detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
3457 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 75 [
detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3221 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 75 [
detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3458 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 76 [
detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3222 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 76 [
detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3459 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 77 [
detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 3223 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 77 [
detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
3460 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 78 [
detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 3224 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 78 [
detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
3461 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 79 [
detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 3225 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 79 [
detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
3462 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 80 [
docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3226 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 80 [
docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3463 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 81 [
foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 3227 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 81 [
foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
3464 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3228 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3465 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 83 [
doctype, 0] | 3229 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 83 [
doctype, 0] |
3466 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 3230 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { |
3467 selection.collapse(point[0], point[1]); | 3231 selection.collapse(point[0], point[1]); |
3468 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3232 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3469 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 85 [
doctype, 1] | 3233 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 85 [
doctype, 1] |
3470 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 86 [
foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse
()ing if the node is a DocumentType function "function () { | 3234 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 86 [
foreignDoctype, 0] |
3471 selection.collapse(point[0], point[1]); | 3235 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 87 [
xmlDoctype, 0] |
3472 }" did not throw | |
3473 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 87 [
xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()in
g if the node is a DocumentType function "function () { | |
3474 selection.collapse(point[0], point[1]); | |
3475 }" did not throw | |
3476 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 0 [p
aras[0].firstChild, -1] | 3236 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 0 [p
aras[0].firstChild, -1] |
3477 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 1 [p
aras[0].firstChild, 0] | 3237 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 1 [p
aras[0].firstChild, 0] |
3478 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 | 3238 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 |
3479 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 3 [p
aras[0].firstChild, 2] | 3239 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 3 [p
aras[0].firstChild, 2] |
3480 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 4 [p
aras[0].firstChild, 8] | 3240 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 4 [p
aras[0].firstChild, 8] |
3481 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 | 3241 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 |
3482 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 6 [p
aras[0].firstChild, 10] | 3242 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 6 [p
aras[0].firstChild, 10] |
3483 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 7 [p
aras[0].firstChild, 65535] | 3243 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 7 [p
aras[0].firstChild, 65535] |
3484 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 8 [p
aras[1].firstChild, -1] | 3244 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 8 [p
aras[1].firstChild, -1] |
3485 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop | 3245 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop |
3486 " but got Text node "Qrstuvwx" | 3246 " but got Text node "Qrstuvwx" |
3487 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3247 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3488 " but got Text node "Qrstuvwx" | 3248 " but got Text node "Qrstuvwx" |
3489 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3249 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3490 " but got Text node "Qrstuvwx" | 3250 " but got Text node "Qrstuvwx" |
3491 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3251 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3492 " but got Text node "Qrstuvwx" | 3252 " but got Text node "Qrstuvwx" |
3493 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 3253 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop |
3494 " but got Text node "Qrstuvwx" | 3254 " but got Text node "Qrstuvwx" |
3495 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 14 [
paras[1].firstChild, 10] | 3255 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 14 [
paras[1].firstChild, 10] |
3496 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 15 [
paras[1].firstChild, 65535] | 3256 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 15 [
paras[1].firstChild, 65535] |
3497 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3257 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3498 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3258 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3499 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3259 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3500 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 19 [
detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when colla
pse()ing if the offset is negative or greater than the node's length function "f
unction () { | 3260 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 19 [
detachedPara1.firstChild, 9] |
3501 selection.collapse(point[0], point[1]); | |
3502 }" did not throw | |
3503 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3261 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3504 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3262 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3505 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3263 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3506 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 23 [
foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collap
se()ing if the offset is negative or greater than the node's length function "fu
nction () { | 3264 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 23 [
foreignPara1.firstChild, 9] |
3507 selection.collapse(point[0], point[1]); | |
3508 }" did not throw | |
3509 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 24 [
document.documentElement, -1] | 3265 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 24 [
document.documentElement, -1] |
3510 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 3266 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> |
3511 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3267 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3512 " | 3268 " |
3513 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 3269 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> |
3514 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3270 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3515 " | 3271 " |
3516 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 3272 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> |
3517 <me... but got Text node "Qrstuvwx" | 3273 <me... but got Text node "Qrstuvwx" |
3518 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 28 [
document.documentElement, 7] | 3274 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 28 [
document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3556 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3312 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
3557 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 53 [
comment, 96] | 3313 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 53 [
comment, 96] |
3558 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3314 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3559 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3315 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3560 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 3316 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
3561 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3317 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3562 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3318 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3563 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 59 [
xmlDoc, -1] | 3319 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 59 [
xmlDoc, -1] |
3564 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3320 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3565 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3321 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3566 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 62 [
xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 3322 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 62 [
xmlDoc, 5] |
3567 selection.collapse(point[0], point[1]); | |
3568 }" did not throw | |
3569 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 63 [
xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3323 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 63 [
xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3570 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 64 [
xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3324 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 64 [
xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3571 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 65 [
processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 3325 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 65 [
processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
3572 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 66 [
processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 3326 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 66 [
processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
3573 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 67 [
processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 3327 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 67 [
processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
3574 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 68 [
detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3328 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 68 [
detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3575 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 69 [
detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3329 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 69 [
detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3576 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 70 [
detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3330 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 70 [
detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3577 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 71 [
detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3331 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 71 [
detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3578 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 72 [
detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 3332 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 72 [
detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
3579 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 73 [
detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 3333 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 73 [
detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
3580 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 74 [
detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 3334 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 74 [
detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
3581 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 75 [
detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3335 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 75 [
detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3582 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 76 [
detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3336 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 76 [
detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3583 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 77 [
detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 3337 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 77 [
detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
3584 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 78 [
detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 3338 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 78 [
detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
3585 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 79 [
detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 3339 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 79 [
detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
3586 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 80 [
docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3340 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 80 [
docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3587 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 81 [
foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 3341 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 81 [
foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
3588 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3342 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3589 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 83 [
doctype, 0] | 3343 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 83 [
doctype, 0] |
3590 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 3344 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { |
3591 selection.collapse(point[0], point[1]); | 3345 selection.collapse(point[0], point[1]); |
3592 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3346 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3593 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 85 [
doctype, 1] | 3347 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 85 [
doctype, 1] |
3594 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 86 [
foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse
()ing if the node is a DocumentType function "function () { | 3348 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 86 [
foreignDoctype, 0] |
3595 selection.collapse(point[0], point[1]); | 3349 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 87 [
xmlDoctype, 0] |
3596 }" did not throw | |
3597 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 87 [
xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()in
g if the node is a DocumentType function "function () { | |
3598 selection.collapse(point[0], point[1]); | |
3599 }" did not throw | |
3600 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 0 [paras[0].
firstChild, -1] | 3350 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 0 [paras[0].
firstChild, -1] |
3601 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 1 [paras[0].
firstChild, 0] | 3351 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 1 [paras[0].
firstChild, 0] |
3602 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 2 [paras[0].
firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 1 but got 2 | 3352 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 2 [paras[0].
firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 1 but got 2 |
3603 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 3 [paras[0].
firstChild, 2] | 3353 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 3 [paras[0].
firstChild, 2] |
3604 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 4 [paras[0].
firstChild, 8] | 3354 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 4 [paras[0].
firstChild, 8] |
3605 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 5 [paras[0].
firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 9 but got 10 | 3355 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 5 [paras[0].
firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 9 but got 10 |
3606 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 6 [paras[0].
firstChild, 10] | 3356 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 6 [paras[0].
firstChild, 10] |
3607 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 7 [paras[0].
firstChild, 65535] | 3357 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 7 [paras[0].
firstChild, 65535] |
3608 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 8 [paras[1].
firstChild, -1] | 3358 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 8 [paras[1].
firstChild, -1] |
3609 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 9 [paras[1].
firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Ijklmnop | 3359 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 9 [paras[1].
firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Ijklmnop |
3610 " but got Text node "Qrstuvwx" | 3360 " but got Text node "Qrstuvwx" |
3611 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 10 [paras[1]
.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 3361 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 10 [paras[1]
.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop |
3612 " but got Text node "Qrstuvwx" | 3362 " but got Text node "Qrstuvwx" |
3613 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 11 [paras[1]
.firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 3363 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 11 [paras[1]
.firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop |
3614 " but got Text node "Qrstuvwx" | 3364 " but got Text node "Qrstuvwx" |
3615 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1]
.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 3365 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1]
.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop |
3616 " but got Text node "Qrstuvwx" | 3366 " but got Text node "Qrstuvwx" |
3617 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 13 [paras[1]
.firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 3367 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 13 [paras[1]
.firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop |
3618 " but got Text node "Qrstuvwx" | 3368 " but got Text node "Qrstuvwx" |
3619 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 14 [paras[1]
.firstChild, 10] | 3369 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 14 [paras[1]
.firstChild, 10] |
3620 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 15 [paras[1]
.firstChild, 65535] | 3370 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 15 [paras[1]
.firstChild, 65535] |
3621 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 16 [detached
Para1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3371 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 16 [detached
Para1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3622 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 17 [detached
Para1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3372 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 17 [detached
Para1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3623 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 18 [detached
Para1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3373 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 18 [detached
Para1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3624 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 19 [detached
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 3374 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 19 [detached
Para1.firstChild, 9] |
3625 selection.collapse(point[0], point[1]); | |
3626 }" did not throw | |
3627 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignP
ara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3375 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignP
ara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3628 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignP
ara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3376 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignP
ara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3629 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignP
ara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3377 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignP
ara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3630 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 23 [foreignP
ara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function (
) { | 3378 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 23 [foreignP
ara1.firstChild, 9] |
3631 selection.collapse(point[0], point[1]); | |
3632 }" did not throw | |
3633 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 24 [document
.documentElement, -1] | 3379 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 24 [document
.documentElement, -1] |
3634 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 25 [document
.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> | 3380 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 25 [document
.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> |
3635 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3381 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3636 " | 3382 " |
3637 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 26 [document
.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> | 3383 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 26 [document
.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> |
3638 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3384 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3639 " | 3385 " |
3640 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 27 [document
.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> | 3386 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 27 [document
.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> |
3641 <me... but got Text node "Qrstuvwx" | 3387 <me... but got Text node "Qrstuvwx" |
3642 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 28 [document
.documentElement, 7] | 3388 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 28 [document
.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3680 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 52 [comment,
4] assert_equals: focusNode must equal the node we collapse()d to expected Comm
ent node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3426 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 52 [comment,
4] assert_equals: focusNode must equal the node we collapse()d to expected Comm
ent node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
3681 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 53 [comment,
96] | 3427 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 53 [comment,
96] |
3682 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignD
oc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3428 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignD
oc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3683 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignD
oc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3429 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignD
oc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3684 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3430 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3685 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3431 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3686 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignT
extNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3432 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignT
extNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3687 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 59 [xmlDoc,
-1] | 3433 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 59 [xmlDoc,
-1] |
3688 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3434 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3689 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3435 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3690 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 3436 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 62 [xmlDoc,
5] |
3691 selection.collapse(point[0], point[1]); | |
3692 }" did not throw | |
3693 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 63 [xmlComme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3437 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 63 [xmlComme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3694 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 64 [xmlComme
nt, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3438 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 64 [xmlComme
nt, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3695 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 65 [processi
ngInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 3439 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 65 [processi
ngInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
3696 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 66 [processi
ngInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 3440 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 66 [processi
ngInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
3697 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 67 [processi
ngInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 3441 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 67 [processi
ngInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
3698 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 68 [detached
TextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3442 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 68 [detached
TextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3699 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 69 [detached
TextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3443 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 69 [detached
TextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3700 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 70 [detached
ForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3444 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 70 [detached
ForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3701 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 71 [detached
ForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3445 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 71 [detached
ForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3702 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 72 [detached
XmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 3446 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 72 [detached
XmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
3703 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 73 [detached
XmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 3447 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 73 [detached
XmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
3704 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 74 [detached
ProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 3448 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 74 [detached
ProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
3705 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 75 [detached
Comment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3449 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 75 [detached
Comment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3706 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 76 [detached
Comment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3450 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 76 [detached
Comment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3707 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 77 [detached
ForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 3451 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 77 [detached
ForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
3708 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 78 [detached
ForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 3452 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 78 [detached
ForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
3709 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 79 [detached
XmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3453 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 79 [detached
XmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3710 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 80 [docfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3454 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 80 [docfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3711 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 81 [foreignD
ocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3455 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 81 [foreignD
ocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3712 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3456 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3713 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 83 [doctype,
0] | 3457 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 83 [doctype,
0] |
3714 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 84 [doctype,
-17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 3458 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 84 [doctype,
-17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
3715 selection.collapse(point[0], point[1]); | 3459 selection.collapse(point[0], point[1]); |
3716 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3460 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3717 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 85 [doctype,
1] | 3461 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 85 [doctype,
1] |
3718 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 86 [foreignD
octype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if
the node is a DocumentType function "function () { | 3462 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 86 [foreignD
octype, 0] |
3719 selection.collapse(point[0], point[1]); | 3463 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 87 [xmlDocty
pe, 0] |
3720 }" did not throw | |
3721 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 87 [xmlDocty
pe, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
3722 selection.collapse(point[0], point[1]); | |
3723 }" did not throw | |
3724 PASS Range 56 [docfrag, 0, docfrag, 0], point 0 [paras[0].firstChild, -1] | 3464 PASS Range 56 [docfrag, 0, docfrag, 0], point 0 [paras[0].firstChild, -1] |
3725 PASS Range 56 [docfrag, 0, docfrag, 0], point 1 [paras[0].firstChild, 0] | 3465 PASS Range 56 [docfrag, 0, docfrag, 0], point 1 [paras[0].firstChild, 0] |
3726 FAIL Range 56 [docfrag, 0, docfrag, 0], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | 3466 FAIL Range 56 [docfrag, 0, docfrag, 0], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 |
3727 PASS Range 56 [docfrag, 0, docfrag, 0], point 3 [paras[0].firstChild, 2] | 3467 PASS Range 56 [docfrag, 0, docfrag, 0], point 3 [paras[0].firstChild, 2] |
3728 PASS Range 56 [docfrag, 0, docfrag, 0], point 4 [paras[0].firstChild, 8] | 3468 PASS Range 56 [docfrag, 0, docfrag, 0], point 4 [paras[0].firstChild, 8] |
3729 FAIL Range 56 [docfrag, 0, docfrag, 0], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 | 3469 FAIL Range 56 [docfrag, 0, docfrag, 0], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 |
3730 PASS Range 56 [docfrag, 0, docfrag, 0], point 6 [paras[0].firstChild, 10] | 3470 PASS Range 56 [docfrag, 0, docfrag, 0], point 6 [paras[0].firstChild, 10] |
3731 PASS Range 56 [docfrag, 0, docfrag, 0], point 7 [paras[0].firstChild, 65535] | 3471 PASS Range 56 [docfrag, 0, docfrag, 0], point 7 [paras[0].firstChild, 65535] |
3732 PASS Range 56 [docfrag, 0, docfrag, 0], point 8 [paras[1].firstChild, -1] | 3472 PASS Range 56 [docfrag, 0, docfrag, 0], point 8 [paras[1].firstChild, -1] |
3733 FAIL Range 56 [docfrag, 0, docfrag, 0], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop | 3473 FAIL Range 56 [docfrag, 0, docfrag, 0], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop |
3734 " but got Text node "Qrstuvwx" | 3474 " but got Text node "Qrstuvwx" |
3735 FAIL Range 56 [docfrag, 0, docfrag, 0], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 3475 FAIL Range 56 [docfrag, 0, docfrag, 0], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
3736 " but got Text node "Qrstuvwx" | 3476 " but got Text node "Qrstuvwx" |
3737 FAIL Range 56 [docfrag, 0, docfrag, 0], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 3477 FAIL Range 56 [docfrag, 0, docfrag, 0], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
3738 " but got Text node "Qrstuvwx" | 3478 " but got Text node "Qrstuvwx" |
3739 FAIL Range 56 [docfrag, 0, docfrag, 0], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 3479 FAIL Range 56 [docfrag, 0, docfrag, 0], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
3740 " but got Text node "Qrstuvwx" | 3480 " but got Text node "Qrstuvwx" |
3741 FAIL Range 56 [docfrag, 0, docfrag, 0], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 3481 FAIL Range 56 [docfrag, 0, docfrag, 0], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop |
3742 " but got Text node "Qrstuvwx" | 3482 " but got Text node "Qrstuvwx" |
3743 PASS Range 56 [docfrag, 0, docfrag, 0], point 14 [paras[1].firstChild, 10] | 3483 PASS Range 56 [docfrag, 0, docfrag, 0], point 14 [paras[1].firstChild, 10] |
3744 PASS Range 56 [docfrag, 0, docfrag, 0], point 15 [paras[1].firstChild, 65535] | 3484 PASS Range 56 [docfrag, 0, docfrag, 0], point 15 [paras[1].firstChild, 65535] |
3745 FAIL Range 56 [docfrag, 0, docfrag, 0], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3485 FAIL Range 56 [docfrag, 0, docfrag, 0], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3746 FAIL Range 56 [docfrag, 0, docfrag, 0], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3486 FAIL Range 56 [docfrag, 0, docfrag, 0], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3747 FAIL Range 56 [docfrag, 0, docfrag, 0], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3487 FAIL Range 56 [docfrag, 0, docfrag, 0], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3748 FAIL Range 56 [docfrag, 0, docfrag, 0], point 19 [detachedPara1.firstChild, 9] a
ssert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is nega
tive or greater than the node's length function "function () { | 3488 PASS Range 56 [docfrag, 0, docfrag, 0], point 19 [detachedPara1.firstChild, 9] |
3749 selection.collapse(point[0], point[1]); | |
3750 }" did not throw | |
3751 FAIL Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3489 FAIL Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3752 FAIL Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3490 FAIL Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3753 FAIL Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3491 FAIL Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3754 FAIL Range 56 [docfrag, 0, docfrag, 0], point 23 [foreignPara1.firstChild, 9] as
sert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negat
ive or greater than the node's length function "function () { | 3492 PASS Range 56 [docfrag, 0, docfrag, 0], point 23 [foreignPara1.firstChild, 9] |
3755 selection.collapse(point[0], point[1]); | |
3756 }" did not throw | |
3757 PASS Range 56 [docfrag, 0, docfrag, 0], point 24 [document.documentElement, -1] | 3493 PASS Range 56 [docfrag, 0, docfrag, 0], point 24 [document.documentElement, -1] |
3758 FAIL Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 3494 FAIL Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> |
3759 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3495 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3760 " | 3496 " |
3761 FAIL Range 56 [docfrag, 0, docfrag, 0], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 3497 FAIL Range 56 [docfrag, 0, docfrag, 0], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> |
3762 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3498 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3763 " | 3499 " |
3764 FAIL Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 3500 FAIL Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> |
3765 <me... but got Text node "Qrstuvwx" | 3501 <me... but got Text node "Qrstuvwx" |
3766 PASS Range 56 [docfrag, 0, docfrag, 0], point 28 [document.documentElement, 7] | 3502 PASS Range 56 [docfrag, 0, docfrag, 0], point 28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3804 FAIL Range 56 [docfrag, 0, docfrag, 0], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 3540 FAIL Range 56 [docfrag, 0, docfrag, 0], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" |
3805 PASS Range 56 [docfrag, 0, docfrag, 0], point 53 [comment, 96] | 3541 PASS Range 56 [docfrag, 0, docfrag, 0], point 53 [comment, 96] |
3806 FAIL Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3542 FAIL Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3807 FAIL Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3543 FAIL Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3808 FAIL Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3544 FAIL Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3809 FAIL Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3545 FAIL Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3810 FAIL Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3546 FAIL Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3811 PASS Range 56 [docfrag, 0, docfrag, 0], point 59 [xmlDoc, -1] | 3547 PASS Range 56 [docfrag, 0, docfrag, 0], point 59 [xmlDoc, -1] |
3812 FAIL Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3548 FAIL Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3813 FAIL Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3549 FAIL Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3814 FAIL Range 56 [docfrag, 0, docfrag, 0], point 62 [xmlDoc, 5] assert_throws: Must
throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater th
an the node's length function "function () { | 3550 PASS Range 56 [docfrag, 0, docfrag, 0], point 62 [xmlDoc, 5] |
3815 selection.collapse(point[0], point[1]); | |
3816 }" did not throw | |
3817 FAIL Range 56 [docfrag, 0, docfrag, 0], point 63 [xmlComment, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3551 FAIL Range 56 [docfrag, 0, docfrag, 0], point 63 [xmlComment, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3818 FAIL Range 56 [docfrag, 0, docfrag, 0], point 64 [xmlComment, 4] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3552 FAIL Range 56 [docfrag, 0, docfrag, 0], point 64 [xmlComment, 4] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3819 FAIL Range 56 [docfrag, 0, docfrag, 0], point 65 [processingInstruction, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3553 FAIL Range 56 [docfrag, 0, docfrag, 0], point 65 [processingInstruction, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
3820 FAIL Range 56 [docfrag, 0, docfrag, 0], point 66 [processingInstruction, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3554 FAIL Range 56 [docfrag, 0, docfrag, 0], point 66 [processingInstruction, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
3821 FAIL Range 56 [docfrag, 0, docfrag, 0], point 67 [processingInstruction, 9] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3555 FAIL Range 56 [docfrag, 0, docfrag, 0], point 67 [processingInstruction, 9] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
3822 FAIL Range 56 [docfrag, 0, docfrag, 0], point 68 [detachedTextNode, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3556 FAIL Range 56 [docfrag, 0, docfrag, 0], point 68 [detachedTextNode, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3823 FAIL Range 56 [docfrag, 0, docfrag, 0], point 69 [detachedTextNode, 8] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3557 FAIL Range 56 [docfrag, 0, docfrag, 0], point 69 [detachedTextNode, 8] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3824 FAIL Range 56 [docfrag, 0, docfrag, 0], point 70 [detachedForeignTextNode, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3558 FAIL Range 56 [docfrag, 0, docfrag, 0], point 70 [detachedForeignTextNode, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3825 FAIL Range 56 [docfrag, 0, docfrag, 0], point 71 [detachedForeignTextNode, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3559 FAIL Range 56 [docfrag, 0, docfrag, 0], point 71 [detachedForeignTextNode, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3826 FAIL Range 56 [docfrag, 0, docfrag, 0], point 72 [detachedXmlTextNode, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3560 FAIL Range 56 [docfrag, 0, docfrag, 0], point 72 [detachedXmlTextNode, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3827 FAIL Range 56 [docfrag, 0, docfrag, 0], point 73 [detachedXmlTextNode, 8] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3561 FAIL Range 56 [docfrag, 0, docfrag, 0], point 73 [detachedXmlTextNode, 8] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3828 FAIL Range 56 [docfrag, 0, docfrag, 0], point 74 [detachedProcessingInstruction,
12] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3562 FAIL Range 56 [docfrag, 0, docfrag, 0], point 74 [detachedProcessingInstruction,
12] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3829 FAIL Range 56 [docfrag, 0, docfrag, 0], point 75 [detachedComment, 3] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3563 FAIL Range 56 [docfrag, 0, docfrag, 0], point 75 [detachedComment, 3] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3830 FAIL Range 56 [docfrag, 0, docfrag, 0], point 76 [detachedComment, 5] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3564 FAIL Range 56 [docfrag, 0, docfrag, 0], point 76 [detachedComment, 5] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3831 FAIL Range 56 [docfrag, 0, docfrag, 0], point 77 [detachedForeignComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3565 FAIL Range 56 [docfrag, 0, docfrag, 0], point 77 [detachedForeignComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3832 FAIL Range 56 [docfrag, 0, docfrag, 0], point 78 [detachedForeignComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3566 FAIL Range 56 [docfrag, 0, docfrag, 0], point 78 [detachedForeignComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3833 FAIL Range 56 [docfrag, 0, docfrag, 0], point 79 [detachedXmlComment, 2] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3567 FAIL Range 56 [docfrag, 0, docfrag, 0], point 79 [detachedXmlComment, 2] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3834 FAIL Range 56 [docfrag, 0, docfrag, 0], point 80 [docfrag, 0] assert_equals: sel
ection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3568 FAIL Range 56 [docfrag, 0, docfrag, 0], point 80 [docfrag, 0] assert_equals: sel
ection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3835 FAIL Range 56 [docfrag, 0, docfrag, 0], point 81 [foreignDocfrag, 0] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3569 FAIL Range 56 [docfrag, 0, docfrag, 0], point 81 [foreignDocfrag, 0] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3836 FAIL Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3570 FAIL Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3837 PASS Range 56 [docfrag, 0, docfrag, 0], point 83 [doctype, 0] | 3571 PASS Range 56 [docfrag, 0, docfrag, 0], point 83 [doctype, 0] |
3838 FAIL Range 56 [docfrag, 0, docfrag, 0], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { | 3572 FAIL Range 56 [docfrag, 0, docfrag, 0], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { |
3839 selection.collapse(point[0], point[1]); | 3573 selection.collapse(point[0], point[1]); |
3840 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3574 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3841 PASS Range 56 [docfrag, 0, docfrag, 0], point 85 [doctype, 1] | 3575 PASS Range 56 [docfrag, 0, docfrag, 0], point 85 [doctype, 1] |
3842 FAIL Range 56 [docfrag, 0, docfrag, 0], point 86 [foreignDoctype, 0] assert_thro
ws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Documen
tType function "function () { | 3576 PASS Range 56 [docfrag, 0, docfrag, 0], point 86 [foreignDoctype, 0] |
3843 selection.collapse(point[0], point[1]); | 3577 PASS Range 56 [docfrag, 0, docfrag, 0], point 87 [xmlDoctype, 0] |
3844 }" did not throw | |
3845 FAIL Range 56 [docfrag, 0, docfrag, 0], point 87 [xmlDoctype, 0] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | |
3846 selection.collapse(point[0], point[1]); | |
3847 }" did not throw | |
3848 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 0 [paras[0].firstChi
ld, -1] | 3578 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 0 [paras[0].firstChi
ld, -1] |
3849 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 1 [paras[0].firstChi
ld, 0] | 3579 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 1 [paras[0].firstChi
ld, 0] |
3850 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 2 [paras[0].firstChi
ld, 1] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 1 but got 2 | 3580 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 2 [paras[0].firstChi
ld, 1] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 1 but got 2 |
3851 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 3 [paras[0].firstChi
ld, 2] | 3581 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 3 [paras[0].firstChi
ld, 2] |
3852 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 4 [paras[0].firstChi
ld, 8] | 3582 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 4 [paras[0].firstChi
ld, 8] |
3853 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 5 [paras[0].firstChi
ld, 9] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 9 but got 10 | 3583 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 5 [paras[0].firstChi
ld, 9] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 9 but got 10 |
3854 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 6 [paras[0].firstChi
ld, 10] | 3584 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 6 [paras[0].firstChi
ld, 10] |
3855 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 7 [paras[0].firstChi
ld, 65535] | 3585 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 7 [paras[0].firstChi
ld, 65535] |
3856 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 8 [paras[1].firstChi
ld, -1] | 3586 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 8 [paras[1].firstChi
ld, -1] |
3857 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 9 [paras[1].firstChi
ld, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | 3587 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 9 [paras[1].firstChi
ld, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop |
3858 " but got Text node "Qrstuvwx" | 3588 " but got Text node "Qrstuvwx" |
3859 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 10 [paras[1].firstCh
ild, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 3589 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 10 [paras[1].firstCh
ild, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop |
3860 " but got Text node "Qrstuvwx" | 3590 " but got Text node "Qrstuvwx" |
3861 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 11 [paras[1].firstCh
ild, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 3591 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 11 [paras[1].firstCh
ild, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop |
3862 " but got Text node "Qrstuvwx" | 3592 " but got Text node "Qrstuvwx" |
3863 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstCh
ild, 8] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 3593 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstCh
ild, 8] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop |
3864 " but got Text node "Qrstuvwx" | 3594 " but got Text node "Qrstuvwx" |
3865 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 13 [paras[1].firstCh
ild, 9] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 3595 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 13 [paras[1].firstCh
ild, 9] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop |
3866 " but got Text node "Qrstuvwx" | 3596 " but got Text node "Qrstuvwx" |
3867 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 14 [paras[1].firstCh
ild, 10] | 3597 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 14 [paras[1].firstCh
ild, 10] |
3868 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 15 [paras[1].firstCh
ild, 65535] | 3598 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 15 [paras[1].firstCh
ild, 65535] |
3869 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 16 [detachedPara1.fi
rstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3599 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 16 [detachedPara1.fi
rstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3870 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 17 [detachedPara1.fi
rstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3600 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 17 [detachedPara1.fi
rstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3871 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 18 [detachedPara1.fi
rstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3601 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 18 [detachedPara1.fi
rstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3872 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 19 [detachedPara1.fi
rstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 3602 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 19 [detachedPara1.fi
rstChild, 9] |
3873 selection.collapse(point[0], point[1]); | |
3874 }" did not throw | |
3875 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.fir
stChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3603 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.fir
stChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3876 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.fir
stChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3604 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.fir
stChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3877 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.fir
stChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3605 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.fir
stChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3878 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 23 [foreignPara1.fir
stChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the o
ffset is negative or greater than the node's length function "function () { | 3606 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 23 [foreignPara1.fir
stChild, 9] |
3879 selection.collapse(point[0], point[1]); | |
3880 }" did not throw | |
3881 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 24 [document.documen
tElement, -1] | 3607 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 24 [document.documen
tElement, -1] |
3882 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | 3608 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> |
3883 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3609 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3884 " | 3610 " |
3885 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 26 [document.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | 3611 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 26 [document.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> |
3886 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3612 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3887 " | 3613 " |
3888 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documen
tElement, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | 3614 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documen
tElement, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> |
3889 <me... but got Text node "Qrstuvwx" | 3615 <me... but got Text node "Qrstuvwx" |
3890 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 28 [document.documen
tElement, 7] | 3616 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 28 [document.documen
tElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3928 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 52 [comment, 4] asse
rt_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3654 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 52 [comment, 4] asse
rt_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" |
3929 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 53 [comment, 96] | 3655 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 53 [comment, 96] |
3930 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3656 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3931 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3657 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3932 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3658 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3933 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3659 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3934 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode,
36] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3660 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode,
36] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3935 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 59 [xmlDoc, -1] | 3661 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 59 [xmlDoc, -1] |
3936 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3662 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
3937 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3663 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
3938 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 62 [xmlDoc, 5] asser
t_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative
or greater than the node's length function "function () { | 3664 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 62 [xmlDoc, 5] |
3939 selection.collapse(point[0], point[1]); | |
3940 }" did not throw | |
3941 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 63 [xmlComment, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3665 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 63 [xmlComment, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3942 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 64 [xmlComment, 4] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3666 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 64 [xmlComment, 4] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3943 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 65 [processingInstru
ction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3667 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 65 [processingInstru
ction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3944 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 66 [processingInstru
ction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3668 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 66 [processingInstru
ction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3945 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 67 [processingInstru
ction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3669 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 67 [processingInstru
ction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3946 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 68 [detachedTextNode
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3670 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 68 [detachedTextNode
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3947 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 69 [detachedTextNode
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3671 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 69 [detachedTextNode
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3948 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 70 [detachedForeignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3672 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 70 [detachedForeignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3949 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 71 [detachedForeignT
extNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3673 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 71 [detachedForeignT
extNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3950 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 72 [detachedXmlTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3674 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 72 [detachedXmlTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
3951 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 73 [detachedXmlTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3675 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 73 [detachedXmlTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
3952 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 74 [detachedProcessi
ngInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 3676 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 74 [detachedProcessi
ngInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
3953 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 75 [detachedComment,
3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3677 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 75 [detachedComment,
3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3954 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 76 [detachedComment,
5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3678 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 76 [detachedComment,
5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3955 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 77 [detachedForeignC
omment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3679 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 77 [detachedForeignC
omment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3956 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 78 [detachedForeignC
omment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3680 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 78 [detachedForeignC
omment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
3957 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 79 [detachedXmlComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3681 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 79 [detachedXmlComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3958 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 80 [docfrag, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3682 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 80 [docfrag, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
3959 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 81 [foreignDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3683 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 81 [foreignDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3960 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3684 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
3961 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 83 [doctype, 0] | 3685 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 83 [doctype, 0] |
3962 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 84 [doctype, -17] as
sert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { | 3686 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 84 [doctype, -17] as
sert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { |
3963 selection.collapse(point[0], point[1]); | 3687 selection.collapse(point[0], point[1]); |
3964 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3688 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
3965 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 85 [doctype, 1] | 3689 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 85 [doctype, 1] |
3966 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 86 [foreignDoctype,
0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the nod
e is a DocumentType function "function () { | 3690 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 86 [foreignDoctype,
0] |
3967 selection.collapse(point[0], point[1]); | 3691 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 87 [xmlDoctype, 0] |
3968 }" did not throw | |
3969 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 87 [xmlDoctype, 0] a
ssert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { | |
3970 selection.collapse(point[0], point[1]); | |
3971 }" did not throw | |
3972 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 0 [paras[0].firstChild, -1] | 3692 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 0 [paras[0].firstChild, -1] |
3973 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 1 [paras[0].firstChild, 0] | 3693 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 1 [paras[0].firstChild, 0] |
3974 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 | 3694 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 |
3975 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 3 [paras[0].firstChild, 2] | 3695 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 3 [paras[0].firstChild, 2] |
3976 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 4 [paras[0].firstChild, 8] | 3696 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 4 [paras[0].firstChild, 8] |
3977 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 | 3697 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 |
3978 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 6 [paras[0].firstChild, 10] | 3698 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 6 [paras[0].firstChild, 10] |
3979 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 7 [paras[0].firstChild, 6553
5] | 3699 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 7 [paras[0].firstChild, 6553
5] |
3980 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 8 [paras[1].firstChild, -1] | 3700 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 8 [paras[1].firstChild, -1] |
3981 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop | 3701 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop |
3982 " but got Text node "Qrstuvwx" | 3702 " but got Text node "Qrstuvwx" |
3983 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 3703 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
3984 " but got Text node "Qrstuvwx" | 3704 " but got Text node "Qrstuvwx" |
3985 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 3705 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
3986 " but got Text node "Qrstuvwx" | 3706 " but got Text node "Qrstuvwx" |
3987 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 3707 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
3988 " but got Text node "Qrstuvwx" | 3708 " but got Text node "Qrstuvwx" |
3989 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 3709 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop |
3990 " but got Text node "Qrstuvwx" | 3710 " but got Text node "Qrstuvwx" |
3991 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 14 [paras[1].firstChild, 10]
| 3711 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 14 [paras[1].firstChild, 10]
|
3992 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 15 [paras[1].firstChild, 655
35] | 3712 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 15 [paras[1].firstChild, 655
35] |
3993 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3713 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3994 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3714 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3995 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3715 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3996 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 19 [detachedPara1.firstChild
, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset i
s negative or greater than the node's length function "function () { | 3716 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 19 [detachedPara1.firstChild
, 9] |
3997 selection.collapse(point[0], point[1]); | |
3998 }" did not throw | |
3999 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3717 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4000 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3718 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4001 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3719 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4002 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 23 [foreignPara1.firstChild,
9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 3720 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 23 [foreignPara1.firstChild,
9] |
4003 selection.collapse(point[0], point[1]); | |
4004 }" did not throw | |
4005 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 24 [document.documentElement
, -1] | 3721 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 24 [document.documentElement
, -1] |
4006 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 3722 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> |
4007 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3723 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4008 " | 3724 " |
4009 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 3725 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> |
4010 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3726 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4011 " | 3727 " |
4012 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 3728 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> |
4013 <me... but got Text node "Qrstuvwx" | 3729 <me... but got Text node "Qrstuvwx" |
4014 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 28 [document.documentElement
, 7] | 3730 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 28 [document.documentElement
, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4052 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | 3768 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" |
4053 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 53 [comment, 96] | 3769 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 53 [comment, 96] |
4054 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3770 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4055 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3771 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4056 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3772 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
4057 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3773 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
4058 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3774 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
4059 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 59 [xmlDoc, -1] | 3775 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 59 [xmlDoc, -1] |
4060 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3776 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4061 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3777 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4062 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 62 [xmlDoc, 5] assert_throws
: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or grea
ter than the node's length function "function () { | 3778 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 62 [xmlDoc, 5] |
4063 selection.collapse(point[0], point[1]); | |
4064 }" did not throw | |
4065 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 63 [xmlComment, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3779 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 63 [xmlComment, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4066 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 64 [xmlComment, 4] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3780 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 64 [xmlComment, 4] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4067 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 65 [processingInstruction, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3781 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 65 [processingInstruction, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
4068 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 66 [processingInstruction, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3782 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 66 [processingInstruction, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
4069 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 67 [processingInstruction, 9
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3783 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 67 [processingInstruction, 9
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
4070 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 68 [detachedTextNode, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3784 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 68 [detachedTextNode, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
4071 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 69 [detachedTextNode, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3785 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 69 [detachedTextNode, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
4072 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 70 [detachedForeignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3786 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 70 [detachedForeignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4073 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 71 [detachedForeignTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3787 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 71 [detachedForeignTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4074 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 72 [detachedXmlTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3788 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 72 [detachedXmlTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
4075 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 73 [detachedXmlTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3789 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 73 [detachedXmlTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
4076 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 74 [detachedProcessingInstru
ction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3790 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 74 [detachedProcessingInstru
ction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
4077 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 75 [detachedComment, 3] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3791 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 75 [detachedComment, 3] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
4078 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 76 [detachedComment, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3792 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 76 [detachedComment, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
4079 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 77 [detachedForeignComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3793 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 77 [detachedForeignComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4080 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 78 [detachedForeignComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3794 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 78 [detachedForeignComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4081 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 79 [detachedXmlComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3795 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 79 [detachedXmlComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
4082 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 80 [docfrag, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3796 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 80 [docfrag, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4083 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 81 [foreignDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3797 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 81 [foreignDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
4084 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3798 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4085 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 83 [doctype, 0] | 3799 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 83 [doctype, 0] |
4086 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | 3800 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { |
4087 selection.collapse(point[0], point[1]); | 3801 selection.collapse(point[0], point[1]); |
4088 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 3802 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
4089 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 85 [doctype, 1] | 3803 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 85 [doctype, 1] |
4090 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 86 [foreignDoctype, 0] asser
t_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a D
ocumentType function "function () { | 3804 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 86 [foreignDoctype, 0] |
4091 selection.collapse(point[0], point[1]); | 3805 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 87 [xmlDoctype, 0] |
4092 }" did not throw | |
4093 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 87 [xmlDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | |
4094 selection.collapse(point[0], point[1]); | |
4095 }" did not throw | |
4096 Harness: the test ran to completion. | 3806 Harness: the test ran to completion. |
4097 | 3807 |
OLD | NEW |