Fail | type argument is mandatory | assert_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 runFail | assert_throws_js(function "function TypeError() { [native code] }", function "() => new CapturedMouseEvent()")
at Test.<anonymous> ( /captured-mouse-events/captured-mouse-event-constructor.html:12:7) |
|
Fail | Invalid surfaceX/surfaceY options cause a RangeError to be thrown | assert_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 runFail | 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 |
|
Fail | Valid surfaceX/surfaceY options are used as initial values | CapturedMouseEvent is not definedReferenceError: 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 |
Fail | surfaceX/surfaceY default to -1 | CapturedMouseEvent is not definedReferenceError: 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 |