Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassHTML parser must set the attributes
Asserts run
Pass
assert_equals("custom-element-id", "custom-element-id", "HTML parser must preserve the id attribute")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:53:5)
Pass
assert_equals("custom-element-id", "custom-element-id", "HTML parser must preserve the semantics of reflect for the id attribute")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:54:5)
Pass
assert_equals("class1 class2", "class1 class2", "HTML parser must preserve the class attribute")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:55:5)
Pass
assert_equals(2, 2, "HTML parser must initialize classList on custom elements")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:56:5)
Pass
assert_equals("class1", "class1", "HTML parser must initialize classList on custom elements")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:57:5)
Pass
assert_equals("class2", "class2", "HTML parser must initialize classList on custom elements")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:58:5)
PassHTML parser must append child nodes
Asserts run
Pass
assert_equals(2, 2, "HTML parser must append child nodes")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:62:5)
Pass
assert_true(true, "HTML parser must append Text node child to a custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:63:5)
Pass
assert_equals("hello ", "hello ", "HTML parser must append Text node child to a custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:64:5)
Pass
assert_true(true, "HTML parser must append a builtin element child to a custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:65:5)
Pass
assert_true(true, "HTML parser must preserve grandchild nodes of a custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:66:5)
Pass
assert_equals("world", "world", "HTML parser must preserve grandchild nodes of a custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:67:5)
PassHTML parser must set the attributes or append children before calling constructor
Asserts run
Pass
assert_equals(0, 0, "HTML parser must not set attributes on a custom element before invoking the constructor")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:71:5)
Pass
assert_equals(0, 0, "HTML parser must not append child nodes to a custom element before invoking the constructor")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:72:5)
PassHTML parser should call connectedCallback before appending child nodes.
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:79:5)
PassHTML parser must enqueue attributeChanged reactions
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:83:5)
Pass
assert_equals("attributeChanged", "attributeChanged")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:118:5)
Pass
assert_equals("id", "id")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:119:5)
Pass
assert_equals(null, null)
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:120:5)
Pass
assert_equals("custom-element-id", "custom-element-id")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:121:5)
Pass
assert_equals("custom-element-id", "custom-element-id")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:122:5)
Pass
assert_equals(null, null)
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:123:5)
Pass
assert_equals("attributeChanged", "attributeChanged")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:118:5)
Pass
assert_equals("class", "class")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:119:5)
Pass
assert_equals(null, null)
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:120:5)
Pass
assert_equals("class1 class2", "class1 class2")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:121:5)
Pass
assert_equals("class1 class2", "class1 class2")
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:122:5)
Pass
assert_equals(null, null)
    at assert_attribute_log_entry ( /custom-elements/resources/custom-elements-helpers.js:123:5)
Pass
assert_equals(0, 0, "attributeChangedCallback should be called before appending a child")
    at Test.<anonymous> ( /custom-elements/parser/parser-sets-attributes-and-children.html:88:5)
hello world