diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-01-12 20:27:43 -0600 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-01-12 20:27:43 -0600 |
commit | f5e3703a67630869638f3270a0e669e3d12529e7 (patch) | |
tree | 148c115e5f89278c84b6845c15e792e0457467ae /modules | |
parent | 04fb6c5ff963d3efaaa5e1cf907bf282c69286da (diff) | |
download | aura-central-f5e3703a67630869638f3270a0e669e3d12529e7.tar.gz |
No Issue - Remove deprecation warning from AppConstants but leave a comment at the top.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/AppConstants.jsm | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/modules/AppConstants.jsm b/modules/AppConstants.jsm index ad2a95b66..2fcf9d1a8 100644 --- a/modules/AppConstants.jsm +++ b/modules/AppConstants.jsm @@ -6,17 +6,13 @@ "use strict"; +// XXXTobin: This file is deprecated but too much annoying shit still uses it. +// Half of what it provides is just hard-coded to false. +// So don't fuckin trust it, moron. + Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "Services", "resource://gre/modules/Services.jsm"); -#ifndef BINOC_MAIL -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 - this.EXPORTED_SYMBOLS = ["AppConstants"]; // Immutable for export. |