Closed Bug 1180188 Opened 10 years ago Closed 8 years ago

Some pointer events mochitests fails on Linux platform

Categories

(Core :: DOM: Events, defect)

Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox42 --- affected
firefox51 --- fixed

People

(Reporter: alessarik, Assigned: stone)

References

Details

Attachments

(1 file, 2 obsolete files)

Folder: dom/events/test/pointerevents Tests: test_pointerevent_pointerleave_descendant_over-manual.html test_pointerevent_pointerleave_touch-manual.html Fails happen only on Linux platform
Blocks: 1000870
Component: Untriaged → DOM: Events
Product: Firefox → Core
Update: file \dom\events\test\pointerevents\mochitest.ini > test_pointerevent_pointerleave_descendant_over-manual.html > test_pointerevent_pointerleave_touch-manual.html > test_pointerevent_setpointercapture_inactive_button_mouse-manual.html Several tests fails on Linux platform
No longer blocks: 1000870
Depends on: 1000870
Assignee: nobody → sshih
Depends on: 1285128
Attached patch Enable pointer events test cases (obsolete) — Splinter Review
> test_pointerevent_pointerleave_descendant_over-manual.html > test_pointerevent_pointerleave_touch-manual.html > test_pointerevent_setpointercapture_inactive_button_mouse-manual.html These three failure test cases have the same cause as bug1285128. Tested on try server and no related intermittent failures happened so try to enable them again. https://treeherder.mozilla.org/#/jobs?repo=try&revision=e38495178be6a103d89f374f975e748140e8346a https://treeherder.mozilla.org/#/jobs?repo=try&revision=e268eb3ddffabbcdf5b0796dc1b44442ca6fc88e
In test_pointerevent_pointerleave_touch-manual.html, the test case expect a touchstart and touchend trigger pointerleave with pointerType=touch. The synthesized mousemove will trigger pointerleave with pointerType=mouse and break it. In test_pointerevent_pointerleave_descendant_over-manual.html, the test case tests mouse move from parent div to child div and expect no pointerleave events are dispatched to the parent div. The synthesized mousemove triggers the mouse move outside the parent div and induces pointerleave, which break this test case. In test_pointerevent_setpointercapture_inactive_button_mouse-manual.html, it tests setpointercapture should fail when setpointercapture in mousemove listener without button pressed. It's failed because 1. The previous test case 'test_pointerevent_setpointercapture_disconnected-manual.html' only send mouse down but not send mouse up to update gActivePointersIds in Gecko. 2. The synthesized mousemove sends to target0 and successfully triggers setpointercapture
Attachment #8778080 - Attachment is obsolete: true
Attachment #8779597 - Flags: feedback?(btseng)
Attachment #8779597 - Flags: feedback?(btseng) → feedback+
Attachment #8779597 - Flags: review?(bugs)
Attachment #8779597 - Flags: review?(bugs) → review+
Updated patch summary
Attachment #8779597 - Attachment is obsolete: true
Attachment #8779945 - Flags: review+
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/5d2bf29425e2 Some pointer events mochitests fails on Linux platform. r=smaug
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: