Warn about getPreventDefault being deprecated

RESOLVED FIXED in mozilla24

Status

()

Core
DOM: Events
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: dao, Assigned: emk)

Tracking

(Blocks: 1 bug, {addon-compat, dev-doc-complete, site-compat})

Trunk
mozilla24
addon-compat, dev-doc-complete, site-compat
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
+++ This bug was initially created as a clone of Bug #691151 +++

This is not standard and has a standard alternative (defaultPrevented property).
There is no reason to keep this around forever.

Updated

4 years ago
Keywords: addon-compat, site-compat
(Assignee)

Comment 1

4 years ago
Created attachment 753617 [details] [diff] [review]
Add a deprecation warning to getPreventDefault

https://tbpl.mozilla.org/?tree=Try&rev=578426a424f9
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Attachment #753617 - Flags: review?(bugs)

Updated

4 years ago
Attachment #753617 - Flags: review?(bugs) → review+
(Assignee)

Comment 2

4 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/db13e1fbc642
(Assignee)

Comment 3

4 years ago
Reverted (see bug 691151 for details).
https://hg.mozilla.org/integration/mozilla-inbound/rev/f3afa7937265
(Assignee)

Comment 4

4 years ago
Fixed call sites, relanding.
https://hg.mozilla.org/integration/mozilla-inbound/rev/dd8f0acfc948
https://hg.mozilla.org/mozilla-central/rev/dd8f0acfc948
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Mentioned in the compatibility document:
https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_24

The method has already been marked deprecated in other documents.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.