Bug 226727 - Crash when removing PointerLock target on mouseup
Summary: Crash when removing PointerLock target on mouseup
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://wpt.live/pointerlock/pointerlo...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-07 05:53 PDT by Sam Sneddon [:gsnedders]
Modified: 2022-08-12 22:04 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Sneddon [:gsnedders] 2021-06-07 05:53:50 PDT
1. Load http://wpt.live/pointerlock/pointerlock_remove_target_on_mouseup.html
2. Click anywhere
3. Immediate crash on mouse click

Per https://wpt.fyi, this is not a regression.

<rdar://78944284>
Comment 1 Ahmad Saleem 2022-08-12 14:43:01 PDT
It does not crash Safari tab or browser window but in Safari 15.6 on macOS 12.5 output this:

Harness status: Error

Rerun
Unhandled rejection: unimplemented
action_sequence@http://wpt.live/resources/testdriver.js:685:44
send@http://wpt.live/resources/testdriver-actions.js:99:41
global code@http://wpt.live/pointerlock/pointerlock_remove_target_on_mouseup.html:29:21

It shows this as "PASS" though and same as with Safari Technical Preview 151.

Same error appears on all browsers (Firefox Nightly 105 and Chrome Canary 106). I am not sure whether it is an issue with test case or it is something missing across all browsers. Thanks!
Comment 2 Ryosuke Niwa 2022-08-12 15:38:23 PDT
That test requires web driver, and cannot be run manually in a browser. That's why harness failure happens.
Comment 3 Ryosuke Niwa 2022-08-12 22:04:04 PDT
Hm... I don't reproduce the crash, and wpt.fyi says we're passing.