commit 9c2adcecd64ab6a390e305509fbe77d1acb9ea90 Author: Igor Oliveira igt0@torproject.org Date: Mon Oct 22 07:56:35 2018 -0200
bug 25013: Remove non needed import, it is already available in the window object --- src/chrome/content/torbutton.js | 2 -- 1 file changed, 2 deletions(-)
diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js index fc1a38d8..90da5827 100644 --- a/src/chrome/content/torbutton.js +++ b/src/chrome/content/torbutton.js @@ -13,8 +13,6 @@ let { unescapeTorString } = Cu.import("resource://torbutton/modules/utils.js", { let SecurityPrefs = Cu.import("resource://torbutton/modules/security-prefs.js", {}); let { bindPrefAndInit, observe } = Cu.import("resource://torbutton/modules/utils.js", {});
-Cu.importGlobalProperties(["XMLHttpRequest"]); - const k_tb_last_browser_version_pref = "extensions.torbutton.lastBrowserVersion"; const k_tb_browser_update_needed_pref = "extensions.torbutton.updateNeeded"; const k_tb_last_update_check_pref = "extensions.torbutton.lastUpdateCheck";