Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassRepeated declarative shadow roots keep only the first
Asserts run
Pass
assert_true(true, "Remaining shadow root should be open")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:30:3)
Pass
assert_equals("Open", "Open")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:31:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:32:3)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:33:3)
Pass
assert_false(false, "Remaining shadow root should be closed")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:35:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:36:3)
Pass
assert_equals("open", "open")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:37:3)
PassCalling attachShadow() on declarative shadow root must match mode
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "() => {     open1.attachShadow({mode: "closed"});   }", "Mismatched shadow root mode should throw")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:47:3)
Pass
assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "Same shadow should be returned")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:52:3)
Pass
assert_equals("", "", "Shadow should be empty")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:53:3)
PassCalling attachShadow() on declarative shadow root must match all parameters
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:67:3)
Pass
assert_throws_dom("NotSupportedError", function "() => {     open2.attachShadow({mode: "closed"});   }", "Mismatched shadow root mode should throw")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:69:3)
Pass
assert_throws_dom("NotSupportedError", function "() => {     open2.attachShadow({mode: "closed", delegatesFocus: true, slotAssignment: "named", clonable: true, serializable: true});   }", "Mismatched shadow root mode should throw (explicit args)")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:72:3)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:78:3)
Pass
assert_equals("named", "named")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:79:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:80:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:81:3)
Pass
assert_equals(DocumentFragment node with 0 children, DocumentFragment node with 0 children, "Same shadow should be returned")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:83:3)
Pass
assert_equals("", "", "Shadow should be empty")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:84:3)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:85:3)
Pass
assert_equals("named", "named")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:86:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:87:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:88:3)
Pass
assert_throws_dom("NotSupportedError", function "() => {     open2.attachShadow({mode: "open"});   }", "Invoking attachShadow() on a non-declarative shadow root should throw")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-repeats.html:89:3)