tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 780b4fb75fdf5449f6a207c4efd92e90b6c4b7e5
parent fbc2c401214040726ea8d3979e585af16a01713a
Author: Gijs Kruitbosch <gijskruitbosch@gmail.com>
Date:   Wed,  1 Oct 2025 08:53:17 +0000

Bug 1967204 - remove devtools eslint-env browser annotations, r=devtools-reviewers,nchevobbe

Differential Revision: https://phabricator.services.mozilla.com/D266835

Diffstat:
Mdevtools/client/aboutdebugging/test/browser/resources/test-temporary-extension/script.js | 2--
Mdevtools/client/anti-tracking/test/browser/head.js | 1-
Mdevtools/client/application/test/browser/head.js | 1-
Mdevtools/client/framework/toolbox-init.js | 2--
Mdevtools/client/memory/components/tree-map/canvas-utils.js | 2--
Mdevtools/client/responsive/actions/screenshot.js | 2--
Mdevtools/client/responsive/actions/viewports.js | 2--
Mdevtools/client/responsive/components/App.js | 2--
Mdevtools/client/responsive/components/Device.js | 2--
Mdevtools/client/responsive/components/DeviceAdder.js | 2--
Mdevtools/client/responsive/components/DeviceForm.js | 2--
Mdevtools/client/responsive/components/DeviceList.js | 2--
Mdevtools/client/responsive/components/DeviceModal.js | 2--
Mdevtools/client/responsive/components/DevicePixelRatioMenu.js | 2--
Mdevtools/client/responsive/index.js | 2--
Mdevtools/client/shared/components/HSplitBox.js | 1-
Mdevtools/client/shared/components/VirtualizedTree.js | 1-
Mdevtools/client/shared/components/menu/MenuButton.js | 1-
Mdevtools/client/shared/components/menu/MenuItem.js | 1-
Mdevtools/client/shared/components/menu/MenuList.js | 1-
Mdevtools/client/shared/components/tabs/TabBar.js | 2--
Mdevtools/client/shared/stylesheet-utils.js | 1-
Mdevtools/client/shared/theme-switching.js | 1-
Mdevtools/startup/tests/browser/browser_command_line_urls.js | 2--
Mdevtools/startup/tests/browser/browser_shim_disable_devtools.js | 2--
25 files changed, 0 insertions(+), 41 deletions(-)

diff --git a/devtools/client/aboutdebugging/test/browser/resources/test-temporary-extension/script.js b/devtools/client/aboutdebugging/test/browser/resources/test-temporary-extension/script.js @@ -1,8 +1,6 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ -/* eslint-env browser */ - "use strict"; document.body.innerText = "Background Page Body Test Content"; diff --git a/devtools/client/anti-tracking/test/browser/head.js b/devtools/client/anti-tracking/test/browser/head.js @@ -1,7 +1,6 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ -/* eslint-env browser */ /* eslint no-unused-vars: [2, {"vars": "local"}] */ "use strict"; diff --git a/devtools/client/application/test/browser/head.js b/devtools/client/application/test/browser/head.js @@ -1,7 +1,6 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ -/* eslint-env browser */ /* eslint no-unused-vars: [2, {"vars": "local"}] */ "use strict"; diff --git a/devtools/client/framework/toolbox-init.js b/devtools/client/framework/toolbox-init.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { require } = ChromeUtils.importESModule( diff --git a/devtools/client/memory/components/tree-map/canvas-utils.js b/devtools/client/memory/components/tree-map/canvas-utils.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; /** diff --git a/devtools/client/responsive/actions/screenshot.js b/devtools/client/responsive/actions/screenshot.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/actions/viewports.js b/devtools/client/responsive/actions/viewports.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const asyncStorage = require("resource://devtools/shared/async-storage.js"); diff --git a/devtools/client/responsive/components/App.js b/devtools/client/responsive/components/App.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/components/Device.js b/devtools/client/responsive/components/Device.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/components/DeviceAdder.js b/devtools/client/responsive/components/DeviceAdder.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/components/DeviceForm.js b/devtools/client/responsive/components/DeviceForm.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/components/DeviceList.js b/devtools/client/responsive/components/DeviceList.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/components/DeviceModal.js b/devtools/client/responsive/components/DeviceModal.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/components/DevicePixelRatioMenu.js b/devtools/client/responsive/components/DevicePixelRatioMenu.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/responsive/index.js b/devtools/client/responsive/index.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { BrowserLoader } = ChromeUtils.importESModule( diff --git a/devtools/client/shared/components/HSplitBox.js b/devtools/client/shared/components/HSplitBox.js @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ "use strict"; // A box with a start and a end pane, separated by a dragable splitter that diff --git a/devtools/client/shared/components/VirtualizedTree.js b/devtools/client/shared/components/VirtualizedTree.js @@ -1,7 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ "use strict"; const { diff --git a/devtools/client/shared/components/menu/MenuButton.js b/devtools/client/shared/components/menu/MenuButton.js @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ "use strict"; // A button that toggles a doorhanger menu. diff --git a/devtools/client/shared/components/menu/MenuItem.js b/devtools/client/shared/components/menu/MenuItem.js @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ "use strict"; // A command in a menu. diff --git a/devtools/client/shared/components/menu/MenuList.js b/devtools/client/shared/components/menu/MenuList.js @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ "use strict"; // A list of menu items. diff --git a/devtools/client/shared/components/tabs/TabBar.js b/devtools/client/shared/components/tabs/TabBar.js @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ - "use strict"; const { diff --git a/devtools/client/shared/stylesheet-utils.js b/devtools/client/shared/stylesheet-utils.js @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ "use strict"; function stylesheetLoadPromise(styleSheet) { diff --git a/devtools/client/shared/theme-switching.js b/devtools/client/shared/theme-switching.js @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* eslint-env browser */ "use strict"; (function () { const { require } = ChromeUtils.importESModule( diff --git a/devtools/startup/tests/browser/browser_command_line_urls.js b/devtools/startup/tests/browser/browser_command_line_urls.js @@ -7,8 +7,6 @@ * Test command line processing of URLs meant to be intepreted by DevTools. */ -/* eslint-env browser */ - const { DevToolsStartup } = ChromeUtils.importESModule( "resource:///modules/DevToolsStartup.sys.mjs" ); diff --git a/devtools/startup/tests/browser/browser_shim_disable_devtools.js b/devtools/startup/tests/browser/browser_shim_disable_devtools.js @@ -3,8 +3,6 @@ "use strict"; -/* eslint-env browser */ - const { require } = ChromeUtils.importESModule( "resource://devtools/shared/loader/Loader.sys.mjs" );