Closed Bug 1689414 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27369 - Simulated Clicks - send pointer down/up events

Categories

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

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Liviu Tinta <liviutinta@chromium.org>' wrote:

Simulated Clicks - send pointer down/up events

Based on discussion in crbug.com/1150979 we need to send
pointer down/up events for simulated clicks.
If pointerdown event is preventDefaulted then do not send compat
mouse events.

Bug: 1150979
TEST: accessibility/press-works-on-control-types.html
accessibility/press-works-on-control-types-pointer-events.html
Change-Id: I52c6d0af717e53b30f5fb7507ac7b7782d4cbe68
Reviewed-on: https://chromium-review.googlesource.com/2560801
WPT-Export-Revision: 2c07999bac7beb989ffbf9fe4d860494c631277f

Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 4 subtests

Status Summary

Firefox

OK : 3
PASS: 6
FAIL: 1

Chrome

OK : 3
PASS: 7

Safari

OK : 3
PASS: 6
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/uievents/interface/click-event.htm
synthetic click event is a PointerEvent: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5425a75baa8f [wpt PR 27369] - Simulated Clicks - send pointer down/up events, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.