Bug 1967204 - remove superfluous eslint-env annotations from devtools. r=devtools-reviewers,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D279320
This commit is contained in:
Mark Banner
2026-01-21 13:57:56 +00:00
committed by mbanner@mozilla.com
parent b14ab0d21c
commit 73473d292f
6 changed files with 0 additions and 10 deletions
@@ -1,8 +1,6 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/* eslint-env webextensions */
"use strict";
const TEST_URL = "https://example.com/";
@@ -427,7 +427,6 @@ async function safeCloseBrowserConsole({ clearOutput = false } = {}) {
* we listen to this message to cleanup the observer.
*/
function highlighterTestActorBootstrap() {
/* eslint-env mozilla/process-script */
const HIGHLIGHTER_TEST_ACTOR_URL =
"chrome://mochitests/content/browser/devtools/client/shared/test/highlighter-test-actor.js";
@@ -77,7 +77,6 @@ add_task(async () => {
}
function processScript() {
/* eslint-env mozilla/process-script */
const listener = function () {
Services.obs.removeObserver(listener, "devtools:loader:destroy");
sendAsyncMessage("test:getProcess-destroy", null);
@@ -1,8 +1,6 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/* eslint-env worker */
"use strict";
console.log("Initializing worker.");
@@ -1,8 +1,6 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/* eslint-env worker */
"use strict";
console.log("Initializing worker.");
-2
View File
@@ -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 amd */
"use strict";
/* global workerHelper */