Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassCapturing event listeners should be invoked before bubbling event listeners on the target without shadow trees
Asserts run
Pass
assert_object_equals([["capturing", 1, "target", "test1", ["target", "parent", "test1"]], ["capturing", 1, "target", "parent", ["target", "parent", "test1"]], ["capturing", 2, "target", "target", ["target", "parent", "test1"]], ["bubbling", 2, "target", "target", ["target", "parent", "test1"]], ["bubbling", 3, "target", "parent", ["target", "parent", "test1"]], ["bubbling", 3, "target", "test1", ["target", "parent", "test1"]]], [["capturing", 1, "target", "test1", ["target", "parent", "test1"]], ["capturing", 1, "target", "parent", [...]], ["capturing", 2, "target", "target", [...]], ["bubbling", 2, "target", "target", [...]], ["bubbling", 3, "target", "parent", [...]], ["bubbling", 3, "target", "test1", [...]]])
    at Test.<anonymous> ( /shadow-dom/capturing-and-bubbling-event-listeners-across-shadow-trees.html:40:5)
PassCapturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a shadow tree
Asserts run
Pass
assert_object_equals([["capturing", 1, "host", "test2", ["host", "test2"]], ["capturing", 2, "host", "host", ["host", "test2"]], ["capturing", 1, "target", "shadowRoot", ["target", "shadowRoot", "host", "test2"]], ["capturing", 2, "target", "target", ["target", "shadowRoot", "host", "test2"]], ["bubbling", 2, "target", "target", ["target", "shadowRoot", "host", "test2"]], ["bubbling", 3, "target", "shadowRoot", ["target", "shadowRoot", "host", "test2"]], ["bubbling", 2, "host", "host", ["host", "test2"]], ["bubbling", 3, "host", "test2", ["host", "test2"]]], [["capturing", 1, "host", "test2", ["host", "test2"]], ["capturing", 2, "host", "host", [...]], ["capturing", 1, "target", "shadowRoot", ["target", "shadowRoot", "host", "test2"]], ["capturing", 2, "target", "target", [...]], ["bubbling", 2, "target", "target", [...]], ["bubbling", 3, "target", "shadowRoot", [...]], ["bubbling", 2, "host", "host", [...]], ["bubbling", 3, "host", "test2", [...]]])
    at Test.<anonymous> ( /shadow-dom/capturing-and-bubbling-event-listeners-across-shadow-trees.html:66:5)
PassCapturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a doubly nested shadow tree
Asserts run
Pass
assert_object_equals([["capturing", 1, "outerHost", "test3", ["outerHost", "test3"]], ["capturing", 2, "outerHost", "outerHost", ["outerHost", "test3"]], ["capturing", 1, "innerHost", "outerShadowRoot", ["innerHost", "outerShadowRoot", "outerHost", "test3"]], ["capturing", 2, "innerHost", "innerHost", ["innerHost", "outerShadowRoot", "outerHost", "test3"]], ["capturing", 1, "target", "innerShadowRoot", ["target", "innerShadowRoot", "innerHost", "outerShadowRoot", "outerHost", "test3"]], ["capturing", 2, "target", "target", ["target", "innerShadowRoot", "innerHost", "outerShadowRoot", "outerHost", "test3"]], ["bubbling", 2, "target", "target", ["target", "innerShadowRoot", "innerHost", "outerShadowRoot", "outerHost", "test3"]], ["bubbling", 3, "target", "innerShadowRoot", ["target", "innerShadowRoot", "innerHost", "outerShadowRoot", "outerHost", "test3"]], ["bubbling", 2, "innerHost", "innerHost", ["innerHost", "outerShadowRoot", "outerHost", "test3"]], ["bubbling", 3, "innerHost", "outerShadowRoot", ["innerHost", "outerShadowRoot", "outerHost", "test3"]], ["bubbling", 2, "outerHost", "outerHost", ["outerHost", "test3"]], ["bubbling", 3, "outerHost", "test3", ["outerHost", "test3"]]], [["capturing", 1, "outerHost", "test3", ["outerHost", "test3"]], ["capturing", 2, "outerHost", "outerHost", [...]], ["capturing", 1, "innerHost", "outerShadowRoot", ["innerHost", "outerShadowRoot", "outerHost", "test3"]], ["capturing", 2, "innerHost", "innerHost", [...]], ["capturing", 1, "target", "innerShadowRoot", ["target", "innerShadowRoot", "innerHost", "outerShadowRoot", "outerHost", "test3"]], ["capturing", 2, "target", "target", [...]], ["bubbling", 2, "target", "target", [...]], ["bubbling", 3, "target", "innerShadowRoot", [...]], ["bubbling", 2, "innerHost", "innerHost", [...]], ["bubbling", 3, "innerHost", "outerShadowRoot", [...]], ["bubbling", 2, "outerHost", "outerHost", [...]], ["bubbling", 3, "outerHost", "test3", [...]]])
    at Test.<anonymous> ( /shadow-dom/capturing-and-bubbling-event-listeners-across-shadow-trees.html:99:5)
PassCapturing event listeners should be invoked before bubbling event listeners when an event is dispatched via a slot
Asserts run
Pass
assert_object_equals([["capturing", 1, "target", "test4", ["target", "host", "test4"]], ["capturing", 1, "target", "host", ["target", "host", "test4"]], ["capturing", 1, "target", "shadowRoot", ["target", "slot", "shadowRoot", "host", "test4"]], ["capturing", 1, "target", "slot", ["target", "slot", "shadowRoot", "host", "test4"]], ["capturing", 2, "target", "target", ["target", "host", "test4"]], ["bubbling", 2, "target", "target", ["target", "host", "test4"]], ["bubbling", 3, "target", "slot", ["target", "slot", "shadowRoot", "host", "test4"]], ["bubbling", 3, "target", "shadowRoot", ["target", "slot", "shadowRoot", "host", "test4"]], ["bubbling", 3, "target", "host", ["target", "host", "test4"]], ["bubbling", 3, "target", "test4", ["target", "host", "test4"]]], [["capturing", 1, "target", "test4", ["target", "host", "test4"]], ["capturing", 1, "target", "host", [...]], ["capturing", 1, "target", "shadowRoot", ["target", "slot", "shadowRoot", "host", "test4"]], ["capturing", 1, "target", "slot", [...]], ["capturing", 2, "target", "target", [...]], ["bubbling", 2, "target", "target", [...]], ["bubbling", 3, "target", "slot", [...]], ["bubbling", 3, "target", "shadowRoot", [...]], ["bubbling", 3, "target", "host", [...]], ["bubbling", 3, "target", "test4", [...]]])
    at Test.<anonymous> ( /shadow-dom/capturing-and-bubbling-event-listeners-across-shadow-trees.html:133:5)
PassCapturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a shadow tree which passes through another shadow tree
Asserts run
Pass
assert_object_equals([["capturing", 1, "lowerHost", "test5", ["lowerHost", "upperHost", "test5"]], ["capturing", 1, "lowerHost", "upperHost", ["lowerHost", "upperHost", "test5"]], ["capturing", 1, "lowerHost", "upperShadowRoot", ["lowerHost", "upperSlot", "upperShadowRoot", "upperHost", "test5"]], ["capturing", 1, "lowerHost", "upperSlot", ["lowerHost", "upperSlot", "upperShadowRoot", "upperHost", "test5"]], ["capturing", 2, "lowerHost", "lowerHost", ["lowerHost", "upperHost", "test5"]], ["capturing", 1, "target", "lowerShadowRoot", ["target", "lowerShadowRoot", "lowerHost", "upperHost", "test5"]], ["capturing", 2, "target", "target", ["target", "lowerShadowRoot", "lowerHost", "upperHost", "test5"]], ["bubbling", 2, "target", "target", ["target", "lowerShadowRoot", "lowerHost", "upperHost", "test5"]], ["bubbling", 3, "target", "lowerShadowRoot", ["target", "lowerShadowRoot", "lowerHost", "upperHost", "test5"]], ["bubbling", 2, "lowerHost", "lowerHost", ["lowerHost", "upperHost", "test5"]], ["bubbling", 3, "lowerHost", "upperSlot", ["lowerHost", "upperSlot", "upperShadowRoot", "upperHost", "test5"]], ["bubbling", 3, "lowerHost", "upperShadowRoot", ["lowerHost", "upperSlot", "upperShadowRoot", "upperHost", "test5"]], ["bubbling", 3, "lowerHost", "upperHost", ["lowerHost", "upperHost", "test5"]], ["bubbling", 3, "lowerHost", "test5", ["lowerHost", "upperHost", "test5"]]], [["capturing", 1, "lowerHost", "test5", ["lowerHost", "upperHost", "test5"]], ["capturing", 1, "lowerHost", "upperHost", [...]], ["capturing", 1, "lowerHost", "upperShadowRoot", ["lowerHost", "upperSlot", "upperShadowRoot", "upperHost", "test5"]], ["capturing", 1, "lowerHost", "upperSlot", [...]], ["capturing", 2, "lowerHost", "lowerHost", [...]], ["capturing", 1, "target", "lowerShadowRoot", ["target", "lowerShadowRoot", "lowerHost", "upperHost", "test5"]], ["capturing", 2, "target", "target", [...]], ["bubbling", 2, "target", "target", [...]], ["bubbling", 3, "target", "lowerShadowRoot", [...]], ["bubbling", 2, "lowerHost", "lowerHost", [...]], ["bubbling", 3, "lowerHost", "upperSlot", [...]], ["bubbling", 3, "lowerHost", "upperShadowRoot", [...]], ["bubbling", 3, "lowerHost", "upperHost", [...]], ["bubbling", 3, "lowerHost", "test5", [...]]])
    at Test.<anonymous> ( /shadow-dom/capturing-and-bubbling-event-listeners-across-shadow-trees.html:170:5)