Last Comment Bug 726933 - Warn about getPreventDefault being deprecated
: Warn about getPreventDefault being deprecated
: addon-compat, dev-doc-complete, site-compat
Product: Core
Classification: Components
Component: DOM: Events (show other bugs)
: Trunk
: All All
-- normal (vote)
: mozilla24
Assigned To: Masatoshi Kimura [:emk]
: Andrew Overholt [:overholt]
Depends on:
Blocks: 691151
  Show dependency treegraph
Reported: 2012-02-14 00:41 PST by Dão Gottwald [:dao]
Modified: 2013-05-27 19:39 PDT (History)
10 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Add a deprecation warning to getPreventDefault (3.72 KB, patch)
2013-05-23 21:59 PDT, Masatoshi Kimura [:emk]
bugs: review+
Details | Diff | Splinter Review

Description User image Dão Gottwald [:dao] 2012-02-14 00:41:47 PST
+++ 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.
Comment 1 User image Masatoshi Kimura [:emk] 2013-05-23 21:59:54 PDT
Created attachment 753617 [details] [diff] [review]
Add a deprecation warning to getPreventDefault
Comment 3 User image Masatoshi Kimura [:emk] 2013-05-24 16:47:13 PDT
Reverted (see bug 691151 for details).
Comment 4 User image Masatoshi Kimura [:emk] 2013-05-27 07:45:08 PDT
Fixed call sites, relanding.
Comment 5 User image Phil Ringnalda (:philor) 2013-05-27 18:56:04 PDT
Comment 6 User image Kohei Yoshino [:kohei] 2013-05-27 19:39:58 PDT
Mentioned in the compatibility document:

The method has already been marked deprecated in other documents.

Note You need to log in before you can comment on or make changes to this bug.