Pass | new Comment(): prototype chain | Asserts runPass | assert_equals(object "[object Comment]", object "[object Comment]", "Prototype chain: Comment")
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 Comment(): 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 Comment")
at Test.<anonymous> ( /dom/nodes/Comment-Text-constructor.js:16:5) |
|
Pass | new Comment(): 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 Comment(): 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 Comment(): 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 Comment(): 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 Comment(): "" | 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 Comment(): "-" | 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 Comment(): "--" | 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 Comment(): "-->" | 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 Comment(): "<!--" | 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 Comment(): "\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 Comment(): "\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 Comment(): "&" | 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 Comment(): 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 Comment() 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) |
|