Summary

Harness status: OK

Found 81 tests

Details

ResultTest NameMessage
PassFor an empty Element, textContent should be the empty string
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:28:3)
PassFor an empty DocumentFragment, textContent should be the empty string
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:32:3)
PassElement with children
Asserts run
Pass
assert_equals("\tDEF\t", "\tDEF\t")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:40:3)
PassElement with descendants
Asserts run
Pass
assert_equals("\tDEF\t", "\tDEF\t")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:50:3)
PassDocumentFragment with children
Asserts run
Pass
assert_equals("\tDEF\t", "\tDEF\t")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:58:3)
PassDocumentFragment with descendants
Asserts run
Pass
assert_equals("\tDEF\t", "\tDEF\t")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:68:3)
PassFor an empty Text, textContent should be the empty string
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:73:3)
PassFor an empty ProcessingInstruction, textContent should be the empty string
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:77:3)
PassFor an empty Comment, textContent should be the empty string
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:81:3)
PassFor a Text with data, textContent should be that data
Asserts run
Pass
assert_equals("abc", "abc")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:85:3)
PassFor a ProcessingInstruction with data, textContent should be that data
Asserts run
Pass
assert_equals("abc", "abc")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:89:3)
PassFor a Comment with data, textContent should be that data
Asserts run
Pass
assert_equals("abc", "abc")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:94:3)
PassFor Documents created by parser, textContent should be null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:101:5)
PassFor Documents created by createDocument, textContent should be null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:101:5)
PassFor Documents created by createHTMLDocument, textContent should be null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:101:5)
PassFor DocumentType created by parser, textContent should be null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:108:5)
PassFor DocumentType created by script, textContent should be null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:108:5)
PassElement without children set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassElement with empty text node as child set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:151:5)
PassElement with children set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassElement with descendants set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:173:5)
PassDocumentFragment without children set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassDocumentFragment with empty text node as child set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:188:5)
PassDocumentFragment with children set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassDocumentFragment with descendants set to null
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:210:5)
PassElement without children set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassElement with empty text node as child set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:151:5)
PassElement with children set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassElement with descendants set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:173:5)
PassDocumentFragment without children set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassDocumentFragment with empty text node as child set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:188:5)
PassDocumentFragment with children set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassDocumentFragment with descendants set to undefined
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:210:5)
PassElement without children set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassElement with empty text node as child set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:151:5)
PassElement with children set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassElement with descendants set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:173:5)
PassDocumentFragment without children set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassDocumentFragment with empty text node as child set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:188:5)
PassDocumentFragment with children set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
PassDocumentFragment with descendants set to ""
Asserts run
Pass
assert_equals("", "")
    at check ( /dom/nodes/Node-textContent.html:128:7)
Pass
assert_equals(null, null)
    at check ( /dom/nodes/Node-textContent.html:129:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:210:5)
PassElement without children set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with empty text node as child set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:151:5)
PassElement with children set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with descendants set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:173:5)
PassDocumentFragment without children set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with empty text node as child set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:188:5)
PassDocumentFragment with children set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with descendants set to 42
Asserts run
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("42", "42")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:210:5)
PassElement without children set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with empty text node as child set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:151:5)
PassElement with children set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with descendants set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:173:5)
PassDocumentFragment without children set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with empty text node as child set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:188:5)
PassDocumentFragment with children set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with descendants set to "abc"
Asserts run
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("abc", "abc")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:210:5)
PassElement without children set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with empty text node as child set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:151:5)
PassElement with children set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with descendants set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:173:5)
PassDocumentFragment without children set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with empty text node as child set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:188:5)
PassDocumentFragment with children set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with descendants set to "<b>xyz</b>"
Asserts run
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("<b>xyz</b>", "<b>xyz</b>")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:210:5)
PassElement without children set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with empty text node as child set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:151:5)
PassElement with children set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassElement with descendants set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:173:5)
PassDocumentFragment without children set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with empty text node as child set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(null, null, "Preexisting Text should have been removed")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:188:5)
PassDocumentFragment with children set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
PassDocumentFragment with descendants set to "d\0e"
Asserts run
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:131:7)
Pass
assert_equals(1, 1, "Should have one child")
    at check ( /dom/nodes/Node-textContent.html:132:7)
Pass
assert_true(true, "child should be a Text")
    at check ( /dom/nodes/Node-textContent.html:135:7)
Pass
assert_equals("d\0e", "d\0e")
    at check ( /dom/nodes/Node-textContent.html:136:7)
Pass
assert_equals(3, 3, "Should not have changed the internal structure of the removed nodes.")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:210:5)
PassFor a Text, textContent should set the data
Asserts run
Pass
assert_equals("def", "def")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:219:3)
Pass
assert_equals("def", "def")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:220:3)
PassFor a ProcessingInstruction, textContent should set the data
Asserts run
Pass
assert_equals("def", "def")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:226:3)
Pass
assert_equals("def", "def")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:227:3)
Pass
assert_equals("x", "x")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:228:3)
PassFor a Comment, textContent should set the data
Asserts run
Pass
assert_equals("def", "def")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:234:3)
Pass
assert_equals("def", "def")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:235:3)
PassFor Documents created by parser, setting textContent should do nothing
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:244:5)
Pass
assert_equals(Element node <html><head><meta charset="utf-8"> <title>Node.textConten..., Element node <html><head><meta charset="utf-8"> <title>Node.textConten...)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:245:5)
PassFor Documents created by createDocument, setting textContent should do nothing
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:244:5)
Pass
assert_equals(Element node <test></test>, Element node <test></test>)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:245:5)
PassFor Documents created by createHTMLDocument, setting textContent should do nothing
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:244:5)
Pass
assert_equals(Element node <html><head><title>title</title></head><body></body></html>, Element node <html><head><title>title</title></head><body></body></html>)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:245:5)
PassFor DocumentType created by parser, setting textContent should do nothing
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:258:5)
Pass
assert_equals("html", "html", "name should not change")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:259:5)
Pass
assert_equals("", "", "publicId should not change")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:260:5)
Pass
assert_equals("", "", "systemId should not change")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:261:5)
PassFor DocumentType created by script, setting textContent should do nothing
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:258:5)
Pass
assert_equals("x", "x", "name should not change")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:259:5)
Pass
assert_equals("", "", "publicId should not change")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:260:5)
Pass
assert_equals("", "", "systemId should not change")
    at Test.<anonymous> ( /dom/nodes/Node-textContent.html:261:5)