Closed Bug 714602 Opened 13 years ago Closed 13 years ago

Use defaultPrevented instead of the deprecated getPreventDefault()

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 12

People

(Reporter: dao, Assigned: mfinkle)

References

Details

(Whiteboard: not-fennec-11)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #707677 +++

event.getPreventDefault is deprecated, we should use event.defaultPrevented instead.

http://mxr.mozilla.org/mozilla-central/search?string=getPreventDefault&case=1&find=mobile/android/&filter=\.%28js|xml|xul|html%29&hitlimit=&tree=mozilla-central
Attached patch patchSplinter Review
Simple switch. Context menus appear, so the change didn't break anything.
Assignee: nobody → mark.finkle
Attachment #585325 - Flags: review?(mbrubeck)
Attachment #585325 - Flags: review?(mbrubeck) → review+
https://hg.mozilla.org/mozilla-central/rev/20ec67ea2f4a
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Finkle, please request aurora approval
Whiteboard: not-fennec-11
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: