Closed
Bug 1311269
Opened 8 years ago
Closed 8 years ago
[Pointer Events] Should only use `sendMouseEvent()` and `sendTouchEvent()` in PE testcases
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: bhsu, Assigned: bhsu)
Details
Attachments
(2 files)
2.39 KB,
patch
|
smaug
:
review+
stone
:
feedback+
|
Details | Diff | Splinter Review |
3.87 KB,
patch
|
smaug
:
review+
stone
:
feedback+
|
Details | Diff | Splinter Review |
We should only use `sendMouseEvent()` and `sendTouchEvent()` in PE testcases, from which we synthesize WidgetMouseEvents and WidgetTouchEvents to test pointer events automatically. Doing this will benefit us Now there are two testcases not following this design, test_pointerevent_attributes_mouse-manual.html and test_pointerevent_change-touch-action-onpointerdown_touch-manual.html.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bhsu
Assignee | ||
Comment 1•8 years ago
|
||
In this patch, I make both `sendMouseEvent()` and `sendTouchEvent()` more powerfull by granting the ability to decide the target position of the synthesized events.
Assignee | ||
Comment 2•8 years ago
|
||
In the patch, I update the two testcase no using `sendMouseEvent()` and `sendTouchEvent()`. In test_pointerevent_attributes_mouse-manual.html, I use the new API. As to test_pointerevent_change-touch-action-onpointerdown_touch-manual.html, I suggest disable it since we're not using the testcase right as the comment I left in the testcase. However, it's already disabled in mochitest.ini[0]. [0] http://searchfox.org/mozilla-central/source/dom/events/test/pointerevents/mochitest.ini#17
Assignee | ||
Updated•8 years ago
|
Attachment #8802788 -
Flags: feedback?(sshih)
Assignee | ||
Updated•8 years ago
|
Attachment #8802792 -
Flags: feedback?(sshih)
Assignee | ||
Comment 3•8 years ago
|
||
Hi Stone, do you mind giving feedback on these two patches?
Updated•8 years ago
|
Attachment #8802788 -
Flags: feedback?(sshih) → feedback+
Updated•8 years ago
|
Attachment #8802792 -
Flags: feedback?(sshih) → feedback+
Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8802788 [details] [diff] [review] Part 1: Improve PE test automation Framework Hi Olli, Do you mind reviewing these patches? Details are described in comment 1 and comment 2, respectively.
Attachment #8802788 -
Flags: review?(bugs)
Assignee | ||
Updated•8 years ago
|
Attachment #8802792 -
Flags: review?(bugs)
Comment 5•8 years ago
|
||
Comment on attachment 8802788 [details] [diff] [review] Part 1: Improve PE test automation Framework rs+
Attachment #8802788 -
Flags: review?(bugs) → review+
Comment 6•8 years ago
|
||
Comment on attachment 8802792 [details] [diff] [review] Part 2: Update related testcases. rs+
Attachment #8802792 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 7•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=674bed93cd4c&selectedJob=29579527
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d85188ac754e Part 1: Improve PE test automation framework. f=sshih, r=smaug https://hg.mozilla.org/integration/mozilla-inbound/rev/e94e8a28abd1 Part 2: Update related testcases. f=sshih, r=smaug
Keywords: checkin-needed
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d85188ac754e https://hg.mozilla.org/mozilla-central/rev/e94e8a28abd1
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•