We now have a simple mechanism for marking JavaScript APIs as deprecated. I would like to invite you all to activate the corresponding preference, and to use it for your own code.
* Seeing deprecation warnings set preference "devtools.errorconsole.deprecation_warnings" to "true" Deprecation warnings now appear in the console. * Marking a method as deprecated Components.utils.import("toolkit/content/Deprecated.jsm"); function foobar() { Deprecated.warning("Method foobar is deprecated", urlToDocumentation); // ... } Well, essentially, this is it. Have fun! David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform