diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-01-09 15:05:14 -0600 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-01-09 15:05:14 -0600 |
commit | f526187a5481b7118e270d2a84273f4ff450efc1 (patch) | |
tree | 50b62db292fdfb96317f319f244d7ff1caf7b6b3 /modules | |
parent | eed98f7886e68bbe89fbf170f5f9f136cd8ac766 (diff) | |
download | aura-central-f526187a5481b7118e270d2a84273f4ff450efc1.tar.gz |
No Issue - Improve AppConstants.jsm's deprecation message
Diffstat (limited to 'modules')
-rw-r--r-- | modules/AppConstants.jsm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/AppConstants.jsm b/modules/AppConstants.jsm index cbffc4719..ad2a95b66 100644 --- a/modules/AppConstants.jsm +++ b/modules/AppConstants.jsm @@ -10,9 +10,10 @@ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "Services", "resource://gre/modules/Services.jsm"); #ifndef BINOC_MAIL -XPCOMUtils.defineLazyModuleGetter(this, "Deprecated", "resource://gre/modules/Deprecated.jsm"); -Deprecated.warning("AppConstants.jsm is deprecated and should not be trusted for accurate" + - "application or platform state information.", +Components.utils.import("resource://gre/modules/Deprecated.jsm"); +Deprecated.warning("AppConstants.jsm is deprecated and will not provide accurate information" + " " + + "about the application or platform." + "\n" + + "Please use the standard Toolkit API instead.", "http://developer.palemoon.org/"); #endif |