Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
PassA new events composed value should be set to false by default.
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /shadow-dom/event-composed.html:15:3)
PassUsers should be able to set a composed value.
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /shadow-dom/event-composed.html:20:3)
PassAn event should be scoped by default
Asserts run
Pass
assert_equals(2, 2)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:152:3)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("target", "target", "currentTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot"], ["target", "shadowRoot"], "composedPath at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("shadowRoot", "shadowRoot", "currentTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot"], ["target", "shadowRoot"], "composedPath at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
PassAn event should not be scoped if composed is specified
Asserts run
Pass
assert_equals(3, 3)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:152:3)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("target", "target", "currentTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("shadowRoot", "shadowRoot", "currentTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("host", "host", "currentTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("host", "host", "target at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
PassA synthetic MouseEvent should be scoped by default
Asserts run
Pass
assert_equals(2, 2)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:152:3)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("target", "target", "currentTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot"], ["target", "shadowRoot"], "composedPath at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("shadowRoot", "shadowRoot", "currentTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot"], ["target", "shadowRoot"], "composedPath at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
PassA synthetic MouseEvent with composed=true should not be scoped
Asserts run
Pass
assert_equals(3, 3)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:152:3)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("target", "target", "currentTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("shadowRoot", "shadowRoot", "currentTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("host", "host", "currentTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("host", "host", "target at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
PassA synthetic FocusEvent should be scoped by default
Asserts run
Pass
assert_equals(2, 2)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:152:3)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("target", "target", "currentTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot"], ["target", "shadowRoot"], "composedPath at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("shadowRoot", "shadowRoot", "currentTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot"], ["target", "shadowRoot"], "composedPath at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
PassA synthetic FocusEvent with composed=true should not be scoped
Asserts run
Pass
assert_equals(3, 3)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:152:3)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("target", "target", "currentTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("shadowRoot", "shadowRoot", "currentTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("host", "host", "currentTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("host", "host", "target at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
PassA UA click event should not be scoped
Asserts run
Pass
assert_equals(3, 3)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:152:3)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("target", "target", "currentTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 0 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("shadowRoot", "shadowRoot", "currentTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("target", "target", "target at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 1 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)
Pass
assert_equals(4, 4)
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:154:5)
Pass
assert_equals("host", "host", "currentTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:155:5)
Pass
assert_equals("host", "host", "target at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:156:5)
Pass
assert_equals(null, null, "relatedTarget at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:157:5)
Pass
assert_array_equals(["target", "shadowRoot", "host"], ["target", "shadowRoot", "host"], "composedPath at 2 should be same")
    at assert_event_path_equals ( /shadow-dom/resources/shadow-dom.js:158:5)