Closed Bug 1036444 Opened 10 years ago Closed 10 years ago

Remove the NS_TOUCH_ENTER and NS_TOUCH_LEAVE events

Categories

(Core :: DOM: Events, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: kats, Assigned: kats)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

BasicEvents.h defines NS_TOUCH_ENTER and NS_TOUCH_LEAVE events [1] which don't appear to be generated anywhere in the code (looking through MXR anyway). The docs for these events [2][3] say they have been removed from the W3C spec [4] (which is true) so we should probably just kill these events entirely. Is there any reason for keeping them around?

[1] http://mxr.mozilla.org/mozilla-central/source/widget/BasicEvents.h?rev=e2b9d289514f#437
[2] https://developer.mozilla.org/en-US/docs/Web/Events/touchenter
[3] https://developer.mozilla.org/en-US/docs/Web/Events/touchleave
[4] http://www.w3.org/TR/touch-events/
Flags: needinfo?(bugs)
We should just kill them.
Flags: needinfo?(bugs)
Attached patch PatchSplinter Review
https://tbpl.mozilla.org/?tree=Try&rev=49c2a787d5b2
Assignee: nobody → bugmail.mozilla
Attachment #8453179 - Attachment description: WIP → Patch
Attachment #8453179 - Flags: review?(bugs)
Attachment #8453179 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/df6ba75a47bd
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Depends on: 1061663
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: