Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 17 [document.head, 1, document.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 17 [document.head, 1, document.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 17 [document.head, 1, document.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 18 [document.body, 0, document.body, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 18 [document.body, 0, document.body, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 18 [document.body, 0, document.body, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 22 [paras[0], 0, paras[0], 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 23 [paras[0], 0, paras[0], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 30 [testDiv, 2, paras[4], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 32 [document.documentElement, 1, document.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 34 [document, 0, document, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 34 [document, 0, document, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 34 [document, 0, document, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 34 [document, 0, document, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 34 [document, 0, document, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 35 [document, 0, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 35 [document, 0, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 35 [document, 0, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 35 [document, 0, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 35 [document, 0, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 36 [document, 1, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 36 [document, 1, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 36 [document, 1, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 36 [document, 1, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 36 [document, 1, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 37 [testDiv, 0, comment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 37 [testDiv, 0, comment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 37 [testDiv, 0, comment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 39 [paras[3], 1, comment, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 39 [paras[3], 1, comment, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 39 [paras[3], 1, comment, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "I admit that I harbor doubts about whether we really need...", Text node "I admit that I harbor doubts about whether we really need...", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(36, 36, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--I maliciously created a comment that will break incautiou...-->, Comment node <!--I maliciously created a comment that will break incautiou...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 50 [detachedComment, 3, detachedComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 51 [detachedComment, 5, detachedComment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(5, 5, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(6, 6, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 55 [docfrag, 0, docfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(0, 0, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "", object "", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 17 [document.head, 1, document.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 17 [document.head, 1, document.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 17 [document.head, 1, document.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 18 [document.body, 0, document.body, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 18 [document.body, 0, document.body, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 18 [document.body, 0, document.body, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 22 [paras[0], 0, paras[0], 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 23 [paras[0], 0, paras[0], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 30 [testDiv, 2, paras[4], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 32 [document.documentElement, 1, document.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 34 [document, 0, document, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 34 [document, 0, document, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 34 [document, 0, document, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 34 [document, 0, document, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 34 [document, 0, document, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 35 [document, 0, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 35 [document, 0, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 35 [document, 0, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 35 [document, 0, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 35 [document, 0, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 36 [document, 1, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 36 [document, 1, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 36 [document, 1, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 36 [document, 1, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 36 [document, 1, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 37 [testDiv, 0, comment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 37 [testDiv, 0, comment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 37 [testDiv, 0, comment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 39 [paras[3], 1, comment, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 39 [paras[3], 1, comment, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 39 [paras[3], 1, comment, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "I admit that I harbor doubts about whether we really need...", Text node "I admit that I harbor doubts about whether we really need...", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(36, 36, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--I maliciously created a comment that will break incautiou...-->, Comment node <!--I maliciously created a comment that will break incautiou...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 50 [detachedComment, 3, detachedComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 51 [detachedComment, 5, detachedComment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(5, 5, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(6, 6, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 55 [docfrag, 0, docfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "I", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(0, 0, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(1, 1, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "I", object "I", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 17 [document.head, 1, document.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 17 [document.head, 1, document.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 17 [document.head, 1, document.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 18 [document.body, 0, document.body, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 18 [document.body, 0, document.body, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 18 [document.body, 0, document.body, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 22 [paras[0], 0, paras[0], 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 23 [paras[0], 0, paras[0], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 30 [testDiv, 2, paras[4], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 32 [document.documentElement, 1, document.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 34 [document, 0, document, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 34 [document, 0, document, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 34 [document, 0, document, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 34 [document, 0, document, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 34 [document, 0, document, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 35 [document, 0, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 35 [document, 0, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 35 [document, 0, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 35 [document, 0, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 35 [document, 0, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 36 [document, 1, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 36 [document, 1, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 36 [document, 1, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 36 [document, 1, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 36 [document, 1, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 37 [testDiv, 0, comment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 37 [testDiv, 0, comment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 37 [testDiv, 0, comment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 39 [paras[3], 1, comment, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 39 [paras[3], 1, comment, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 39 [paras[3], 1, comment, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "I admit that I harbor doubts about whether we really need...", Text node "I admit that I harbor doubts about whether we really need...", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(36, 36, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--I maliciously created a comment that will break incautiou...-->, Comment node <!--I maliciously created a comment that will break incautiou...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 50 [detachedComment, 3, detachedComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 51 [detachedComment, 5, detachedComment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(5, 5, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(6, 6, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 55 [docfrag, 0, docfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(8, 8, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop", object "klmnop", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 6 [paras[1].firstChild, 2, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 8 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 10 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Opqrstuv", Text node "Opqrstuv", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 11 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 13 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Efghijkl", Text node "Efghijkl", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 14 [document.documentElement, 0, document.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 15 [document.documentElement, 0, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 16 [document.documentElement, 1, document.documentElement, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 17 [document.head, 1, document.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 17 [document.head, 1, document.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 17 [document.head, 1, document.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 17 [document.head, 1, document.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title>Selection.addRange() tests</title> <meta nam..., Element node <head><title>Selection.addRange() tests</title> <meta nam..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 18 [document.body, 0, document.body, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 18 [document.body, 0, document.body, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 18 [document.body, 0, document.body, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 18 [document.body, 0, document.body, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 19 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 20 [foreignDoc.head, 1, foreignDoc.head, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <head><title></title></head>, Element node <head><title></title></head>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 21 [foreignDoc.body, 0, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 22 [paras[0], 0, paras[0], 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 22 [paras[0], 0, paras[0], 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 22 [paras[0], 0, paras[0], 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 23 [paras[0], 0, paras[0], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 23 [paras[0], 0, paras[0], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 23 [paras[0], 0, paras[0], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 24 [detachedPara1, 0, detachedPara1, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 25 [detachedPara1, 0, detachedPara1, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p>Opqrstuv</p>, Element node <p>Opqrstuv</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 26 [paras[0].firstChild, 0, paras[1].firstChild, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 28 [paras[0].firstChild, 3, paras[3], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 29 [paras[0], 0, paras[0].firstChild, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 30 [testDiv, 2, paras[4], 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 30 [testDiv, 2, paras[4], 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 30 [testDiv, 2, paras[4], 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 31 [testDiv, 1, paras[2].firstChild, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 32 [document.documentElement, 1, document.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 32 [document.documentElement, 1, document.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 32 [document.documentElement, 1, document.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title>Selection.addRange() tests</title> <me..., Element node <html><head><title>Selection.addRange() tests</title> <me..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 33 [foreignDoc.documentElement, 1, foreignDoc.body, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., Element node <html><head><title></title></head><body><p>Efghijkl</p><p..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 34 [document, 0, document, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 34 [document, 0, document, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 34 [document, 0, document, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 34 [document, 0, document, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 34 [document, 0, document, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 34 [document, 0, document, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 35 [document, 0, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 35 [document, 0, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 35 [document, 0, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 35 [document, 0, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 35 [document, 0, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 35 [document, 0, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 36 [document, 1, document, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 36 [document, 1, document, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 36 [document, 1, document, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 36 [document, 1, document, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 36 [document, 1, document, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 36 [document, 1, document, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 2 children, Document node with 2 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 37 [testDiv, 0, comment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 37 [testDiv, 0, comment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 37 [testDiv, 0, comment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 37 [testDiv, 0, comment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 38 [paras[2].firstChild, 4, comment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 39 [paras[3], 1, comment, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 39 [paras[3], 1, comment, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 39 [paras[3], 1, comment, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 39 [paras[3], 1, comment, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 40 [foreignDoc, 0, foreignDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 41 [foreignDoc, 1, foreignComment, 2]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 3 children, Document node with 3 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, Comment node <!--"Commenter" and "commentator" mean different things. I'v...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(2, 2, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 42 [foreignDoc.body, 0, foreignTextNode, 36]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor..., "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "I admit that I harbor doubts about whether we really need...", Text node "I admit that I harbor doubts about whether we really need...", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(36, 36, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 43 [xmlDoc, 0, xmlDoc, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 44 [xmlDoc, 1, xmlComment, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Document node with 4 children, Document node with 4 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(1, 1, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--I maliciously created a comment that will break incautiou...-->, Comment node <!--I maliciously created a comment that will break incautiou...-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 45 [detachedTextNode, 0, detachedTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Uvwxyzab", Text node "Uvwxyzab", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 46 [detachedForeignTextNode, 7, detachedForeignTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 47 [detachedForeignTextNode, 0, detachedForeignTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Cdefghij", Text node "Cdefghij", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 48 [detachedXmlTextNode, 7, detachedXmlTextNode, 7]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(7, 7, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(7, 7, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 49 [detachedXmlTextNode, 0, detachedXmlTextNode, 8]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Text node "Klmnopqr", Text node "Klmnopqr", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(8, 8, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 50 [detachedComment, 3, detachedComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 50 [detachedComment, 3, detachedComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 50 [detachedComment, 3, detachedComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(3, 3, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 51 [detachedComment, 5, detachedComment, 5]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 51 [detachedComment, 5, detachedComment, 5]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 51 [detachedComment, 5, detachedComment, 5]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(5, 5, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--Stuvwxyz-->, Comment node <!--Stuvwxyz-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(5, 5, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 52 [detachedForeignComment, 0, detachedForeignComment, 1]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(1, 1, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 53 [detachedForeignComment, 4, detachedForeignComment, 4]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(4, 4, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--×ריה יהודה-->, Comment node <!--×ריה יהודה-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(4, 4, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 54 [detachedXmlComment, 2, detachedXmlComment, 6]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(Comment node <!--בן ×—×™×™× ×ליעזר-->, Comment node <!--בן ×—×™×™× ×ליעזר-->, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(6, 6, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 55 [docfrag, 0, docfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 55 [docfrag, 0, docfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 55 [docfrag, 0, docfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 56 [foreignDocfrag, 0, foreignDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must not throw exceptions or modify the range it's given | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:10:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:14:9) | Pass | assert_equals(2, 2, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:16:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:18:9) | Pass | assert_equals(9, 9, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:20:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in rangeCount being 1 | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:25:9) | Pass | assert_equals(1, 1, "rangeCount must be 1")
at Test.<anonymous> ( /selection/addRange.js:27:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range having the specified endpoints | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:34:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:35:9) | Pass | assert_not_equals(object "klmnop ", null, "getRangeAt(rangeCount - 1) must not return null")
at Test.<anonymous> ( /selection/addRange.js:39:9) | Pass | assert_equals("object", "object", "getRangeAt(rangeCount - 1) must return an object")
at Test.<anonymous> ( /selection/addRange.js:41:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:44:9) | Pass | assert_equals(2, 2, "startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:46:9) | Pass | assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:48:9) | Pass | assert_equals(9, 9, "endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:50:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: first addRange() must result in the selection's last range being the same object we added | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:55:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:56:9) | Pass | assert_equals(object "klmnop ", object "klmnop ", "getRangeAt(rangeCount - 1) must return the same object we added")
at Test.<anonymous> ( /selection/addRange.js:58:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the first added range must modify the Selection's last Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:64:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:65:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:80:9) | Pass | assert_equals(0, 0, "After mutating the first added Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:82:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After mutating the first added Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:84:9) | Pass | assert_equals(2, 2, "After mutating the first added Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:86:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the first added Range | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:92:9) | Pass | assert_not_equals(1, 0, "Cannot proceed with tests if rangeCount is 0")
at Test.<anonymous> ( /selection/addRange.js:93:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, startContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:107:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:109:9) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "After first addRange(), after mutating the Selection's last Range, endContainer of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:111:9) | Pass | assert_equals(6, 6, "After first addRange(), after mutating the Selection's last Range, endOffset of the Selection's last Range must match the added Range")
at Test.<anonymous> ( /selection/addRange.js:113:9) |
|
Pass | Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must do nothing | Asserts runPass | assert_equals(null, null, "Test setup must not throw exceptions")
at Test.<anonymous> ( /selection/addRange.js:120:9) | Pass | assert_equals(1, 1, "The operation should not add Range")
at assertSelectionNoChange ( /selection/common.js:976:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update anchorNode")
at assertSelectionNoChange ( /selection/common.js:978:5) | Pass | assert_equals(6, 6, "The operation should not update anchorOffset")
at assertSelectionNoChange ( /selection/common.js:980:5) | Pass | assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "The operation should not update focusNode")
at assertSelectionNoChange ( /selection/common.js:982:5) | Pass | assert_equals(6, 6, "The operation should not update focusOffset")
at assertSelectionNoChange ( /selection/common.js:984:5) | Pass | assert_equals(object "", object "", "The operation should not replace a registered Range")
at assertSelectionNoChange ( /selection/common.js:988:5) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the startContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:123:9) | Pass | assert_equals(0, 0, "addRange() must not modify the startOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:125:9) | Pass | assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "addRange() must not modify the endContainer of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:127:9) | Pass | assert_equals(0, 0, "addRange() must not modify the endOffset of the Range it's given")
at Test.<anonymous> ( /selection/addRange.js:129:9) |
|