Closed Bug 1323960 Opened 8 years ago Closed 7 years ago

[Pointer Event] dynamically inject mochitest helper to pointer event test cases and keep wpt unchanged

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: stone, Assigned: stone)

Details

Attachments

(3 files, 5 obsolete files)

      No description provided.
Summary: [Pointer Event] dynamic inject mochitest helper to pointer event test cases and keep wpt unchanged → [Pointer Event] dynamically inject mochitest helper to pointer event test cases and keep wpt unchanged
Assignee: nobody → sshih
Now the PointerEvent mochitest test cases are copied from PointerEvent wpt test cases with some modifications (in order to run them as mochitests). This patch dynamically injects the helper js (mochitest_support_internal.js) to the test cases so that we can keep the test cases the same as wpt.
Attachment #8819260 - Attachment is obsolete: true
Although the test case 'pointerevent_setpointercapture_relatedtarget-manual.html' is enabled and run on try server, it's not actually passed. So disable it.
Attachment #8820108 - Attachment is obsolete: true
Attachment #8820110 - Flags: review?(bugs)
Attachment #8820111 - Flags: review?(bugs)
Attachment #8820178 - Flags: review?(bugs)
Attachment #8820178 - Flags: review?(bugs) → review+
Comment on attachment 8820110 [details] [diff] [review]
Part2: copy test cases from testing/web-platform/tests/pointerevents

This is rs+.
This does plenty of other things than just "copy", but everything looks rather mechanical.

I wonder how we should eventually run the tests. It is a bit silly to have wpt and mochitests.
Attachment #8820110 - Flags: review?(bugs) → review+
Attachment #8820111 - Flags: review?(bugs) → review+
Updated the patch summary
Attachment #8820178 - Attachment is obsolete: true
Attachment #8820477 - Flags: review+
Updated the patch summary
Attachment #8820110 - Attachment is obsolete: true
Attachment #8820478 - Flags: review+
Updated the patch summary
Attachment #8820111 - Attachment is obsolete: true
Attachment #8820479 - Flags: review+
Keywords: checkin-needed
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/06723029caa1
Part1: dynamically inject mochitest helper js to test cases. r=smaug.
https://hg.mozilla.org/integration/mozilla-inbound/rev/a648323bf66e
Part2: sync test cases from testing/web-platform/tests/pointerevents. r=smaug
https://hg.mozilla.org/integration/mozilla-inbound/rev/dcba3e75ca80
Part3: disable failed test case and remove nit. r=smaug.
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: