[wpt-sync] Sync PR 14911 - Set click count correctly to dispatch "dblclick" event
Categories
(Testing :: web-platform-tests, enhancement, P4)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 14911 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/14911
Details from upstream follow.
Lan Wei <lanwei@chromium.org> wrote:
Set click count correctly to dispatch "dblclick" event
In order to dispatch the "dblclick" event to DOM by sending synthetic
mouse events, we have to check the most recent two mouse press events.
If their dispatched times and locations are close enough, we will set
the mouse event's click count to 2, which will generate the "dblclick"
event.Bug: 606367
Change-Id: I049d6463c6bf1393c9e8b496662359eeeef7682b
Reviewed-on: https://chromium-review.googlesource.com/1413362
WPT-Export-Revision: 1677d28d1fc5de434b3778b91df44040a8f54957
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=e0265c9f13fa2d3c780c0e70c4efbea4a2ae76ba
Assignee | ||
Comment 2•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=722a1ef0bc0c5bff16942793fdf521df3e2aadb9
Assignee | ||
Comment 3•4 years ago
|
||
Ran 2 tests and 4 subtests OK : 2 PASS : 3 FAIL : 1 New tests that have failures or other problems: /uievents/click/auxclick_event.html auxclick event sequence received.: FAIL
Assignee | ||
Updated•4 years ago
|
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cc6673d871d1 [wpt PR 14911] - Set click count correctly to dispatch "dblclick" event, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/11e5c7e27821 [wpt PR 14911] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/280b4d2466dd [wpt PR 14911] - Set click count correctly to dispatch "dblclick" event, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/c4418df3a573 [wpt PR 14911] - Update wpt metadata, a=testonly
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/280b4d2466dd
https://hg.mozilla.org/mozilla-central/rev/c4418df3a573
Description
•