gecko-dev/testing/web-platform/tests/pointerevents/extension
Ella Ge e61d2689a7 Bug 1485205 [wpt PR 12607] - Direct dispatch mouse pointer event by MEM and PEM, a=testonly
Automatic update from web-platform-testsDirect dispatch mouse pointer event by MEM and PEM

We used to direct dispatch mouse pointer events by a different
code path in node.cc. Unlike normal events, these events are
created separately and didn't went through EventHandler. This
causes extra complexity.

This CL changes the direct dispatch code path to dispatch events
through PointerEventManager and MouseEventManager, so we can have
only one place to create events and further merge the event
code path in the future.
This patch should cause no change for direct dispatched events
other then the click count. The new direct dispatch code path
will also update click_count stored in MEM by the
WebMouseEvent.click_count.

This CL also fixes two issue caused by different code path,
1. direct dispatched pointermove events, (eg. when pointerlocked),
didn't havbe getCoalescedEvents.
2. pointer move on chorded mouse button when pointer is locked.

Bug: 859132, 665924
Change-Id: Iead9c8135ef58c2bf8e45bd7787cf14334c2e139
Reviewed-on: https://chromium-review.googlesource.com/1134219
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#591834}

--

wpt-commits: d4c197a71c0777e839b65c17a59da12b6ddd8d0d
wpt-pr: 12607
2018-09-20 12:09:25 +00:00
..
idlharness.window.js Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
pointerevent_coalesced_events_attributes-manual.html
pointerevent_constructor.html
pointerevent_getCoalescedEvents_when_pointerlocked-manual.html Bug 1485205 [wpt PR 12607] - Direct dispatch mouse pointer event by MEM and PEM, a=testonly 2018-09-20 12:09:25 +00:00
pointerevent_pointerrawmove-manual.html Bug 1484747 [wpt PR 12570] - Add pointerrawmove implementation, a=testonly 2018-09-05 13:08:54 +00:00
pointerevent_pointerrawmove_in_pointerlock-manual.html Bug 1485205 [wpt PR 12607] - Direct dispatch mouse pointer event by MEM and PEM, a=testonly 2018-09-20 12:09:25 +00:00
pointerevent_touch-action-pan-down-css_touch-manual.html
pointerevent_touch-action-pan-left-css_touch-manual.html
pointerevent_touch-action-pan-right-css_touch-manual.html
pointerevent_touch-action-pan-up-css_touch-manual.html
pointerevent_touch-action-verification.html