Failing WPTs in /pointerevents/coalesced_events_attributes.https.html?mouse
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
Assignee | ||
Comment 1•3 months ago
|
||
Currently, we set coalesced events only when eMouseMove
or eTouchMove
is received in a remote process. Therefore, synthesized events for tests and
ePointerMove
event which is converted from non-eMouseMove
event won't have
coalesced events.
This patch makes the synthesizer methods set the coalesced event as the event
itself to emulate exactly same data at handling user input. Additionally,
make PointerEventHandler::DispatchPointerFromMouseOrTouch
guarantees it
even in the parent process for the consistency.
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
Currently, we set coalesced events only when eMouseMove
or eTouchMove
is received in a remote process. Therefore, synthesized events for tests and
ePointerMove
event which is converted from non-eMouseMove
event won't have
coalesced events.
This patch makes PointerEvent::GetCoalescedEvents()
ensure at least one
coalesced event if it's a trust event, a pointermove
event and its widget
event does not have coalesced events.
Ideally, we should fix this at synthesizer and PointerEventHandler
to make
consistent data between user initiated events and synthesized events for tests
to check the behavior exactly. However, it requires much more complicated
patch and C++ default handlers shouldn't refer the coalesced events.
Therefore, this patch touches the path in PointerEvent::GetCoalescedEvents()
.
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Backed out for causing failures at coalesced_events_attributes_under_load.https.
Backout link: https://hg.mozilla.org/integration/autoland/rev/43cf0e81627ee5f53e061f2d7ecfadb4fa06b2f6
Failure log: https://treeherder.mozilla.org/logviewer?job_id=472044302&repo=autoland&lineNumber=9900
Assignee | ||
Comment 5•2 months ago
|
||
Hmm, bad timing. The test was updated recently. I'll retry to land it tomorrow after it comes m-c.
Assignee | ||
Comment 6•2 months ago
|
||
The patch makes PointerEvent.getCoalescedEvents()
slower since synthesized events have not been initialized correctly before applying the patch. Additionally, the timeout itself is reported in bug 1915342. So, the slowness with this patch just increased the frequency. I'll make the manifest allow timeout if it's mac-opt build.
Comment 8•2 months ago
|
||
bugherder |
Description
•