Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassConstants for nodeType on Node interface object.
Asserts run
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have ELEMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object function Node() { [native code] } value for ELEMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have ATTRIBUTE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object function Node() { [native code] } value for ATTRIBUTE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have TEXT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(3, 3, "Object function Node() { [native code] } value for TEXT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have CDATA_SECTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object function Node() { [native code] } value for CDATA_SECTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have ENTITY_REFERENCE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(5, 5, "Object function Node() { [native code] } value for ENTITY_REFERENCE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have ENTITY_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(6, 6, "Object function Node() { [native code] } value for ENTITY_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have PROCESSING_INSTRUCTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(7, 7, "Object function Node() { [native code] } value for PROCESSING_INSTRUCTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have COMMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object function Node() { [native code] } value for COMMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(9, 9, "Object function Node() { [native code] } value for DOCUMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_TYPE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(10, 10, "Object function Node() { [native code] } value for DOCUMENT_TYPE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_FRAGMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(11, 11, "Object function Node() { [native code] } value for DOCUMENT_FRAGMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have NOTATION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(12, 12, "Object function Node() { [native code] } value for NOTATION_NODE is wrong")
    at  /dom/constants.js:7:9
PassConstants for nodeType on Node prototype object.
Asserts run
Pass
assert_true(true, "Object [object Node] doesn't have ELEMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object [object Node] value for ELEMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have ATTRIBUTE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object [object Node] value for ATTRIBUTE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have TEXT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(3, 3, "Object [object Node] value for TEXT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have CDATA_SECTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object [object Node] value for CDATA_SECTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have ENTITY_REFERENCE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(5, 5, "Object [object Node] value for ENTITY_REFERENCE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have ENTITY_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(6, 6, "Object [object Node] value for ENTITY_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have PROCESSING_INSTRUCTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(7, 7, "Object [object Node] value for PROCESSING_INSTRUCTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have COMMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object [object Node] value for COMMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(9, 9, "Object [object Node] value for DOCUMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_TYPE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(10, 10, "Object [object Node] value for DOCUMENT_TYPE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_FRAGMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(11, 11, "Object [object Node] value for DOCUMENT_FRAGMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have NOTATION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(12, 12, "Object [object Node] value for NOTATION_NODE is wrong")
    at  /dom/constants.js:7:9
PassConstants for nodeType on Element object.
Asserts run
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have ELEMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object [object HTMLUnknownElement] value for ELEMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have ATTRIBUTE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object [object HTMLUnknownElement] value for ATTRIBUTE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have TEXT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(3, 3, "Object [object HTMLUnknownElement] value for TEXT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have CDATA_SECTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object [object HTMLUnknownElement] value for CDATA_SECTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have ENTITY_REFERENCE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(5, 5, "Object [object HTMLUnknownElement] value for ENTITY_REFERENCE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have ENTITY_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(6, 6, "Object [object HTMLUnknownElement] value for ENTITY_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have PROCESSING_INSTRUCTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(7, 7, "Object [object HTMLUnknownElement] value for PROCESSING_INSTRUCTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have COMMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object [object HTMLUnknownElement] value for COMMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(9, 9, "Object [object HTMLUnknownElement] value for DOCUMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_TYPE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(10, 10, "Object [object HTMLUnknownElement] value for DOCUMENT_TYPE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_FRAGMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(11, 11, "Object [object HTMLUnknownElement] value for DOCUMENT_FRAGMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have NOTATION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(12, 12, "Object [object HTMLUnknownElement] value for NOTATION_NODE is wrong")
    at  /dom/constants.js:7:9
PassConstants for nodeType on Text object.
Asserts run
Pass
assert_true(true, "Object [object Text] doesn't have ELEMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object [object Text] value for ELEMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have ATTRIBUTE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object [object Text] value for ATTRIBUTE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have TEXT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(3, 3, "Object [object Text] value for TEXT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have CDATA_SECTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object [object Text] value for CDATA_SECTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have ENTITY_REFERENCE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(5, 5, "Object [object Text] value for ENTITY_REFERENCE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have ENTITY_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(6, 6, "Object [object Text] value for ENTITY_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have PROCESSING_INSTRUCTION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(7, 7, "Object [object Text] value for PROCESSING_INSTRUCTION_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have COMMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object [object Text] value for COMMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(9, 9, "Object [object Text] value for DOCUMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_TYPE_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(10, 10, "Object [object Text] value for DOCUMENT_TYPE_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_FRAGMENT_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(11, 11, "Object [object Text] value for DOCUMENT_FRAGMENT_NODE is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have NOTATION_NODE")
    at  /dom/constants.js:6:9
Pass
assert_equals(12, 12, "Object [object Text] value for NOTATION_NODE is wrong")
    at  /dom/constants.js:7:9
PassConstants for createDocumentPosition on Node interface object.
Asserts run
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_POSITION_DISCONNECTED")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object function Node() { [native code] } value for DOCUMENT_POSITION_DISCONNECTED is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_POSITION_PRECEDING")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object function Node() { [native code] } value for DOCUMENT_POSITION_PRECEDING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_POSITION_FOLLOWING")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object function Node() { [native code] } value for DOCUMENT_POSITION_FOLLOWING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_POSITION_CONTAINS")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object function Node() { [native code] } value for DOCUMENT_POSITION_CONTAINS is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_POSITION_CONTAINED_BY")
    at  /dom/constants.js:6:9
Pass
assert_equals(16, 16, "Object function Node() { [native code] } value for DOCUMENT_POSITION_CONTAINED_BY is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object function Node() { [native code] } doesn't have DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC")
    at  /dom/constants.js:6:9
Pass
assert_equals(32, 32, "Object function Node() { [native code] } value for DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC is wrong")
    at  /dom/constants.js:7:9
PassConstants for createDocumentPosition on Node prototype object.
Asserts run
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_POSITION_DISCONNECTED")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object [object Node] value for DOCUMENT_POSITION_DISCONNECTED is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_POSITION_PRECEDING")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object [object Node] value for DOCUMENT_POSITION_PRECEDING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_POSITION_FOLLOWING")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object [object Node] value for DOCUMENT_POSITION_FOLLOWING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_POSITION_CONTAINS")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object [object Node] value for DOCUMENT_POSITION_CONTAINS is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_POSITION_CONTAINED_BY")
    at  /dom/constants.js:6:9
Pass
assert_equals(16, 16, "Object [object Node] value for DOCUMENT_POSITION_CONTAINED_BY is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Node] doesn't have DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC")
    at  /dom/constants.js:6:9
Pass
assert_equals(32, 32, "Object [object Node] value for DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC is wrong")
    at  /dom/constants.js:7:9
PassConstants for createDocumentPosition on Element object.
Asserts run
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_POSITION_DISCONNECTED")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object [object HTMLUnknownElement] value for DOCUMENT_POSITION_DISCONNECTED is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_POSITION_PRECEDING")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object [object HTMLUnknownElement] value for DOCUMENT_POSITION_PRECEDING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_POSITION_FOLLOWING")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object [object HTMLUnknownElement] value for DOCUMENT_POSITION_FOLLOWING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_POSITION_CONTAINS")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object [object HTMLUnknownElement] value for DOCUMENT_POSITION_CONTAINS is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_POSITION_CONTAINED_BY")
    at  /dom/constants.js:6:9
Pass
assert_equals(16, 16, "Object [object HTMLUnknownElement] value for DOCUMENT_POSITION_CONTAINED_BY is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object HTMLUnknownElement] doesn't have DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC")
    at  /dom/constants.js:6:9
Pass
assert_equals(32, 32, "Object [object HTMLUnknownElement] value for DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC is wrong")
    at  /dom/constants.js:7:9
PassConstants for createDocumentPosition on Text object.
Asserts run
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_POSITION_DISCONNECTED")
    at  /dom/constants.js:6:9
Pass
assert_equals(1, 1, "Object [object Text] value for DOCUMENT_POSITION_DISCONNECTED is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_POSITION_PRECEDING")
    at  /dom/constants.js:6:9
Pass
assert_equals(2, 2, "Object [object Text] value for DOCUMENT_POSITION_PRECEDING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_POSITION_FOLLOWING")
    at  /dom/constants.js:6:9
Pass
assert_equals(4, 4, "Object [object Text] value for DOCUMENT_POSITION_FOLLOWING is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_POSITION_CONTAINS")
    at  /dom/constants.js:6:9
Pass
assert_equals(8, 8, "Object [object Text] value for DOCUMENT_POSITION_CONTAINS is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_POSITION_CONTAINED_BY")
    at  /dom/constants.js:6:9
Pass
assert_equals(16, 16, "Object [object Text] value for DOCUMENT_POSITION_CONTAINED_BY is wrong")
    at  /dom/constants.js:7:9
Pass
assert_true(true, "Object [object Text] doesn't have DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC")
    at  /dom/constants.js:6:9
Pass
assert_equals(32, 32, "Object [object Text] value for DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC is wrong")
    at  /dom/constants.js:7:9