Summary

Harness status: OK

Found 22 tests

Details

ResultTest NameMessage
PassDeclarative Shadow DOM: Basic test
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:28:3)
Pass
assert_equals(null, null, "Should be inside shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:29:3)
Pass
assert_equals(null, null, "No leftover template node")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:30:3)
Pass
assert_true(true, "No shadow root found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:31:3)
Pass
assert_equals(Element node <slot id="s1" name="slot1"></slot>, Element node <slot id="s1" name="slot1"></slot>)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:33:3)
Pass
assert_array_equals([Element node <div id="c1" slot="slot1"></div>], [Element node <div id="c1" slot="slot1"></div>])
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:34:3)
PassDeclarative Shadow DOM: Feature detection
Asserts run
Pass
assert_true(true, "Unable to feature detect")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:38:3)
PassShadowrootmode reflection
Asserts run
Pass
assert_equals("open", "open", "The shadowRootMode IDL should reflect the content attribute")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:44:3)
Pass
assert_equals("closed", "closed", "\"open\" and \"closed\" should both be valid values")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:46:3)
Pass
assert_equals("open", "open", "Case insensitive")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:48:3)
Pass
assert_equals("", "", "Invalid values map to empty string")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:50:3)
Pass
assert_equals("", "", "No shadowrootmode attribute maps to empty string")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:52:3)
PassShadowrootmode reflection, setter
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:58:3)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:61:3)
PassShadowrootdelegatesfocus reflection
Asserts run
Pass
assert_equals(true, true, "The shadowRootDelegatesFocus IDL should reflect the content attribute")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:68:3)
Pass
assert_equals(true, true, "The value doesn't matter")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:70:3)
Pass
assert_equals(false, false, "No shadowRootDelegatesFocus attribute maps to false")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:72:3)
PassShadowrootdelegatesfocus reflection, setter
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:77:3)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:79:3)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:80:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:82:3)
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:83:3)
PassShadowrootclonable reflection
Asserts run
Pass
assert_equals(true, true, "The shadowRootClonable IDL should reflect the content attribute")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:90:3)
Pass
assert_equals(true, true, "The value doesn't matter")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:92:3)
Pass
assert_equals(false, false, "No shadowRootClonable attribute maps to false")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:94:3)
PassShadowrootclonable reflection, setter
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:99:3)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:101:3)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:102:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:104:3)
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:105:3)
PassDeclarative Shadow DOM: Fragment parser basic test
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:120:3)
Pass
assert_equals(null, null, "Should be inside shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:121:3)
Pass
assert_equals(null, null, "No leftover template node")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:122:3)
Pass
assert_true(true, "No shadow root found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:123:3)
Pass
assert_equals(Element node <slot id="s1" name="slot1"></slot>, Element node <slot id="s1" name="slot1"></slot>)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:125:3)
Pass
assert_array_equals([Element node <div id="c1" slot="slot1"></div>], [Element node <div id="c1" slot="slot1"></div>])
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:126:3)
PassDeclarative Shadow DOM: Invalid shadow root attribute
Asserts run
Pass
assert_equals(null, null, "Shadow root was found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:138:3)
Pass
assert_true(true, "Template should still be present")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:140:3)
Pass
assert_equals("invalid", "invalid", "'shadowrootmode' attribute should still be present")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:142:3)
PassDeclarative Shadow DOM: Closed shadow root attribute
Asserts run
Pass
assert_equals(null, null, "Closed shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:154:3)
Pass
assert_equals(null, null, "No template - converted to shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:155:3)
PassDeclarative Shadow DOM: Missing closing tag
Asserts run
Pass
assert_equals(null, null, "Should be inside shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:167:3)
Pass
assert_equals(null, null, "No leftover template node")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:168:3)
Pass
assert_true(true, "No shadow root found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:169:3)
Pass
assert_true(true, "Slot should be inside the shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:171:3)
PassDeclarative Shadow DOM: delegates focus attribute
Asserts run
Pass
assert_true(true, "No shadow root found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:183:3)
Pass
assert_true(true, "delegatesFocus should be true")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:184:3)
Pass
assert_true(true, "No shadow root found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:192:3)
Pass
assert_false(false, "delegatesFocus should be false without the shadowrootdelegatesfocus attribute")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:193:3)
PassDeclarative Shadow DOM: clonable attribute
Asserts run
Pass
assert_true(true, "No shadow root found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:205:3)
Pass
assert_true(true, "clonable should be true")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:206:3)
Pass
assert_true(true, "No shadow root found")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:214:3)
Pass
assert_false(false, "clonable should be false without the shadowrootclonable attribute")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:215:3)
PassDeclarative Shadow DOM: Multiple roots
Asserts run
Pass
assert_true(true, "The second (duplicate) template should be left in the DOM")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:231:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:232:3)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:233:3)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:234:3)
Pass
assert_true(true, "No open shadow root found - first root should remain")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:235:3)
Pass
assert_equals("root 1", "root 1", "Content should come from first declarative shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:237:3)
PassDeclarative Shadow DOM: template containing declarative shadow root (with shadowrootclonable)
Asserts run
Pass
assert_true(true, "Inner div should have a shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:256:3)
Pass
assert_equals(null, null, "No leftover template node")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:257:3)
Pass
assert_true(true, "Inner div should have a shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:265:3)
Pass
assert_equals(null, null, "No leftover template node")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:266:3)
Pass
assert_not_equals(DocumentFragment node with 1 child, DocumentFragment node with 1 child, "Should not get back the same shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:268:3)
Pass
assert_true(true, "Inner div should have a shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:277:3)
Pass
assert_equals(null, null, "No leftover template node")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:278:3)
Pass
assert_not_equals(DocumentFragment node with 1 child, DocumentFragment node with 1 child, "Should not get back the same shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:279:3)
PassDeclarative Shadow DOM: template containing (deeply nested) declarative shadow root
Asserts run
Pass
assert_true(true, "Inner div should have a shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:298:3)
PassDeclarative Shadow DOM: template containing a template containing declarative shadow root
Asserts run
Pass
assert_true(true, "Inner div should have a shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:319:3)
PassDeclarative Shadow DOM: template containing declarative shadow root and UA shadow root
Asserts run
Pass
assert_true(true, "Inner div should have a shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:341:3)
Pass
assert_equals(null, null, "No leftover template node")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:342:3)
Pass
assert_true(true, "Video element should be present")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:343:3)
PassDeclarative Shadow DOM: template containing closed declarative shadow root and UA shadow root
Asserts run
Pass
assert_true(true, "Inner div should have a closed shadow root")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:362:3)
PassDeclarative Shadow DOM: declarative shadow roots are not supported by the template element
Asserts run
Pass
assert_equals(null, null, "Shadow root should not be present")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:375:3)
Pass
assert_true(true, "Template should still be present")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:377:3)
Pass
assert_equals("open", "open", "'shadowrootmode' attribute should still be present")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:378:3)
PassDeclarative Shadow DOM: explicit test that exceptions are not thrown
Asserts run
Pass
assert_false(false, "Exceptions should not be thrown by the parser")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:391:3)
Pass
assert_true(true, "Progress elements don't allow shadow roots")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:394:3)
Pass
assert_true(true, "The template should be left in the DOM")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:395:3)
Pass
assert_false(false, "Exceptions should not be thrown by the parser")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:400:3)
Pass
assert_true(true, "parsing should have succeeded and left the template child")
    at Test.<anonymous> ( /shadow-dom/declarative/declarative-shadow-dom-basic.html:401:3)