From 0faa040118b1c79102176c1f7a4d38d0251e9d6f Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Wed, 21 Jan 2026 13:55:28 +0000 Subject: [PATCH] Bug 1967204 - remove superfluous eslint-env annotations from remaining places. r=frontend-codestyle-reviewers,geckoview-reviewers,whimboo,Gijs,nalexander Differential Revision: https://phabricator.services.mozilla.com/D279321 --- .babel-eslint.rc.js | 2 -- .prettierrc.js | 2 -- .stylelintrc.js | 2 -- .../storybook/.storybook/addon-component-status/index.js | 1 - .../components/storybook/.storybook/addon-fluent/index.js | 1 - browser/components/storybook/.storybook/main.js | 1 - .../storybook/.storybook/markdown-story-indexer.js | 1 - .../components/storybook/.storybook/markdown-story-loader.js | 1 - .../components/storybook/.storybook/markdown-story-utils.js | 1 - browser/components/storybook/.storybook/moz-styles-loader.js | 1 - browser/components/storybook/.storybook/moz-uri-utils.js | 1 - docshell/test/browser/file_bug1328501_framescript.js | 2 -- docshell/test/mochitest/test_bug509055.html | 1 - docshell/test/navigation/test_bug1300461.html | 1 - docshell/test/navigation/test_bug1375833.html | 1 - docshell/test/navigation/test_online_offline_bfcache.html | 2 -- dom/base/test/chrome/file_bug1139964.xhtml | 1 - dom/base/test/test_bug375314-2.html | 1 - .../test/test_input_vsync_alignment_input_while_vsync.html | 1 - dom/events/test/file_coalesce_touchmove_browserchild.html | 2 -- dom/events/test/file_coalesce_touchmove_browserchild2.html | 3 --- dom/events/test/file_coalesce_touchmove_ipc.html | 3 --- dom/events/test/test_bug574663.html | 1 - dom/events/test/window_wheel_default_action.html | 1 - dom/fetch/tests/test_ext_response_constructor.html | 1 - dom/indexedDB/test/blob_worker_crash_iframe.html | 1 - dom/indexedDB/test/test_blob_simple.html | 1 - dom/indexedDB/test/test_blob_worker_xhr_post.html | 1 - dom/indexedDB/test/test_blob_worker_xhr_post_multifile.html | 1 - dom/indexedDB/test/test_blob_worker_xhr_read.html | 1 - dom/indexedDB/test/test_blob_worker_xhr_read_slice.html | 1 - dom/indexedDB/test/test_message_manager_ipc.html | 1 - dom/ipc/tests/test_Preallocated.html | 1 - .../test/mochitest/file_autoplay_policy_key_blacklist.html | 1 - .../test/mochitest/test_notification_insecure_context.html | 1 - dom/notification/test/mochitest/test_notification_tag.html | 1 - dom/push/test/test_try_registering_offline_disabled.html | 1 - dom/security/test/csp/test_ignore_xfo.html | 1 - .../general/test_contentpolicytype_targeted_link_iframe.html | 1 - dom/security/test/general/test_meta_referrer.html | 1 - .../test/general/test_same_site_cookies_laxByDefault.html | 1 - .../test/mixedcontentblocker/file_main_bug803225.html | 2 -- .../test/sec-fetch/test_iframe_history_manipulation.html | 1 - .../test/sec-fetch/test_iframe_src_metaRedirect.html | 1 - .../test/sec-fetch/test_iframe_srcdoc_metaRedirect.html | 1 - .../test/sec-fetch/test_iframe_window_open_metaRedirect.html | 1 - dom/security/test/sec-fetch/test_noreferrer_popup.html | 1 - dom/security/test/sec-fetch/test_trustworthy_loopback.html | 1 - dom/security/test/sec-fetch/test_websocket.html | 1 - .../test/sec-fetch/test_window_open_popupBlockerEnabled.html | 1 - dom/serviceworkers/test/test_scopes.html | 1 - dom/serviceworkers/test/test_third_party_iframes.html | 1 - dom/tests/mochitest/bugs/test_no_find_showDialog.html | 1 - dom/xhr/tests/file_sync_xhr_event_handling_helper.html | 1 - dom/xhr/tests/file_sync_xhr_nested_helper.html | 1 - editor/libeditor/tests/test_bug569988.html | 2 -- editor/spellchecker/tests/test_bug1200533.html | 1 - editor/spellchecker/tests/test_bug1204147.html | 1 - editor/spellchecker/tests/test_bug1205983.html | 1 - editor/spellchecker/tests/test_bug1209414.html | 1 - editor/spellchecker/tests/test_bug1402822.html | 1 - editor/spellchecker/tests/test_bug1761273.html | 1 - editor/spellchecker/tests/test_bug1773802.html | 1 - editor/spellchecker/tests/test_bug678842.html | 1 - editor/spellchecker/tests/test_bug697981.html | 1 - editor/spellchecker/tests/test_bug717433.html | 1 - .../spellchecker/tests/test_multiple_content_languages.html | 1 - extensions/spellcheck/tests/mochitest/helper_bug1170484.js | 2 -- extensions/spellcheck/tests/mochitest/test_bug1272623.html | 1 - gfx/layers/apz/test/mochitest/apz_test_utils.js | 1 - gfx/layers/apz/test/mochitest/helper_hittest_overscroll.html | 1 - .../mochitest/helper_hittest_overscroll_contextmenu.html | 1 - .../apz/test/mochitest/helper_touch_action_regions.html | 1 - layout/tools/reftest/reftest-content.js | 2 -- .../icons/src/main/assets/extensions/browser-icons/icons.js | 2 -- .../src/main/assets/extensions/fxawebchannel/background.js | 2 -- .../main/assets/extensions/fxawebchannel/fxawebchannel.js | 2 -- .../assets/extensions/readerview/readerview-background.js | 2 -- .../main/assets/extensions/readerview/readerview-content.js | 1 - .../src/main/assets/extensions/readerview/readerview.js | 1 - .../search/src/main/assets/extensions/ads/adsTelemetry.js | 2 -- .../src/main/assets/extensions/search/searchTelemetry.js | 2 -- .../browser/src/main/assets/extensions/test/background.js | 2 -- .../tests/mochitests/test_geckoview_experiment_delegate.html | 1 - mobile/shared/modules/dbg-browser-actors.js | 2 -- .../test/mochitest/test_geckoview_translations.html | 1 - netwerk/test/mochitests/test_1396395.html | 1 - netwerk/test/mochitests/test_http_auth_cache.html | 1 - remote/marionette/reftest-chrome/reftest.js | 2 -- .../ssl/tests/mochitest/mixedcontent/test_bug383369.html | 1 - .../Harness_sanity/test_SpecialPowersLoadChromeScript.html | 1 - .../test_SpecialPowersLoadChromeScript_function.html | 1 - .../tests/Harness_sanity/test_SpecialPowersSandbox.html | 1 - .../components/alerts/test/chrome/test_alerts_noobserve.html | 1 - .../alerts/test/chrome/test_alerts_requireinteraction.html | 1 - .../components/alerts/test/chrome/test_multiple_alerts.html | 1 - toolkit/components/alerts/test/chrome/test_principal.html | 1 - .../test/mochitest/test_ext_browsingData_localStorage.html | 1 - .../test/mochitest/test_ext_contentscript_cache.html | 1 - .../test/mochitest/test_ext_cookies_incognito.html | 1 - .../extensions/test/mochitest/test_ext_protocolHandlers.html | 5 ----- .../test/mochitest/test_ext_request_urlClassification.html | 2 -- .../extensions/test/mochitest/test_ext_unlimitedStorage.html | 1 - .../extensions/test/mochitest/test_ext_webrequest_auth.html | 2 -- .../test/mochitest/test_verify_non_remote_mode.html | 1 - .../tests/mochitest/test_classify_top_sandboxed.html | 1 - .../url-classifier/tests/mochitest/test_cryptomining.html | 1 - .../url-classifier/tests/mochitest/test_emailtracking.html | 1 - .../url-classifier/tests/mochitest/test_fingerprinting.html | 1 - .../url-classifier/tests/mochitest/test_socialtracking.html | 1 - .../chrome/test_autocomplete_with_composition_on_input.html | 1 - .../chrome/test_editor_for_input_with_autocomplete.html | 1 - .../mochitest/test_autocomplete_change_after_focus.html | 2 -- .../tests/mochitest/HelperAppLauncherDialog_chromeScript.js | 2 -- xpcom/ioutils/tests/file_ioutils_test_fixtures.js | 2 -- xpcom/ioutils/tests/file_ioutils_worker.js | 2 -- xpcom/ioutils/tests/pathutils_worker.js | 2 -- 117 files changed, 151 deletions(-) diff --git a/.babel-eslint.rc.js b/.babel-eslint.rc.js index b426705f44d6..ebaf8fec3a76 100644 --- a/.babel-eslint.rc.js +++ b/.babel-eslint.rc.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 node */ - module.exports = { plugins: ["@babel/plugin-syntax-jsx"], }; diff --git a/.prettierrc.js b/.prettierrc.js index a055d6b18c50..1abf65c5eb50 100644 --- a/.prettierrc.js +++ b/.prettierrc.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 node */ - module.exports = { arrowParens: "avoid", endOfLine: "lf", diff --git a/.stylelintrc.js b/.stylelintrc.js index 9305eba11562..56d194d044ff 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.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 node */ - "use strict"; const fs = require("fs"); diff --git a/browser/components/storybook/.storybook/addon-component-status/index.js b/browser/components/storybook/.storybook/addon-component-status/index.js index 7f923e2de17e..aca2d23e497f 100644 --- a/browser/components/storybook/.storybook/addon-component-status/index.js +++ b/browser/components/storybook/.storybook/addon-component-status/index.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 node */ /** * This file hooks our addon into Storybook. Having a root-level file like this diff --git a/browser/components/storybook/.storybook/addon-fluent/index.js b/browser/components/storybook/.storybook/addon-fluent/index.js index 7f923e2de17e..aca2d23e497f 100644 --- a/browser/components/storybook/.storybook/addon-fluent/index.js +++ b/browser/components/storybook/.storybook/addon-fluent/index.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 node */ /** * This file hooks our addon into Storybook. Having a root-level file like this diff --git a/browser/components/storybook/.storybook/main.js b/browser/components/storybook/.storybook/main.js index 7955a2c530b9..7a4a431db43f 100644 --- a/browser/components/storybook/.storybook/main.js +++ b/browser/components/storybook/.storybook/main.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 node */ const path = require("path"); const webpack = require("webpack"); diff --git a/browser/components/storybook/.storybook/markdown-story-indexer.js b/browser/components/storybook/.storybook/markdown-story-indexer.js index 3b06a2e66446..fa1c4997024c 100644 --- a/browser/components/storybook/.storybook/markdown-story-indexer.js +++ b/browser/components/storybook/.storybook/markdown-story-indexer.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 node */ const { loadCsf } = require("@storybook/csf-tools"); const { compile } = require("@storybook/mdx2-csf"); diff --git a/browser/components/storybook/.storybook/markdown-story-loader.js b/browser/components/storybook/.storybook/markdown-story-loader.js index f1848d0e8288..96f7717d2c6d 100644 --- a/browser/components/storybook/.storybook/markdown-story-loader.js +++ b/browser/components/storybook/.storybook/markdown-story-loader.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 node */ /** * This file contains a Webpack loader that takes markdown as its source and diff --git a/browser/components/storybook/.storybook/markdown-story-utils.js b/browser/components/storybook/.storybook/markdown-story-utils.js index c4c24e01c48f..183ecf6fbf88 100644 --- a/browser/components/storybook/.storybook/markdown-story-utils.js +++ b/browser/components/storybook/.storybook/markdown-story-utils.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 node */ const path = require("path"); const fs = require("fs"); diff --git a/browser/components/storybook/.storybook/moz-styles-loader.js b/browser/components/storybook/.storybook/moz-styles-loader.js index fa59c15a7c87..078c45e5542c 100644 --- a/browser/components/storybook/.storybook/moz-styles-loader.js +++ b/browser/components/storybook/.storybook/moz-styles-loader.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 node */ /** * This file contains a webpack loader which rewrites JS source files to use diff --git a/browser/components/storybook/.storybook/moz-uri-utils.js b/browser/components/storybook/.storybook/moz-uri-utils.js index 874f02851b21..c95a00166bbe 100644 --- a/browser/components/storybook/.storybook/moz-uri-utils.js +++ b/browser/components/storybook/.storybook/moz-uri-utils.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 node */ const path = require("path"); const [prefixMap, aliasMap, sourceMap] = require("./chrome-map.js"); diff --git a/docshell/test/browser/file_bug1328501_framescript.js b/docshell/test/browser/file_bug1328501_framescript.js index 1f20f631dfe9..adb7f783e656 100644 --- a/docshell/test/browser/file_bug1328501_framescript.js +++ b/docshell/test/browser/file_bug1328501_framescript.js @@ -1,7 +1,5 @@ // Forward iframe loaded event. -/* eslint-env mozilla/frame-script */ - addEventListener( "frames-loaded", () => sendAsyncMessage("test:frames-loaded"), diff --git a/docshell/test/mochitest/test_bug509055.html b/docshell/test/mochitest/test_bug509055.html index 9954866fa141..93e4ffc3aa81 100644 --- a/docshell/test/mochitest/test_bug509055.html +++ b/docshell/test/mochitest/test_bug509055.html @@ -81,7 +81,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=509055 sheTitle = sh.legacySHistory.getEntryAtIndex(sh.index).title; } else { let chromeScript = SpecialPowers.loadChromeScript(() => { - /* eslint-env mozilla/chrome-script */ addMessageListener("getTitle", browsingContext => { // eslint-disable-next-line no-shadow let sh = browsingContext.sessionHistory; diff --git a/docshell/test/navigation/test_bug1300461.html b/docshell/test/navigation/test_bug1300461.html index 22783c07c288..19eb69f3d8f4 100644 --- a/docshell/test/navigation/test_bug1300461.html +++ b/docshell/test/navigation/test_bug1300461.html @@ -20,7 +20,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id= let chromeScript = null; if (SpecialPowers.Services.appinfo.sessionHistoryInParent) { chromeScript = SpecialPowers.loadChromeScript(() => { - /* eslint-env mozilla/chrome-script */ function doSend(message, fn) { try { sendAsyncMessage(message, {success: true, value: fn()}); diff --git a/docshell/test/navigation/test_bug1375833.html b/docshell/test/navigation/test_bug1375833.html index e9c1c86af9dd..938edde8d652 100644 --- a/docshell/test/navigation/test_bug1375833.html +++ b/docshell/test/navigation/test_bug1375833.html @@ -26,7 +26,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1375833 let chromeScript = null; if (SpecialPowers.Services.appinfo.sessionHistoryInParent) { chromeScript = SpecialPowers.loadChromeScript(() => { - /* eslint-env mozilla/chrome-script */ function doSend(message, fn) { try { sendAsyncMessage(message, {success: true, value: fn()}); diff --git a/docshell/test/navigation/test_online_offline_bfcache.html b/docshell/test/navigation/test_online_offline_bfcache.html index 85a17b4e5a3d..6baacdf9a8d7 100644 --- a/docshell/test/navigation/test_online_offline_bfcache.html +++ b/docshell/test/navigation/test_online_offline_bfcache.html @@ -24,11 +24,9 @@ function offlineOnline(online) { function offlineFn() { - /* eslint-env mozilla/chrome-script */ Services.io.offline = true; } function onlineFn() { - /* eslint-env mozilla/chrome-script */ Services.io.offline = false; } SpecialPowers.loadChromeScript(online ? onlineFn : offlineFn); diff --git a/dom/base/test/chrome/file_bug1139964.xhtml b/dom/base/test/chrome/file_bug1139964.xhtml index 8bf7f27e0bab..eec2ed73e1fe 100644 --- a/dom/base/test/chrome/file_bug1139964.xhtml +++ b/dom/base/test/chrome/file_bug1139964.xhtml @@ -21,7 +21,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1139964 var msgName = "TEST:Global_has_Promise"; function mmScriptForPromiseTest() { - /* eslint-env mozilla/process-script */ sendAsyncMessage("TEST:Global_has_Promise", { hasPromise: ("Promise" in this), diff --git a/dom/base/test/test_bug375314-2.html b/dom/base/test/test_bug375314-2.html index 71bbbd5c4578..889f15c51ea1 100644 --- a/dom/base/test/test_bug375314-2.html +++ b/dom/base/test/test_bug375314-2.html @@ -23,7 +23,6 @@ var lastContentType = -1; const testURL = window.location.href + "/this/is/the/test/url"; function createChromeScript() { - /* eslint-env mozilla/chrome-script */ var categoryManager = Cc["@mozilla.org/categorymanager;1"].getService( Ci.nsICategoryManager ); diff --git a/dom/base/test/test_input_vsync_alignment_input_while_vsync.html b/dom/base/test/test_input_vsync_alignment_input_while_vsync.html index 6d1ac469febe..0ae392fe0bf0 100644 --- a/dom/base/test/test_input_vsync_alignment_input_while_vsync.html +++ b/dom/base/test/test_input_vsync_alignment_input_while_vsync.html @@ -12,7 +12,6 @@ function triggerKey() { SpecialPowers.loadChromeScript(() => { - /* eslint-env mozilla/chrome-script */ var win = Services.wm.getMostRecentBrowserWindow(); for (let i = 0; i < 200; ++i) { EventUtils.synthesizeKey("a", {}, win); diff --git a/dom/events/test/file_coalesce_touchmove_browserchild.html b/dom/events/test/file_coalesce_touchmove_browserchild.html index 248f0551d9fa..a60f6d9ac5fc 100644 --- a/dom/events/test/file_coalesce_touchmove_browserchild.html +++ b/dom/events/test/file_coalesce_touchmove_browserchild.html @@ -17,7 +17,6 @@ async function testBrowserChildCoalescing() { var ret = new Promise(function(resolve) { SpecialPowers.loadChromeScript(function() { - /* eslint-env mozilla/chrome-script */ var element = this.actorParent.rootFrameLoader.ownerElement; var rect = element.getBoundingClientRect(); var win = element.ownerDocument.defaultView; @@ -94,7 +93,6 @@ } }, true); - window.addEventListener("touchmove", function(e) { if (receivedTouchEnd) { ok(false, "Shouldn't get any touchmove events after touchend"); diff --git a/dom/events/test/file_coalesce_touchmove_browserchild2.html b/dom/events/test/file_coalesce_touchmove_browserchild2.html index 8f8ec8b35d3c..d86ab27772fe 100644 --- a/dom/events/test/file_coalesce_touchmove_browserchild2.html +++ b/dom/events/test/file_coalesce_touchmove_browserchild2.html @@ -25,7 +25,6 @@ async function fireLotsOfSingleTouchMoves() { var ret = new Promise(function(resolve) { SpecialPowers.loadChromeScript(function() { - /* eslint-env mozilla/chrome-script */ var element = this.actorParent.rootFrameLoader.ownerElement; var rect = element.getBoundingClientRect(); var win = element.ownerDocument.defaultView; @@ -66,7 +65,6 @@ async function fireTwoSingleTouches() { var ret = new Promise(function(resolve) { SpecialPowers.loadChromeScript(function() { - /* eslint-env mozilla/chrome-script */ var element = this.actorParent.rootFrameLoader.ownerElement; var rect = element.getBoundingClientRect(); var win = element.ownerDocument.defaultView; @@ -110,7 +108,6 @@ async function fireLotsOfMultiTouchMoves() { var ret = new Promise(function(resolve) { SpecialPowers.loadChromeScript(function() { - /* eslint-env mozilla/chrome-script */ var element = this.actorParent.rootFrameLoader.ownerElement; var rect = element.getBoundingClientRect(); var win = element.ownerDocument.defaultView; diff --git a/dom/events/test/file_coalesce_touchmove_ipc.html b/dom/events/test/file_coalesce_touchmove_ipc.html index a9ede8402165..b3a1728cdcd9 100644 --- a/dom/events/test/file_coalesce_touchmove_ipc.html +++ b/dom/events/test/file_coalesce_touchmove_ipc.html @@ -25,7 +25,6 @@ async function fireLotsOfSingleTouchMoves() { var ret = new Promise(function(resolve) { SpecialPowers.loadChromeScript(function() { - /* eslint-env mozilla/chrome-script */ var element = this.actorParent.rootFrameLoader.ownerElement; var rect = element.getBoundingClientRect(); var win = element.ownerDocument.defaultView; @@ -66,7 +65,6 @@ async function fireTwoSingleTouches() { var ret = new Promise(function(resolve) { SpecialPowers.loadChromeScript(function() { - /* eslint-env mozilla/chrome-script */ var element = this.actorParent.rootFrameLoader.ownerElement; var rect = element.getBoundingClientRect(); var win = element.ownerDocument.defaultView; @@ -109,7 +107,6 @@ async function fireLotsOfMultiTouchMoves() { var ret = new Promise(function(resolve) { SpecialPowers.loadChromeScript(function() { - /* eslint-env mozilla/chrome-script */ var element = this.actorParent.rootFrameLoader.ownerElement; var rect = element.getBoundingClientRect(); var win = element.ownerDocument.defaultView; diff --git a/dom/events/test/test_bug574663.html b/dom/events/test/test_bug574663.html index 68dd0920812f..ed634c490864 100644 --- a/dom/events/test/test_bug574663.html +++ b/dom/events/test/test_bug574663.html @@ -104,7 +104,6 @@ function runTest() { SimpleTest.waitForFocus(function() { /* eslint-disable no-shadow */ let chromeScript = SpecialPowers.loadChromeScript(_ => { - /* eslint-env mozilla/chrome-script */ let win = Services.wm.getMostRecentWindow("navigator:browser"); win.requestAnimationFrame(() => { win.gBrowser.selectedBrowser.removeAttribute("blank"); diff --git a/dom/events/test/window_wheel_default_action.html b/dom/events/test/window_wheel_default_action.html index 2353b64de36e..147ee72949a9 100644 --- a/dom/events/test/window_wheel_default_action.html +++ b/dom/events/test/window_wheel_default_action.html @@ -53,7 +53,6 @@ // Until the blank attribute is removed, we can't send scroll events. SimpleTest.waitForFocus(function() { let chromeScript = SpecialPowers.loadChromeScript(_ => { - /* eslint-env mozilla/chrome-script */ let win = Services.wm.getMostRecentWindow("navigator:browser"); win.requestAnimationFrame(() => { win.gBrowser.selectedBrowser.removeAttribute("blank"); diff --git a/dom/fetch/tests/test_ext_response_constructor.html b/dom/fetch/tests/test_ext_response_constructor.html index e4b6cf4eb2ff..adff6c78e925 100644 --- a/dom/fetch/tests/test_ext_response_constructor.html +++ b/dom/fetch/tests/test_ext_response_constructor.html @@ -8,7 +8,6 @@