Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassCapture boolean should be honored correctly
Asserts run
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(1, 1, "Incorrect event phase for value: true")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: false")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: null")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: undefined")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(1, 1, "Incorrect event phase for value: 2.3")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(1, 1, "Incorrect event phase for value: -1000.3")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: null")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: 0")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: 0")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: \"\"")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(1, 1, "Incorrect event phase for value: \"AAAA\"")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
PassCapture option should be honored correctly
Asserts run
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: {}")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(1, 1, "Incorrect event phase for value: {\"capture\":true}")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: {\"capture\":false}")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(1, 1, "Incorrect event phase for value: {\"capture\":2}")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
Pass
assert_equals(undefined, undefined, "Handler invoked after remove")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:15:5)
Pass
assert_equals(3, 3, "Incorrect event phase for value: {\"capture\":0}")
    at testCaptureValue ( /dom/events/EventListenerOptions-capture.html:22:3)
PassSupports capture option
Asserts run
Pass
assert_true(true, "addEventListener doesn't support the capture option")
    at Test.<anonymous> ( /dom/events/EventListenerOptions-capture.html:61:3)
Pass
assert_true(true, "removeEventListener doesn't support the capture option")
    at Test.<anonymous> ( /dom/events/EventListenerOptions-capture.html:64:3)
PassEquivalence of option values
Asserts run
Pass
assert_equals(true, true, "equivalence of options {} and false")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(true, true, "equivalence of options {\"capture\":false} and false")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(true, true, "equivalence of options true and {\"capture\":true}")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(true, true, "equivalence of options {\"capture\":null} and undefined")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(true, true, "equivalence of options {\"capture\":true} and {\"dummy\":false,\"capture\":1}")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(true, true, "equivalence of options {\"dummy\":true} and false")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(false, false, "Handler invoked multiple times")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:70:5)
Pass
assert_equals(false, false, "equivalence of options true and false")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(false, false, "Handler invoked multiple times")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:70:5)
Pass
assert_equals(false, false, "equivalence of options true and {\"capture\":false}")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)
Pass
assert_equals(false, false, "Handler invoked multiple times")
    at HTMLDocument.handler ( /dom/events/EventListenerOptions-capture.html:70:5)
Pass
assert_equals(false, false, "equivalence of options {} and true")
    at testOptionEquality ( /dom/events/EventListenerOptions-capture.html:76:3)