Summary

Harness status: OK

Found 16 tests

Details

ResultTest NameMessage
Passnew Text(): prototype chain
Asserts run
Pass
assert_equals(object "[object Text]", object "[object Text]", "Prototype chain: Text")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:4:5)
Pass
assert_equals(object "[object CharacterData]", object "[object CharacterData]", "Prototype chain: CharacterData")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:6:5)
Pass
assert_equals(object "[object Node]", object "[object Node]", "Prototype chain: Node")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:8:5)
Passnew Text(): instanceof
Asserts run
Pass
assert_true(true, "Should be a Node")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:14:5)
Pass
assert_true(true, "Should be a CharacterData")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:15:5)
Pass
assert_true(true, "Should be a Text")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:16:5)
Passnew Text(): no arguments
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:21:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:22:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:23:5)
Passnew Text(): undefined
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): null
Asserts run
Pass
assert_equals("null", "null")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("null", "null")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): 42
Asserts run
Pass
assert_equals("42", "42")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("42", "42")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): ""
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): "-"
Asserts run
Pass
assert_equals("-", "-")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("-", "-")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): "--"
Asserts run
Pass
assert_equals("--", "--")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("--", "--")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): "-->"
Asserts run
Pass
assert_equals("-->", "-->")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("-->", "-->")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): "<!--"
Asserts run
Pass
assert_equals("<!--", "<!--")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("<!--", "<!--")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): "\0"
Asserts run
Pass
assert_equals("\0", "\0")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("\0", "\0")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): "\0test"
Asserts run
Pass
assert_equals("\0test", "\0test")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("\0test", "\0test")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): "&amp;"
Asserts run
Pass
assert_equals("&amp;", "&amp;")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:44:7)
Pass
assert_equals("&amp;", "&amp;")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:45:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:46:7)
Passnew Text(): two arguments
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:63:5)
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:64:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:65:5)
Pass
assert_array_equals(["first"], ["first"])
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:66:5)
Passnew Text() should get the correct ownerDocument across globals
Asserts run
Pass
assert_equals(Document node with 1 child, Document node with 1 child)
    at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:73:7)