Closed Bug 1987937 Opened 5 months ago Closed 4 months ago

[wpt-sync] Sync PR 54795 - [CodeHealth] Refactor pointerevents/pointerevent_pointerrawupdate.html

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 54795 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/54795
Details from upstream follow.

Mustaq Ahmed <mustaq@google.com> wrote:

[CodeHealth] Refactor pointerevents/pointerevent_pointerrawupdate.html

This is a no-op CL to improve the WPT:

  • Removes redundant assertions around event order and chorded buttons.
    The only thing being tested here is that the event is not fired at
    all in non-secure context (as per
    https://w3c.github.io/pointerevents/#the-pointerrawupdate-event )
  • Ports old-style tests to promise_tests and "use strict".
  • Splits into two test to improve error reports.

(Confirmed manually that Firefox passes the test before and after.)

Bug: 404479704
Change-Id: Iec1d05bd67fe6a864c2e5dbc8e33b6c53edaaa24
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6925091
Commit-Queue: Kevin Ellis \<kevers@chromium.org>
Auto-Submit: Mustaq Ahmed \<mustaq@chromium.org>
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1513681}

Component: web-platform-tests → DOM: Events
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
You need to log in before you can comment on or make changes to this bug.