RESOLVED FIXED 197007
[Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointerlock/pointerevent_coordinates_when_locked.html
https://bugs.webkit.org/show_bug.cgi?id=197007
Summary [Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/poi...
Antoine Quint
Reported 2019-04-17 07:04:30 PDT
The test at imported/w3c/web-platform-tests/pointerevents/pointerlock/pointerevent_coordinates_when_locked.html is timing out and is currently skipped.
Attachments
Patch (9.25 KB, patch)
2019-06-24 08:07 PDT, Antoine Quint
dino: review+
Antoine Quint
Comment 1 2019-04-17 07:08:25 PDT
It appears requesting pointer lock does not work when called within a "pointerdown" event handler.
Antoine Quint
Comment 2 2019-04-18 07:09:35 PDT
I think the test is buggy, see https://github.com/web-platform-tests/wpt/issues/16406. However, tweaking the test shows failures.
Antoine Quint
Comment 3 2019-06-24 05:50:50 PDT
This test assumes that the pointerlockchange event is dispatched synchronously after calling requestPointerLock(). This is the reason it's timing out. It still fails afterwards though, so there is work to do.
Antoine Quint
Comment 4 2019-06-24 08:07:24 PDT
Antoine Quint
Comment 5 2019-06-24 12:02:47 PDT
Radar WebKit Bug Importer
Comment 6 2019-06-24 12:03:16 PDT
Note You need to log in before you can comment on or make changes to this bug.