[wpt-sync] Sync PR 14911 - Set click count correctly to dispatch "dblclick" event

RESOLVED FIXED in Firefox 67

Status

enhancement
P4
normal
RESOLVED FIXED
4 months ago
4 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla67
Points:
---

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

4 months ago

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 months ago
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee

Updated

4 months ago
Component: web-platform-tests → DOM: Events
Product: Testing → Core
Assignee

Updated

4 months ago
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee

Comment 3

4 months 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 months ago
Component: DOM: Events → web-platform-tests
Product: Core → Testing

Comment 4

4 months 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

Comment 5

4 months ago
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 months ago
bugherder
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.