Use defaultPrevented instead of the deprecated getPreventDefault()

RESOLVED FIXED in Firefox 12

Status

()

Firefox for Android
General
--
trivial
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: dao, Assigned: mfinkle)

Tracking

Trunk
Firefox 12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: not-fennec-11)

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
+++ 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
Created attachment 585325 [details] [diff] [review]
patch

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
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Finkle, please request aurora approval
(Assignee)

Updated

6 years ago
Whiteboard: not-fennec-11
You need to log in before you can comment on or make changes to this bug.