[tbb-commits] [tor-browser/tor-browser-68.1.0esr-9.0-2] fixup! Bug 10760: Integrate TorButton to TorBrowser core

gk at torproject.org gk at torproject.org
Wed Oct 2 08:47:40 UTC 2019


commit f662b3c5708d97a137d9bbfd91fa2fac0bdeeccf
Author: Alex Catarineu <acat at torproject.org>
Date:   Wed Oct 2 08:39:26 2019 +0200

    fixup! Bug 10760: Integrate TorButton to TorBrowser core
    
    Fixes #31914.
---
 .../eslint/eslint-plugin-mozilla/lib/environments/browser-window.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js b/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
index 73a5d9dd118f..e6ae80a637bd 100644
--- a/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
+++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
@@ -75,7 +75,11 @@ function getGlobalScriptIncludes(scriptPath) {
           "browser/components/search/content/"
         )
         .replace("chrome://browser/content/", "browser/base/content/")
-        .replace("chrome://global/content/", "toolkit/content/");
+        .replace("chrome://global/content/", "toolkit/content/")
+        .replace(
+          "chrome://torbutton/content/",
+          "toolkit/torproject/torbutton/chrome/content/"
+        );
 
       for (let mapping of Object.getOwnPropertyNames(MAPPINGS)) {
         if (sourceFile.includes(mapping)) {



More information about the tbb-commits mailing list