Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassMoving the template node during parsing should attach to initial parent (content before observer)
Asserts run
Pass
assert_true(true, "Declarative shadow template should not be left over")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:33:7)
Pass
assert_true(true, "Old host should not contain children")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:34:7)
Pass
assert_true(true, "New host should not contain any children")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:35:7)
Pass
assert_true(true, "Shadow root should be present")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:36:7)
Pass
assert_true(true, "The shadow root should contain a span")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:37:7)
PassMoving the template node during parsing should attach to initial parent (content after observer)
Asserts run
Pass
assert_true(true, "Declarative shadow template should not be left over")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:33:7)
Pass
assert_true(true, "Old host should not contain children")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:34:7)
Pass
assert_true(true, "New host should not contain any children")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:35:7)
Pass
assert_true(true, "Shadow root should be present")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:36:7)
Pass
assert_true(true, "The shadow root should contain a span")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:37:7)
PassMoving the template node from invalid parent to valid parent should still not attach
Asserts run
Pass
assert_true(true, "Old host should not contain children")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:39:7)
Pass
assert_true(true, "New host should now contain the template")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:40:7)
Pass
assert_true(true, "Shadow root should not be present")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:41:7)
Pass
assert_true(true, "Declarative shadow template should be left over")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:42:7)
Pass
assert_equals(Element node <template class="template" shadowrootmode="open">       <..., Element node <template class="template" shadowrootmode="open">       <..., "Declarative shadow template should be in the new host")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:43:7)
Pass
assert_true(true, "The template should still contain its content")
    at Test.<anonymous> ( /shadow-dom/declarative/move-template-before-closing-tag.html:44:7)