Pass | new Text(): prototype chain | Asserts runPass | 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) |
|
Pass | new Text(): instanceof | Asserts runPass | 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) |
|
Pass | new Text(): no arguments | Asserts runPass | 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) |
|
Pass | new Text(): undefined | Asserts runPass | 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) |
|
Pass | new Text(): null | Asserts runPass | 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) |
|
Pass | new Text(): 42 | Asserts runPass | 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) |
|
Pass | new Text(): "" | Asserts runPass | 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) |
|
Pass | new Text(): "-" | Asserts runPass | 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) |
|
Pass | new Text(): "--" | Asserts runPass | 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) |
|
Pass | new Text(): "-->" | Asserts runPass | 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) |
|
Pass | new Text(): "<!--" | Asserts runPass | 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) |
|
Pass | new Text(): "\0" | Asserts runPass | 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) |
|
Pass | new Text(): "\0test" | Asserts runPass | 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) |
|
Pass | new Text(): "&" | Asserts runPass | 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) |
|
Pass | new Text(): two arguments | Asserts runPass | 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) |
|
Pass | new Text() should get the correct ownerDocument across globals | Asserts runPass | assert_equals(Document node with 1 child, Document node with 1 child)
at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:73:7) |
|