Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Failtype argument is mandatoryassert_throws_js: function "() => new CapturedMouseEvent()" threw object "ReferenceError: CapturedMouseEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:12:7)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:11:3
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "() => new CapturedMouseEvent()")
    at Test.<anonymous> ( /captured-mouse-events/captured-mouse-event-constructor.html:12:7)
FailInvalid surfaceX/surfaceY options cause a RangeError to be thrownassert_throws_js: eventInitDict={"surfaceX":-5,"surfaceY":-5} function "() => new CapturedMouseEvent("", init)" threw object "ReferenceError: CapturedMouseEvent is not defined" ("ReferenceError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
    at https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:27:11
    at Array.forEach (<anonymous>)
    at Test.<anonymous> (https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:26:9)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
Asserts run
Fail
assert_throws_js(function "function RangeError() { [native code] }", function "() => new CapturedMouseEvent("", init)", "eventInitDict={\"surfaceX\":-5,\"surfaceY\":-5}")
    at  /captured-mouse-events/captured-mouse-event-constructor.html:27:11
FailValid surfaceX/surfaceY options are used as initial valuesCapturedMouseEvent is not defined
ReferenceError: CapturedMouseEvent is not defined
    at https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:41:23
    at Array.forEach (<anonymous>)
    at Test.<anonymous> (https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:40:9)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:32:3
Asserts runNo asserts ran
FailsurfaceX/surfaceY default to -1CapturedMouseEvent is not defined
ReferenceError: CapturedMouseEvent is not defined
    at Test.<anonymous> (https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:50:19)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/captured-mouse-events/captured-mouse-event-constructor.html:49:3
Asserts runNo asserts ran