Bug 197007 - [Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointerlock/pointerevent_coordinates_when_locked.html
Summary: [Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/poi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-17 07:04 PDT by Antoine Quint
Modified: 2019-06-24 12:03 PDT (History)
2 users (show)

See Also:


Attachments
Patch (9.25 KB, patch)
2019-06-24 08:07 PDT, Antoine Quint
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 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.
Comment 1 Antoine Quint 2019-04-17 07:08:25 PDT
It appears requesting pointer lock does not work when called within a "pointerdown" event handler.
Comment 2 Antoine Quint 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.
Comment 3 Antoine Quint 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.
Comment 4 Antoine Quint 2019-06-24 08:07:24 PDT
Created attachment 372762 [details]
Patch
Comment 5 Antoine Quint 2019-06-24 12:02:47 PDT
Committed r246753: <https://trac.webkit.org/changeset/246753>
Comment 6 Radar WebKit Bug Importer 2019-06-24 12:03:16 PDT
<rdar://problem/52063912>