Bug 1885489 - Part 5: Add SnapshotIterator::readInt32(). r=iain
[gecko.git] / .eslintrc.js
blob614450ab45212167d64769d36ed3ce3b35e39ab5
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 "use strict";
7 const xpcshellTestConfig = require("eslint-plugin-mozilla/lib/configs/xpcshell-test.js");
8 const browserTestConfig = require("eslint-plugin-mozilla/lib/configs/browser-test.js");
9 const mochitestTestConfig = require("eslint-plugin-mozilla/lib/configs/mochitest-test.js");
10 const chromeTestConfig = require("eslint-plugin-mozilla/lib/configs/chrome-test.js");
11 const { testPaths } = require("./.eslintrc-test-paths.js");
12 const fs = require("fs");
13 const path = require("path");
15 /**
16  * Some configurations have overrides, which can't be specified within overrides,
17  * so we need to remove them.
18  */
19 function removeOverrides(config) {
20   config = { ...config };
21   delete config.overrides;
22   return config;
25 function readFile(path) {
26   return fs
27     .readFileSync(path, { encoding: "utf-8" })
28     .split("\n")
29     .filter(p => p && !p.startsWith("#"));
32 const ignorePatterns = [
33   ...readFile(
34     path.join(__dirname, "tools", "rewriting", "ThirdPartyPaths.txt")
35   ),
36   ...readFile(path.join(__dirname, "tools", "rewriting", "Generated.txt")),
37   ...readFile(
38     path.join(
39       __dirname,
40       "devtools",
41       "client",
42       "debugger",
43       "src",
44       ".eslintignore"
45     )
46   ).map(p => `devtools/client/debugger/src/${p}`),
48 const httpTestingPaths = [
49   "**/*mixedcontent",
50   "**/*CrossOrigin",
51   "**/*crossorigin",
52   "**/*cors",
53   "**/*downgrade",
54   "**/*Downgrade",
57 module.exports = {
58   settings: {
59     "import/extensions": [".mjs"],
60   },
61   ignorePatterns,
62   // Ignore eslint configurations in parent directories.
63   root: true,
64   // New rules and configurations should generally be added in
65   // tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js to
66   // allow external repositories that use the plugin to pick them up as well.
67   extends: ["plugin:mozilla/recommended"],
68   plugins: ["mozilla", "import", "json"],
69   overrides: [
70     {
71       files: [
72         // All .eslintrc.js files are in the node environment, so turn that
73         // on here.
74         // https://github.com/eslint/eslint/issues/13008
75         ".eslintrc.js",
76         // *.config.js files are generally assumed to be configuration files
77         // based for node.
78         "*.config.?(m)js",
79       ],
80       env: {
81         node: true,
82         browser: false,
83       },
84     },
85     {
86       files: [
87         "**/*.jsx",
88         "browser/components/pocket/content/**/*.js",
89         "browser/components/storybook/.storybook/**/*.mjs",
90       ],
91       parserOptions: {
92         ecmaFeatures: {
93           jsx: true,
94         },
95       },
96     },
97     {
98       files: ["browser/components/storybook/**"],
99       env: {
100         "mozilla/privileged": false,
101       },
102     },
103     {
104       files: ["*.mjs"],
105       rules: {
106         "import/default": "error",
107         "import/export": "error",
108         "import/named": "error",
109         "import/namespace": "error",
110         "import/newline-after-import": "error",
111         "import/no-duplicates": "error",
112         "import/no-absolute-path": "error",
113         "import/no-named-default": "error",
114         "import/no-named-as-default": "error",
115         "import/no-named-as-default-member": "error",
116         "import/no-self-import": "error",
117         "import/no-unassigned-import": "error",
118         "import/no-unresolved": [
119           "error",
120           // Bug 1773473 - Ignore resolver URLs for chrome and resource as we
121           // do not yet have a resolver for them.
122           { ignore: ["chrome://", "resource://"] },
123         ],
124         "import/no-useless-path-segments": "error",
125       },
126     },
127     {
128       files: [
129         // Bug 1773475 - For now, turn off no-unresolved on some paths where we import
130         // from node_modules, as the ESLint setup only installs modules at the
131         // top-level.
132         "devtools/shared/compatibility/**",
133         "browser/components/storybook/**",
134       ],
135       rules: {
136         "import/no-unresolved": "off",
137       },
138     },
139     {
140       files: ["*.html", "*.xhtml", "*.xml"],
141       rules: {
142         // Curly brackets are required for all the tree via recommended.js,
143         // however these files aren't auto-fixable at the moment.
144         curly: "off",
145       },
146     },
147     {
148       // TODO: Bug 1515949. Enable no-undef for gfx/
149       files: "gfx/layers/apz/test/mochitest/**",
150       rules: {
151         "no-undef": "off",
152       },
153     },
154     {
155       ...removeOverrides(xpcshellTestConfig),
156       files: testPaths.xpcshell.map(path => `${path}**`),
157       excludedFiles: ["**/*.jsm", "**/*.mjs"],
158     },
159     {
160       // If it is an xpcshell head file, we turn off global unused variable checks, as it
161       // would require searching the other test files to know if they are used or not.
162       // This would be expensive and slow, and it isn't worth it for head files.
163       // We could get developers to declare as exported, but that doesn't seem worth it.
164       files: testPaths.xpcshell.map(path => `${path}head*.js`),
165       rules: {
166         "no-unused-vars": [
167           "error",
168           {
169             argsIgnorePattern: "^_",
170             vars: "local",
171           },
172         ],
173       },
174     },
175     {
176       // This section enables errors of no-unused-vars globally for all test*.js
177       // files in xpcshell test paths.
178       // This is not done in the xpcshell-test configuration as we cannot pull
179       // in overrides from there. We should at some stage, aim to enable this
180       // for all files in xpcshell-tests.
181       files: testPaths.xpcshell.map(path => `${path}test*.js`),
182       rules: {
183         // No declaring variables that are never used
184         "no-unused-vars": [
185           "error",
186           {
187             argsIgnorePattern: "^_",
188             vars: "all",
189           },
190         ],
191       },
192     },
193     {
194       ...removeOverrides(browserTestConfig),
195       files: testPaths.browser.map(path => `${path}**`),
196       excludedFiles: ["**/*.jsm", "**/*.mjs"],
197     },
198     {
199       ...removeOverrides(mochitestTestConfig),
200       files: testPaths.mochitest.map(path => `${path}**`),
201       excludedFiles: [
202         "**/*.jsm",
203         "**/*.mjs",
204         "security/manager/ssl/tests/mochitest/browser/**",
205       ],
206     },
207     {
208       ...removeOverrides(chromeTestConfig),
209       files: testPaths.chrome.map(path => `${path}**`),
210       excludedFiles: ["**/*.jsm", "**/*.mjs"],
211     },
212     {
213       env: {
214         // Ideally we wouldn't be using the simpletest env here, but our uses of
215         // js files mean we pick up everything from the global scope, which could
216         // be any one of a number of html files. So we just allow the basics...
217         "mozilla/simpletest": true,
218       },
219       files: [
220         ...testPaths.mochitest.map(path => `${path}/**/*.js`),
221         ...testPaths.chrome.map(path => `${path}/**/*.js`),
222       ],
223     },
224     {
225       // Some directories have multiple kinds of tests, and some rules
226       // don't work well for HTML-based mochitests, so disable those.
227       files: testPaths.xpcshell
228         .concat(testPaths.browser)
229         .map(path => [`${path}/**/*.html`, `${path}/**/*.xhtml`])
230         .flat(),
231       rules: {
232         // plain/chrome mochitests don't automatically include Assert, so
233         // autofixing `ok()` to Assert.something is bad.
234         "mozilla/no-comparison-or-assignment-inside-ok": "off",
235       },
236     },
237     {
238       files: ["**/test/**", "**/tests/**"],
239       extends: ["plugin:mozilla/general-test"],
240     },
241     {
242       // Some directories reuse `test_foo.js` files between mochitest-plain and
243       // unit tests, or use custom postMessage-based assertion propagation into
244       // browser tests. Ignore those too:
245       files: [
246         // Reuses xpcshell unit test scripts in mochitest-plain HTML files.
247         "dom/indexedDB/test/**",
248         // Dispatches functions to the webpage in ways that are hard to detect.
249         "toolkit/components/antitracking/test/**",
250       ],
251       rules: {
252         "mozilla/no-comparison-or-assignment-inside-ok": "off",
253       },
254     },
255     {
256       files: ["browser/base/content/browser.js"],
257       rules: {
258         "mozilla/no-more-globals": "error",
259       },
260     },
261     {
262       // Bug 881389 - Complete switching to console.createInstance from custom
263       // modules. To support the gradual switch, we log these as warnings until
264       // they have been transitioned.
265       files: [
266         "browser/base/content/browser-data-submission-info-bar.js",
267         "browser/base/content/browser-sync.js",
268         "browser/base/content/browser.js",
269         "browser/components/BrowserGlue.sys.mjs",
270         "browser/components/attribution/AttributionCode.sys.mjs",
271         "browser/components/customizableui/**",
272         "browser/components/downloads/**",
273         "browser/components/enterprisepolicies/**",
274         "browser/components/firefoxview/**",
275         "browser/components/migration/**",
276         "browser/components/newtab/lib/ASRouterPreferences.sys.mjs",
277         "browser/components/protocolhandler/WebProtocolHandlerRegistrar.sys.mjs",
278         "browser/components/shell/ShellService.sys.mjs",
279         "browser/components/syncedtabs/TabListComponent.sys.mjs",
280         "browser/components/uitour/UITour.sys.mjs",
281         "browser/tools/mozscreenshots/mozscreenshots/extension/Screenshot.sys.mjs",
282         "devtools/client/webconsole/test/**",
283         "devtools/shared/tests/xpcshell/test_console_filtering.js",
284         "devtools/shared/webconsole/test/chrome/test_consoleapi_innerID.html",
285         "dom/push/Push*.sys.mjs",
286         "mobile/android/modules/geckoview/GeckoViewUtils.sys.mjs",
287         "remote/shared/**",
288         "security/manager/ssl/RemoteSecuritySettings.sys.mjs",
289         "services/**",
290         "testing/mochitest/api.js",
291         "toolkit/components/backgroundtasks/**",
292         "toolkit/components/crashes/**",
293         "toolkit/components/enterprisepolicies/**",
294         "toolkit/components/extensions/**",
295         "toolkit/components/formautofill/**",
296         "toolkit/components/messaging-system/**",
297         "toolkit/components/normandy/**",
298         "toolkit/components/places/**",
299         "toolkit/components/printing/**",
300         "toolkit/components/taskscheduler/**",
301         "toolkit/components/telemetry/**",
302         "toolkit/components/utils/JsonSchemaValidator.sys.mjs",
303         "toolkit/modules/AsanReporter.sys.mjs",
304         "toolkit/modules/GMPInstallManager.sys.mjs",
305         "toolkit/modules/OSKeyStore.sys.mjs",
306         "toolkit/modules/ProfileAge.sys.mjs",
307         "toolkit/modules/tests/xpcshell/test_Log*.js",
308         "toolkit/mozapps/defaultagent/BackgroundTask_defaultagent.sys.mjs",
309         "toolkit/mozapps/extensions/**",
310         "toolkit/mozapps/update/**",
311       ],
312       rules: {
313         "mozilla/use-console-createInstance": "off",
314       },
315     },
316     {
317       // Bug 1881270 - Gradually roll-out no-case-declarations to more areas.
318       files: [
319         "accessible/tests/mochitest/promisified-events.js",
320         "browser/actors/**",
321         "browser/base/content/**",
322         "browser/components/**",
323         "browser/modules/BrowserUsageTelemetry.sys.mjs",
324         "browser/modules/URILoadingHelper.sys.mjs",
325         "devtools/client/**",
326         "devtools/server/**",
327         "devtools/shared/layout/dom-matrix-2d.js",
328         "devtools/startup/DevToolsStartup.sys.mjs",
329         "docshell/test/navigation/file_blockBFCache.html",
330         "docshell/test/navigation/test_bug1375833.html",
331         "docshell/test/unit/AllowJavascriptParent.sys.mjs",
332         "dom/base/test/chrome/window_nsITextInputProcessor.xhtml",
333         "dom/html/test/forms/test_input_sanitization.html",
334         "dom/media/PeerConnection.sys.mjs",
335         "dom/media/autoplay/test/mochitest/test_autoplay_policy_web_audio_AudioParamStream.html",
336         "dom/payments/test/PayerDetailsChromeScript.js",
337         "dom/payments/test/simple_payment_request.html",
338         "dom/push/PushService.sys.mjs",
339         "dom/security/test/referrer-policy/browser_referrer_disallow_cross_site_relaxing.js",
340         "dom/tests/mochitest/bugs/test_bug622361.html",
341         "dom/workers/test/sourcemap_header_debugger.js",
342         "gfx/layers/apz/test/mochitest/**",
343         "intl/locale/tests/unit/test_localeService.js",
344         "layout/tools/layout-debug/LayoutDebugChild.sys.mjs",
345         "layout/tools/reftest/reftest.sys.mjs",
346         "mobile/android/actors/**",
347         "mobile/android/components/geckoview/GeckoViewStartup.sys.mjs",
348         "mobile/android/modules/geckoview/**",
349         "netwerk/test/browser/browser_test_data_channel_observer.js",
350         "netwerk/test/unit/test_proxyconnect.js",
351         "remote/**",
352         "services/fxaccounts/**",
353         "services/sync/**",
354         "testing/mochitest/ShutdownLeaksCollector.sys.mjs",
355         "testing/specialpowers/content/SpecialPowers*.sys.mjs",
356         "toolkit/actors/**",
357         "toolkit/components/**",
358         "toolkit/modules/**",
359         "toolkit/mozapps/downloads/DownloadLastDir.sys.mjs",
360         "toolkit/mozapps/extensions/**",
361         "toolkit/mozapps/update/UpdateListener.sys.mjs",
362         "toolkit/content/widgets/**",
363         "uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js",
364         "widget/tests/file_test_ime_state_on_focus_move.js",
365       ],
366       rules: {
367         "no-case-declarations": "warn",
368       },
369     },
370     {
371       // Bug 1881268 - Gradually roll-out no-constant-condition to more areas.
372       files: [
373         "accessible/tests/browser/mac/browser_attributed_text.js",
374         "accessible/tests/mochitest/text.js",
375         "browser/base/content/test/general/browser_bug734076.js",
376         "browser/base/content/test/static/**",
377         "browser/components/BrowserContentHandler.sys.mjs",
378         "browser/components/extensions/test/browser/browser_ext_slow_script.js",
379         "browser/components/places/content/places-tree.js",
380         "browser/components/translations/tests/browser/browser_translations_panel_fuzzing.js",
381         "browser/components/translations/tests/browser/browser_translations_full_page_panel_fuzzing.js",
382         "browser/components/urlbar/UrlbarUtils.sys.mjs",
383         "browser/components/urlbar/tests/browser/browser_copying.js",
384         "devtools/client/dom/test/head.js",
385         "devtools/client/framework/browser-toolbox/test/helpers-browser-toolbox.js",
386         "devtools/client/fronts/inspector/rule-rewriter.js",
387         "devtools/client/inspector/**",
388         "devtools/client/netmonitor/**",
389         "devtools/client/performance-new/test/browser/helpers.js",
390         "devtools/client/shared/**",
391         "devtools/client/webconsole/**",
392         "devtools/server/actors/**",
393         "devtools/server/socket/websocket-server.js",
394         "devtools/shared/css/parsing-utils.js",
395         "devtools/shared/inspector/css-logic.js",
396         "devtools/shared/tests/xpcshell/test_csslexer.js",
397         "docshell/test/mochitest/test_bug529119-1.html",
398         "docshell/test/mochitest/test_bug529119-2.html",
399         "docshell/test/navigation/file_sessionhistory_iframe_removal.html",
400         "docshell/test/navigation/test_online_offline_bfcache.html",
401         "dom/base/test/chrome/window_nsITextInputProcessor.xhtml",
402         "dom/base/test/fullscreen/file_fullscreen-bug-1798219.html",
403         "dom/base/test/unit/test_isequalnode.js",
404         "dom/filesystem/tests/script_fileList.js",
405         "dom/media/mediasource/test/test_Eviction_mp4.html",
406         "dom/media/mediasource/test/test_ExperimentalAsync.html",
407         "dom/media/webspeech/recognition/test/test_online_http.html",
408         "dom/media/webspeech/recognition/test/test_online_http_webkit.html",
409         "dom/streams/test/xpcshell/large-pipeto.js",
410         "dom/webtransport/test/xpcshell/test_simple_stream.js",
411         "dom/xhr/tests/terminateSyncXHR_worker.js",
412         "editor/libeditor/tests/test_contenteditable_text_input_handling.html",
413         "editor/libeditor/tests/test_selection_move_commands.html",
414         "gfx/layers/apz/test/mochitest/**",
415         "gfx/layers/layerviewer/layerTreeView.js",
416         "intl/uconv/tests/unit/test_charset_conversion.js",
417         "js/src/builtin/**",
418         "layout/inspector/tests/test_getCSSStyleRules.html",
419         "layout/inspector/tests/test_is_valid_css_color.html",
420         "layout/style/test/property_database.js",
421         "layout/style/test/test_computed_style_grid_with_pseudo.html",
422         "layout/style/test/test_visited_reftests.html",
423         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_events.html",
424         "mobile/android/geckoview/src/androidTest/assets/www/getusermedia_xorigin_container.html",
425         "modules/libjar/test/unit/test_fault_handler.js",
426         "netwerk/test/httpserver/httpd.sys.mjs",
427         "netwerk/test/unit/**",
428         "remote/cdp/domains/content/runtime/ExecutionContext.sys.mjs",
429         "remote/cdp/test/browser/page/browser_printToPDF.js",
430         "remote/marionette/actors/MarionetteCommandsParent.sys.mjs",
431         "remote/shared/messagehandler/transports/RootTransport.sys.mjs",
432         "services/settings/Attachments.sys.mjs",
433         "storage/test/unit/test_storage_service.js",
434         "testing/talos/talos/pageloader/chrome/report.js",
435         "testing/talos/talos/**",
436         "toolkit/components/asyncshutdown/tests/xpcshell/head.js",
437         "toolkit/components/extensions/NativeMessaging.sys.mjs",
438         "toolkit/components/extensions/test/xpcshell/test_ext_i18n.js",
439         "toolkit/components/extensions/test/xpcshell/test_ext_i18n_css.js",
440         "toolkit/components/formautofill/default/FormAutofillPrompter.sys.mjs",
441         "toolkit/components/pictureinpicture/tests/browser_videoEmptied.js",
442         "toolkit/components/printing/tests/browser_print_stream.js",
443         "toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js",
444         "toolkit/components/terminator/tests/xpcshell/test_terminator_record.js",
445         "toolkit/content/aboutwebrtc/aboutWebrtc.mjs",
446         "toolkit/content/tests/widgets/tree_shared.js",
447         "toolkit/content/widgets/tabbox.js",
448         "toolkit/crashreporter/test/browser/crashreport.sjs",
449         "toolkit/modules/CertUtils.sys.mjs",
450         "toolkit/mozapps/downloads/tests/unit/test_DownloadUtils.js",
451         "toolkit/mozapps/extensions/internal/XPIInstall.sys.mjs",
452         "tools/profiler/tests/**",
453         "uriloader/exthandler/tests/mochitest/browser_save_filenames.js",
454         "widget/tests/browser/browser_test_AZERTY_digit_shortcut.js",
455         "widget/tests/window_composition_text_querycontent.xhtml",
456       ],
457       rules: { "no-constant-condition": "warn" },
458     },
459     {
460       files: [
461         "browser/actors/AboutPocketParent.sys.mjs",
462         "browser/actors/SpeechDispatcherParent.sys.mjs",
463         "browser/base/content/browser-sync.js",
464         "browser/base/content/tabbrowser.js",
465         "browser/components/BrowserContentHandler.sys.mjs",
466         "browser/components/enterprisepolicies/Policies.sys.mjs",
467         "browser/components/messagepreview/actors/AboutMessagePreviewChild.sys.mjs",
468         "browser/components/messagepreview/actors/AboutMessagePreviewParent.sys.mjs",
469         "browser/components/migration/ChromeMigrationUtils.sys.mjs",
470         "browser/components/migration/SafariProfileMigrator.sys.mjs",
471         "browser/components/places/content/places-tree.js",
472         "browser/components/places/content/treeView.js",
473         "browser/extensions/screenshots/build/shot.js",
474         "browser/extensions/webcompat/**",
475         "browser/modules/BackgroundTask_*.sys.mjs",
476         "browser/themes/BuiltInThemes.sys.mjs",
477         "browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js",
478         "browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots.html",
479         "devtools/client/**",
480         "devtools/server/actors/inspector/css-logic.js",
481         "devtools/shared/compatibility/bin/update.js",
482         "devtools/shared/discovery/discovery.js",
483         "devtools/shared/protocol/Front.js",
484         "dom/media/webvtt/update-webvtt.js",
485         "gfx/layers/layerviewer/layerTreeView.js",
486         "layout/tools/reftest/reftest-analyzer.xhtml",
487         "mobile/android/geckoview/src/androidTest/**",
488         "services/automation/ServicesAutomation.sys.mjs",
489         "services/settings/RemoteSettings.worker.mjs",
490         "services/sync/modules/SyncDisconnect.sys.mjs",
491         "taskcluster/docker/index-task/insert-indexes.js",
492         "testing/**",
493         "toolkit/actors/NetErrorParent.sys.mjs",
494         "toolkit/components/aboutcheckerboard/content/aboutCheckerboard.js",
495         "toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs",
496         "toolkit/components/backgroundtasks/BackgroundTasksTestUtils.sys.mjs",
497         "toolkit/components/credentialmanagement/IdentityCredentialPromptService.sys.mjs",
498         "toolkit/components/ml/content/MLEngine.worker.mjs",
499         "toolkit/components/telemetry/pings/BackgroundTask_pingsender.sys.mjs",
500         "toolkit/components/translations/actors/TranslationsParent.sys.mjs",
501         "toolkit/components/translations/content/translations-engine.worker.js",
502         "toolkit/components/xulstore/XULStore.sys.mjs",
503         "toolkit/content/aboutTelemetry.js",
504         "toolkit/content/customElements.js",
505         "toolkit/content/widgets/dialog.js",
506         "toolkit/content/widgets/menu.js",
507         "toolkit/mozapps/update/BackgroundUpdate.sys.mjs",
508       ],
509       rules: {
510         "no-console": "off",
511       },
512     },
513     {
514       // Bug 877389 - Gradually migrate from Cu.reportError to console.error.
515       // Enable these as we fix more areas.
516       files: [
517         "dom/push/test/mockpushserviceparent.js",
518         "browser/components/extensions/**",
519         "toolkit/components/extensions/**",
520         "toolkit/mozapps/extensions/**",
521       ],
522       rules: {
523         "mozilla/no-cu-reportError": "off",
524       },
525     },
526     {
527       files: ["**"],
528       excludedFiles: [
529         "accessible/tests/**",
530         "browser/actors/**",
531         "browser/base/content/**",
532         "browser/components/Browser*",
533         "browser/components/aboutlogins/**",
534         "browser/components/aboutwelcome/**",
535         "browser/components/asrouter/**",
536         "browser/components/attribution/**",
537         "browser/components/customizableui/**",
538         "browser/components/downloads/**",
539         "browser/components/newtab/**",
540         "browser/components/originattributes/test/browser/**",
541         "browser/components/pocket/content/pkt*",
542         "browser/components/preferences/**",
543         "browser/components/privatebrowsing/**",
544         "browser/components/safebrowsing/content/test/**",
545         "browser/components/screenshots/**",
546         "browser/components/sessionstore/**",
547         "browser/components/storybook/.storybook/**",
548         "browser/components/tests/browser/**",
549         "browser/extensions/screenshots/**",
550         "browser/modules/**",
551         "devtools/**",
552         "docshell/base/URIFixup.sys.mjs",
553         "dom/**",
554         "editor/**",
555         "extensions/permissions/test/PermissionTestUtils.sys.mjs",
556         "gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js",
557         "image/test/**",
558         "intl/**",
559         "js/xpconnect/**",
560         "layout/**",
561         "mobile/android/**",
562         "modules/**",
563         "netwerk/**",
564         "parser/htmlparser/**",
565         "services/**",
566         "storage/**",
567         "testing/**",
568         "toolkit/actors/**",
569         "toolkit/components/aboutmemory/**",
570         "toolkit/components/aboutprocesses/content/aboutProcesses.js",
571         "toolkit/components/antitracking/**",
572         "toolkit/components/asyncshutdown/**",
573         "toolkit/components/backgroundtasks/BackgroundTasks*.sys.mjs",
574         "toolkit/components/cleardata/**",
575         "toolkit/components/contentprefs/ContentPrefService2.sys.mjs",
576         "toolkit/components/cookiebanners/**",
577         "toolkit/components/crashes/**",
578         "toolkit/components/crashmonitor/CrashMonitor.sys.mjs",
579         "toolkit/components/credentialmanagement/IdentityCredentialPromptService.sys.mjs",
580         "toolkit/components/downloads/**",
581         "toolkit/components/featuregates/FeatureGate*.*",
582         "toolkit/components/forgetaboutsite/test/unit/test_removeDataFromDomain.js",
583         "toolkit/components/glean/tests/browser/**",
584         "toolkit/components/kvstore/kvstore.sys.mjs",
585         "toolkit/components/lz4/lz4.js",
586         "toolkit/components/messaging-system/**",
587         "toolkit/components/mozintl/mozIntl.sys.mjs",
588         "toolkit/components/nimbus/**",
589         "toolkit/components/normandy/**",
590         "toolkit/components/passwordmgr/**",
591         "toolkit/components/pdfjs/**",
592         "toolkit/components/pictureinpicture/**",
593         "toolkit/components/places/**",
594         "toolkit/components/printing/content/print*.*",
595         "toolkit/components/processtools/tests/browser/browser_test_powerMetrics.js",
596         "toolkit/components/promiseworker/**/PromiseWorker.*",
597         "toolkit/components/prompts/**",
598         "toolkit/components/reader/**",
599         "toolkit/components/reputationservice/test/unit/test_app_rep_windows.js",
600         "toolkit/components/taskscheduler/TaskScheduler*.*",
601         "toolkit/components/telemetry/**",
602         "toolkit/components/thumbnails/**",
603         "toolkit/components/timermanager/UpdateTimerManager.*",
604         "toolkit/components/translation/LanguageDetector.*",
605         "toolkit/components/url-classifier/**",
606         "toolkit/components/utils/**",
607         "toolkit/components/viewsource/**",
608         "toolkit/components/windowwatcher/**",
609         "toolkit/components/workerloader/require.js",
610         "toolkit/content/**",
611         "toolkit/crashreporter/**",
612         "toolkit/modules/**",
613         "toolkit/mozapps/downloads/**",
614         "toolkit/mozapps/extensions/**",
615         "toolkit/mozapps/handling/**",
616         "toolkit/mozapps/update/**",
617         "toolkit/profile/test/test_create_profile.xhtml",
618         "tools/code-coverage/tests/mochitest/test_coverage_specialpowers.html",
619         "tools/lint/eslint/**",
620         "tools/profiler/tests/**",
621         "uriloader/**",
622         "widget/tests/window_composition_text_querycontent.xhtml",
623       ],
624       extends: ["plugin:mozilla/valid-jsdoc"],
625     },
626     {
627       files: ["layout/**"],
628       excludedFiles: ["layout/tools/reftest/**"],
629       rules: {
630         "object-shorthand": "off",
631         "mozilla/avoid-removeChild": "off",
632         "mozilla/consistent-if-bracing": "off",
633         "mozilla/reject-importGlobalProperties": "off",
634         "mozilla/no-arbitrary-setTimeout": "off",
635         "mozilla/no-define-cc-etc": "off",
636         "mozilla/prefer-boolean-length-check": "off",
637         "mozilla/use-default-preference-values": "off",
638         "mozilla/use-includes-instead-of-indexOf": "off",
639         "mozilla/use-services": "off",
640         "mozilla/use-ownerGlobal": "off",
641         complexity: "off",
642         "consistent-return": "off",
643         "no-array-constructor": "off",
644         "no-caller": "off",
645         "no-cond-assign": "off",
646         "no-extra-boolean-cast": "off",
647         "no-eval": "off",
648         "no-func-assign": "off",
649         "no-global-assign": "off",
650         "no-implied-eval": "off",
651         "no-lonely-if": "off",
652         "no-nested-ternary": "off",
653         "no-new-wrappers": "off",
654         "no-redeclare": "off",
655         "no-restricted-globals": "off",
656         "no-sequences": "off",
657         "no-throw-literal": "off",
658         "no-useless-concat": "off",
659         "no-undef": "off",
660         "no-unreachable": "off",
661         "no-unsafe-negation": "off",
662         "no-unused-vars": "off",
663         "no-useless-return": "off",
664       },
665     },
666     {
667       files: [
668         "dom/animation/test/**",
669         "dom/base/test/*.*",
670         "dom/base/test/jsmodules/**",
671         "dom/canvas/test/**",
672         "dom/events/test/**",
673         "dom/file/tests/**",
674         "dom/html/test/**",
675         "dom/media/webaudio/test/**",
676         "dom/media/webrtc/tests/**",
677         "dom/payments/test/**",
678         "dom/performance/tests/**",
679         "dom/quota/test/browser/**",
680         "dom/quota/test/xpcshell/**",
681         "dom/security/test/cors/**",
682         "dom/security/test/csp/**",
683         "dom/security/test/mixedcontentblocker/**",
684         "dom/serviceworkers/test/**",
685         "dom/smil/test/**",
686         "dom/tests/mochitest/**",
687         "dom/vr/test/**",
688         "dom/webauthn/tests/**",
689         "dom/websocket/tests/**",
690         "dom/workers/test/**",
691         "dom/worklet/tests/**",
692       ],
693       rules: {
694         "mozilla/avoid-removeChild": "off",
695         "mozilla/consistent-if-bracing": "off",
696         "mozilla/no-compare-against-boolean-literals": "off",
697         "mozilla/use-includes-instead-of-indexOf": "off",
698         "mozilla/use-ownerGlobal": "off",
699         "mozilla/use-services": "off",
700         "no-array-constructor": "off",
701         "no-caller": "off",
702         "no-constant-condition": "off",
703         "no-control-regex": "off",
704         "no-else-return": "off",
705         "no-empty": "off",
706         "no-func-assign": "off",
707         "no-global-assign": "off",
708         "no-lone-blocks": "off",
709         "no-lonely-if": "off",
710         "no-nested-ternary": "off",
711         "no-new-wrappers": "off",
712         "no-object-constructor": "off",
713         "no-redeclare": "off",
714         "no-restricted-globals": "off",
715         "no-shadow": "off",
716         "no-sparse-arrays": "off",
717         "no-throw-literal": "off",
718         "no-useless-concat": "off",
719       },
720     },
721     {
722       // Bug 1792693: Gradually enable no-undef and no-unused-vars on these
723       // directories.
724       files: [
725         "dom/animation/test/**",
726         "dom/base/test/*.*",
727         "dom/base/test/unit/test_serializers_entities*.js",
728         "dom/base/test/jsmodules/**",
729         "dom/canvas/test/**",
730         "dom/events/test/**",
731         "dom/file/tests/**",
732         "dom/html/test/**",
733         "dom/media/webrtc/tests/**",
734         "dom/media/webspeech/recognition/test/**",
735         "dom/media/webspeech/synth/test/**",
736         "dom/payments/test/**",
737         "dom/performance/tests/**",
738         "dom/quota/test/browser/**",
739         "dom/quota/test/common/**",
740         "dom/quota/test/mochitest/**",
741         "dom/quota/test/xpcshell/**",
742         "dom/security/test/cors/**",
743         "dom/security/test/csp/**",
744         "dom/security/test/mixedcontentblocker/**",
745         "dom/serviceworkers/test/**",
746         "dom/smil/test/**",
747         "dom/tests/mochitest/**",
748         "dom/vr/test/**",
749         "dom/webauthn/tests/**",
750         "dom/webgpu/mochitest/**",
751         "dom/websocket/tests/**",
752         "dom/workers/test/**",
753         "dom/worklet/tests/**",
754       ],
755       rules: {
756         "no-undef": "off",
757         "no-unused-vars": "off",
758       },
759     },
760     {
761       // Rules of Hooks broadly checks for camelCase "use" identifiers, so
762       // enable only for paths actually using React to avoid false positives.
763       extends: ["plugin:react-hooks/recommended"],
764       files: [
765         "browser/components/aboutwelcome/**",
766         "browser/components/asrouter/**",
767         "browser/components/newtab/**",
768         "browser/components/pocket/**",
769         "devtools/**",
770       ],
771       rules: {
772         // react-hooks/recommended has exhaustive-deps as a warning, we prefer
773         // errors, so that raised issues get addressed one way or the other.
774         "react-hooks/exhaustive-deps": "error",
775       },
776     },
777     {
778       // Exempt files with these paths since they have to use http for full coverage
779       files: httpTestingPaths.map(path => `${path}**`),
780       rules: {
781         "@microsoft/sdl/no-insecure-url": "off",
782       },
783     },
784     {
785       // Exempt all components and test files that explicitly want to test http urls from 'no-insecure-url' rule.
786       // Gradually change test cases such that this list gets smaller and more precisely. Bug 1758951
787       files: [
788         // Re-exempt all xpcshell-test files - some configurations cause rules to be re-applied, so we override them again here.
789         "test*/unit*/**",
790         "**/test*/unit/**",
791         "**/test*/xpcshell/**",
792         "test*/*/xpcshell/**",
793         "testing/profiles/unittest-required/user.js",
794         "testing/profiles/xpcshell/user.js",
795         // Xpcshell test that aren't fitting the pattern Bug 1758951
796         "toolkit/components/places/tests/bookmarks/**",
797         "toolkit/components/places/tests/expiration/**",
798         "toolkit/components/places/tests/favicons/**",
799         "toolkit/components/places/tests/history/**",
800         "toolkit/components/places/tests/legacy/**",
801         "toolkit/components/places/tests/maintenance/**",
802         "toolkit/components/places/tests/migration/**",
803         "toolkit/components/places/tests/queries/**",
804         "toolkit/components/places/tests/sync/**",
805         // Exempt tests that set https_first_disable to true Bug 1758951
806         "browser/components/downloads/test/browser/browser_image_mimetype_issues.js",
807         "browser/components/enterprisepolicies/tests/browser/browser_policy_cookie_settings.js",
808         "browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js",
809         "devtools/server/tests/browser/browser_storage_listings.js",
810         "devtools/server/tests/browser/browser_storage_updates.js",
811         "image/test/browser/browser_offscreen_image_in_out_of_process_iframe.js",
812         "security/manager/ssl/tests/mochitest/browser/browser_HSTS.js",
813         "testing/mochitest/tests/browser/browser_browserLoaded_content_loaded.js",
814         "toolkit/components/extensions/test/browser/browser_ext_downloads_referrer.js",
815         "toolkit/components/messaging-system/schemas/TriggerActionSchemas/test/browser/browser_asrouter_trigger_listeners.js",
816         "toolkit/components/normandy/test/browser/browser_about_studies.js",
817         "toolkit/components/remotebrowserutils/tests/browser/browser_RemoteWebNavigation.js",
818         "toolkit/components/remotepagemanager/tests/browser/browser_RemotePageManager.js",
819         "toolkit/components/viewsource/test/browser/browser_bug464222.js",
820         "toolkit/components/viewsource/test/browser/browser_viewsource_newwindow.js",
821         "toolkit/content/tests/browser/browser_label_textlink.js",
822         "toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js",
823         // Exempt tests that set pref dom.security.https_first to false Bug 1758951
824         "browser/tools/mozscreenshots/controlCenter/browser_controlCenter.js",
825         "dom/ipc/tests/test_bug1086684.js",
826         "dom/manifest/test/browser_ManifestObtainer_obtain.js",
827         "dom/media/test/test_access_control.html",
828         "dom/websocket/tests/test_bug1384658.html",
829         "testing/mochitest/browser-test.js",
830         "devtools/client/shared/components/test/node/components/reps/string-with-url.test.js", // no test case
831         // Exempt files that have comment which says "not [to] enforce https"
832         // https://searchfox.org/mozilla-central/search?q=%2F%2F+We+should+not+enforce+https+for+tests+using+this+page.&path=
833         "devtools/client/storage/test/browser_storage_basic_usercontextid_1.js",
834         "devtools/client/storage/test/browser_storage_basic_usercontextid_2.js",
835         "devtools/client/storage/test/browser_storage_basic_with_fragment.js",
836         "devtools/client/storage/test/browser_storage_cookies_delete_all.js",
837         "devtools/client/storage/test/browser_storage_delete.js",
838         "devtools/client/storage/test/browser_storage_delete_all.js",
839         "devtools/client/storage/test/browser_storage_delete_tree.js",
840         "devtools/client/storage/test/browser_storage_delete_usercontextid.js",
841         "devtools/client/storage/test/browser_storage_dom_cache_disabled.js",
842         "devtools/client/storage/test/browser_storage_sidebar.js",
843         "devtools/client/storage/test/browser_storage_sidebar_toggle.js",
844         "devtools/client/storage/test/head.js",
845         "devtools/client/storage/test/storage-complex-values.html",
846         "devtools/client/storage/test/storage-sidebar-parsetree.html",
847         // No .(s)js or html test files Bug 1780024
848         "services/sync/tests/tps/**",
849         // Files that test https and http already
850         "browser/base/content/test/general/browser_remoteTroubleshoot.js",
851         "browser/base/content/test/favicons/browser_mixed_content.js",
852         "browser/base/content/test/sanitize/browser_sanitize-history.js",
853         "devtools/client/shared/test/shared-head.js",
854         "devtools/client/shared/test/head.js",
855         "browser/tools/mozscreenshots/mozscreenshots/extension/configurations/ControlCenter.sys.mjs",
856         // uses new HttpServer which doesn't support https
857         "browser/base/content/test/favicons/browser_favicon_nostore.js",
858         // That are all files that produes warnings in the existing test infrastructure.
859         // Since our focus is that new tests won't use http without thinking twice we exempt
860         // these test files for now. Bug 1758951
861         "browser/components/aboutlogins/tests/browser/browser_createLogin.js",
862         "browser/components/aboutlogins/tests/chrome/test_login_item.html",
863         "browser/components/asrouter/modules/CFRMessageProvider.sys.mjs",
864         "browser/components/contextualidentity/test/browser/browser_broadcastchannel.js",
865         "browser/components/contextualidentity/test/browser/browser_eme.js",
866         "browser/components/contextualidentity/test/browser/browser_favicon.js",
867         "browser/components/contextualidentity/test/browser/browser_forgetAPI_EME_forgetThisSite.js",
868         "browser/components/contextualidentity/test/browser/browser_forgetAPI_cookie_getCookiesWithOriginAttributes.js",
869         "browser/components/contextualidentity/test/browser/browser_forgetAPI_quota_clearStoragesForPrincipal.js",
870         "browser/components/contextualidentity/test/browser/browser_forgetaboutsite.js",
871         "browser/components/contextualidentity/test/browser/browser_middleClick.js",
872         "browser/components/contextualidentity/test/browser/browser_reopenIn.js",
873         "browser/components/contextualidentity/test/browser/browser_restore_getCookiesWithOriginAttributes.js",
874         "browser/components/contextualidentity/test/browser/browser_usercontextid_tabdrop.js",
875         "browser/components/contextualidentity/test/browser/saveLink.sjs",
876         "browser/components/customizableui/test/browser_947914_button_history.js",
877         "browser/components/customizableui/test/browser_947914_button_print.js",
878         "browser/components/customizableui/test/browser_947914_button_zoomReset.js",
879         "browser/components/customizableui/test/browser_backfwd_enabled_post_customize.js",
880         "browser/components/customizableui/test/browser_customization_context_menus.js",
881         "browser/components/customizableui/test/browser_exit_background_customize_mode.js",
882         "browser/components/customizableui/test/browser_history_recently_closed.js",
883         "browser/components/customizableui/test/browser_history_recently_closed_middleclick.js",
884         "browser/components/customizableui/test/browser_synced_tabs_menu.js",
885         "browser/components/downloads/test/browser/browser_download_overwrite.js",
886         "browser/components/downloads/test/browser/browser_go_to_download_page.js",
887         "browser/components/downloads/test/browser/browser_iframe_gone_mid_download.js",
888         "browser/components/downloads/test/browser/head.js",
889         "browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js",
890         "browser/components/enterprisepolicies/tests/browser/browser_policy_handlers.js",
891         "browser/components/enterprisepolicies/tests/browser/browser_policy_search_engine.js",
892         "browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js",
893         "browser/components/enterprisepolicies/tests/browser/browser_policy_set_startpage.js",
894         "browser/components/extensions/test/browser/browser_ext_autocompletepopup.js",
895         "browser/components/extensions/test/browser/browser_ext_browserAction_context.js",
896         "browser/components/extensions/test/browser/browser_ext_browserAction_contextMenu.js",
897         "browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js",
898         "browser/components/extensions/test/browser/browser_ext_browsingData_history.js",
899         "browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js",
900         "browser/components/extensions/test/browser/browser_ext_commands_execute_page_action.js",
901         "browser/components/extensions/test/browser/browser_ext_contentscript_cross_docGroup_adoption.js",
902         "browser/components/extensions/test/browser/browser_ext_contentscript_cross_docGroup_adoption_xhr.js",
903         "browser/components/extensions/test/browser/browser_ext_contextMenus_targetUrlPatterns.js",
904         "browser/components/extensions/test/browser/browser_ext_contextMenus_urlPatterns.js",
905         "browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow_targetSwitch.js",
906         "browser/components/extensions/test/browser/browser_ext_devtools_network.js",
907         "browser/components/extensions/test/browser/browser_ext_devtools_network_targetSwitch.js",
908         "browser/components/extensions/test/browser/browser_ext_find.js",
909         "browser/components/extensions/test/browser/browser_ext_management.js",
910         "browser/components/extensions/test/browser/browser_ext_menus.js",
911         "browser/components/extensions/test/browser/browser_ext_menus_replace_menu_context.js",
912         "browser/components/extensions/test/browser/browser_ext_menus_targetElement_shadow.js",
913         "browser/components/extensions/test/browser/browser_ext_nontab_process_switch.js",
914         "browser/components/extensions/test/browser/browser_ext_optionsPage_privileges.js",
915         "browser/components/extensions/test/browser/browser_ext_originControls.js",
916         "browser/components/extensions/test/browser/browser_ext_originControls_browserAction.js",
917         "browser/components/extensions/test/browser/browser_ext_pageAction_context.js",
918         "browser/components/extensions/test/browser/browser_ext_pageAction_popup.js",
919         "browser/components/extensions/test/browser/browser_ext_pageAction_show_matches.js",
920         "browser/components/extensions/test/browser/browser_ext_pageAction_simple.js",
921         "browser/components/extensions/test/browser/browser_ext_popup_api_injection.js",
922         "browser/components/extensions/test/browser/browser_ext_popup_focus.js",
923         "browser/components/extensions/test/browser/browser_ext_port_disconnect_on_crash.js",
924         "browser/components/extensions/test/browser/browser_ext_runtime_openOptionsPage.js",
925         "browser/components/extensions/test/browser/browser_ext_runtime_openOptionsPage_uninstall.js",
926         "browser/components/extensions/test/browser/browser_ext_runtime_setUninstallURL.js",
927         "browser/components/extensions/test/browser/browser_ext_search_favicon.js",
928         "browser/components/extensions/test/browser/browser_ext_sessions_forgetClosedTab.js",
929         "browser/components/extensions/test/browser/browser_ext_sessions_forgetClosedWindow.js",
930         "browser/components/extensions/test/browser/browser_ext_sessions_getRecentlyClosed.js",
931         "browser/components/extensions/test/browser/browser_ext_sessions_getRecentlyClosed_private.js",
932         "browser/components/extensions/test/browser/browser_ext_sessions_getRecentlyClosed_tabs.js",
933         "browser/components/extensions/test/browser/browser_ext_sessions_incognito.js",
934         "browser/components/extensions/test/browser/browser_ext_sessions_restoreTab.js",
935         "browser/components/extensions/test/browser/browser_ext_sessions_window_tab_value.js",
936         "browser/components/extensions/test/browser/browser_ext_slow_script.js",
937         "browser/components/extensions/test/browser/browser_ext_tabs_attention.js",
938         "browser/components/extensions/test/browser/browser_ext_tabs_containerIsolation.js",
939         "browser/components/extensions/test/browser/browser_ext_tabs_create.js",
940         "browser/components/extensions/test/browser/browser_ext_tabs_discard.js",
941         "browser/components/extensions/test/browser/browser_ext_tabs_discard_reversed.js",
942         "browser/components/extensions/test/browser/browser_ext_tabs_discarded.js",
943         "browser/components/extensions/test/browser/browser_ext_tabs_duplicate.js",
944         "browser/components/extensions/test/browser/browser_ext_tabs_events_order.js",
945         "browser/components/extensions/test/browser/browser_ext_tabs_executeScript.js",
946         "browser/components/extensions/test/browser/browser_ext_tabs_executeScript_bad.js",
947         "browser/components/extensions/test/browser/browser_ext_tabs_hide.js",
948         "browser/components/extensions/test/browser/browser_ext_tabs_hide_update.js",
949         "browser/components/extensions/test/browser/browser_ext_tabs_highlight.js",
950         "browser/components/extensions/test/browser/browser_ext_tabs_insertCSS.js",
951         "browser/components/extensions/test/browser/browser_ext_tabs_printPreview.js",
952         "browser/components/extensions/test/browser/browser_ext_tabs_query.js",
953         "browser/components/extensions/test/browser/browser_ext_tabs_readerMode.js",
954         "browser/components/extensions/test/browser/browser_ext_tabs_saveAsPDF.js",
955         "browser/components/extensions/test/browser/browser_ext_tabs_sendMessage.js",
956         "browser/components/extensions/test/browser/browser_ext_tabs_sharingState.js",
957         "browser/components/extensions/test/browser/browser_ext_tabs_update_url.js",
958         "browser/components/extensions/test/browser/browser_ext_tabs_warmup.js",
959         "browser/components/extensions/test/browser/browser_ext_tabs_zoom.js",
960         "browser/components/extensions/test/browser/browser_ext_topSites.js",
961         "browser/components/extensions/test/browser/browser_ext_webNavigation_containerIsolation.js",
962         "browser/components/extensions/test/browser/browser_ext_webNavigation_getFrames.js",
963         "browser/components/extensions/test/browser/browser_ext_webNavigation_urlbar_transitions.js",
964         "browser/components/extensions/test/browser/browser_ext_webRequest.js",
965         "browser/components/extensions/test/browser/browser_ext_webRequest_error_after_stopped_or_closed.js",
966         "browser/components/extensions/test/browser/browser_ext_windows.js",
967         "browser/components/extensions/test/browser/browser_ext_windows_allowScriptsToClose.js",
968         "browser/components/extensions/test/browser/browser_ext_windows_create_tabId.js",
969         "browser/components/firefoxview/tests/browser/browser_recently_closed_tabs.js",
970         "browser/components/newtab/content-src/components/DiscoveryStreamComponents/TopSites/TopSites.jsx ",
971         "browser/components/newtab/content-src/components/TopSites/TopSiteForm.jsx ",
972         "browser/components/newtab/lib/PlacesFeed.sys.mjs ",
973         "browser/components/originattributes/test/browser/browser_broadcastChannel.js",
974         "browser/components/originattributes/test/browser/browser_cache.js",
975         "browser/components/originattributes/test/browser/browser_favicon_firstParty.js",
976         "browser/components/originattributes/test/browser/browser_favicon_userContextId.js",
977         "browser/components/originattributes/test/browser/browser_firstPartyIsolation.js",
978         "browser/components/originattributes/test/browser/browser_firstPartyIsolation_blobURI.js",
979         "browser/components/originattributes/test/browser/browser_firstPartyIsolation_js_uri.js",
980         "browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js",
981         "browser/components/originattributes/test/browser/browser_permissions.js",
982         "browser/components/originattributes/test/browser/browser_postMessage.js",
983         "browser/components/originattributes/test/browser/browser_windowOpenerRestriction.js",
984         "browser/components/originattributes/test/browser/file_postMessage.html",
985         "browser/components/originattributes/test/browser/file_saveAs.sjs",
986         "browser/components/originattributes/test/browser/file_thirdPartyChild.iframe.html",
987         "browser/components/originattributes/test/browser/file_thirdPartyChild.worker.js",
988         "browser/components/originattributes/test/browser/head.js",
989         "browser/components/originattributes/test/browser/window2.html",
990         "browser/components/originattributes/test/browser/window3.html",
991         "browser/components/pagedata/tests/browser/browser_pagedata_background.js",
992         "browser/components/pagedata/tests/browser/browser_pagedata_cache.js",
993         "browser/components/places/tests/browser/browser_bookmarkMenu_hiddenWindow.js",
994         "browser/components/places/tests/browser/browser_bookmarkProperties_addFolderDefaultButton.js",
995         "browser/components/places/tests/browser/browser_bookmarkProperties_cancel.js",
996         "browser/components/places/tests/browser/browser_bookmarkProperties_editTagContainer.js",
997         "browser/components/places/tests/browser/browser_bookmarkProperties_no_user_actions.js",
998         "browser/components/places/tests/browser/browser_bookmarkProperties_speculativeConnection.js",
999         "browser/components/places/tests/browser/browser_bookmark_add_tags.js",
1000         "browser/components/places/tests/browser/browser_bookmark_all_tabs.js",
1001         "browser/components/places/tests/browser/browser_bookmark_backup_export_import.js",
1002         "browser/components/places/tests/browser/browser_bookmark_context_menu_contents.js",
1003         "browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js",
1004         "browser/components/places/tests/browser/browser_bookmark_folder_moveability.js",
1005         "browser/components/places/tests/browser/browser_bookmark_titles.js",
1006         "browser/components/places/tests/browser/browser_bookmarksProperties.js",
1007         "browser/components/places/tests/browser/browser_bookmarks_sidebar_search.js",
1008         "browser/components/places/tests/browser/browser_bookmarks_toolbar_context_menu_view_options.js",
1009         "browser/components/places/tests/browser/browser_bookmarks_toolbar_telemetry.js",
1010         "browser/components/places/tests/browser/browser_bug485100-change-case-loses-tag.js",
1011         "browser/components/places/tests/browser/browser_bug631374_tags_selector_scroll.js",
1012         "browser/components/places/tests/browser/browser_check_correct_controllers.js",
1013         "browser/components/places/tests/browser/browser_click_bookmarks_on_toolbar.js",
1014         "browser/components/places/tests/browser/browser_controller_onDrop.js",
1015         "browser/components/places/tests/browser/browser_controller_onDrop_sidebar.js",
1016         "browser/components/places/tests/browser/browser_controller_onDrop_tagFolder.js",
1017         "browser/components/places/tests/browser/browser_cutting_bookmarks.js",
1018         "browser/components/places/tests/browser/browser_drag_bookmarks_on_toolbar.js",
1019         "browser/components/places/tests/browser/browser_drag_folder_on_newTab.js",
1020         "browser/components/places/tests/browser/browser_editBookmark_keywords.js",
1021         "browser/components/places/tests/browser/browser_editBookmark_tags_liveUpdate.js",
1022         "browser/components/places/tests/browser/browser_forgetthissite.js",
1023         "browser/components/places/tests/browser/browser_history_sidebar_search.js",
1024         "browser/components/places/tests/browser/browser_library_commands.js",
1025         "browser/components/places/tests/browser/browser_library_delete.js",
1026         "browser/components/places/tests/browser/browser_library_delete_bookmarks_in_tags.js",
1027         "browser/components/places/tests/browser/browser_library_delete_tags.js",
1028         "browser/components/places/tests/browser/browser_library_downloads.js",
1029         "browser/components/places/tests/browser/browser_library_left_pane_select_hierarchy.js",
1030         "browser/components/places/tests/browser/browser_library_openFlatContainer.js",
1031         "browser/components/places/tests/browser/browser_library_open_all.js",
1032         "browser/components/places/tests/browser/browser_library_panel_leak.js",
1033         "browser/components/places/tests/browser/browser_library_search.js",
1034         "browser/components/places/tests/browser/browser_library_views_liveupdate.js",
1035         "browser/components/places/tests/browser/browser_library_warnOnOpen.js",
1036         "browser/components/places/tests/browser/browser_paste_bookmarks.js",
1037         "browser/components/places/tests/browser/browser_paste_into_tags.js",
1038         "browser/components/places/tests/browser/browser_paste_resets_cut_highlights.js",
1039         "browser/components/places/tests/browser/browser_remove_bookmarks.js",
1040         "browser/components/places/tests/browser/browser_stayopenmenu.js",
1041         "browser/components/places/tests/browser/browser_toolbar_drop_text.js",
1042         "browser/components/places/tests/browser/browser_toolbar_library_open_recent.js",
1043         "browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js",
1044         "browser/components/places/tests/browser/browser_toolbar_overflow.js",
1045         "browser/components/places/tests/browser/browser_views_iconsupdate.js",
1046         "browser/components/places/tests/browser/browser_views_liveupdate.js",
1047         "browser/components/places/tests/chrome/test_bug549192.xhtml",
1048         "browser/components/places/tests/chrome/test_bug549491.xhtml",
1049         "browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xhtml",
1050         "browser/components/places/tests/chrome/test_treeview_date.xhtml",
1051         "browser/components/pocket/test/unit/panels/browser_pocket_main.js",
1052         "browser/components/preferences/tests/browser_applications_selection.js",
1053         "browser/components/preferences/tests/browser_bug410900.js",
1054         "browser/components/preferences/tests/browser_contentblocking.js",
1055         "browser/components/preferences/tests/browser_cookie_exceptions_addRemove.js",
1056         "browser/components/preferences/tests/browser_cookies_exceptions.js",
1057         "browser/components/preferences/tests/browser_extension_controlled.js",
1058         "browser/components/preferences/tests/browser_filetype_dialog.js",
1059         "browser/components/preferences/tests/browser_homepages_use_bookmark.js",
1060         "browser/components/preferences/tests/browser_https_only_exceptions.js",
1061         "browser/components/preferences/tests/browser_permissions_checkPermissionsWereAdded.js",
1062         "browser/components/preferences/tests/browser_permissions_dialog.js",
1063         "browser/components/preferences/tests/browser_permissions_dialog_default_perm.js",
1064         "browser/components/preferences/tests/browser_site_login_exceptions.js",
1065         "browser/components/preferences/tests/siteData/browser_siteData2.js",
1066         "browser/components/preferences/tests/siteData/browser_siteData3.js",
1067         "browser/components/preferences/tests/siteData/browser_siteData_multi_select.js",
1068         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_DownloadLastDirWithCPS.js",
1069         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_nimbus.js",
1070         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_nimbus_dismiss.js",
1071         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_nimbus_impressions.js",
1072         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_nimbus_messaging.js",
1073         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js",
1074         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_downloadLastDir.js",
1075         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_downloadLastDir_c.js",
1076         "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_history_shift_click.js",
1077         "browser/components/protocolhandler/test/test_registerHandler.html",
1078         "browser/components/resistfingerprinting/test/browser/browser_bug1369357_site_specific_zoom_level.js",
1079         "browser/components/resistfingerprinting/test/browser/head.js",
1080         "browser/components/safebrowsing/content/test/browser_bug400731.js",
1081         "browser/components/safebrowsing/content/test/browser_bug415846.js",
1082         "browser/components/safebrowsing/content/test/browser_whitelisted.js",
1083         "browser/components/screenshots/tests/browser/head.js",
1084         "browser/components/sessionstore/test/browser_1284886_suspend_tab.js",
1085         "browser/components/sessionstore/test/browser_394759_behavior.js",
1086         "browser/components/sessionstore/test/browser_394759_purge.js",
1087         "browser/components/sessionstore/test/browser_461634.js",
1088         "browser/components/sessionstore/test/browser_463205.js",
1089         "browser/components/sessionstore/test/browser_464199.js",
1090         "browser/components/sessionstore/test/browser_490040.js",
1091         "browser/components/sessionstore/test/browser_491168.js",
1092         "browser/components/sessionstore/test/browser_491577.js",
1093         "browser/components/sessionstore/test/browser_500328.js",
1094         "browser/components/sessionstore/test/browser_522545.js",
1095         "browser/components/sessionstore/test/browser_526613.js",
1096         "browser/components/sessionstore/test/browser_586068-apptabs.js",
1097         "browser/components/sessionstore/test/browser_586068-apptabs_ondemand.js",
1098         "browser/components/sessionstore/test/browser_586068-browser_state_interrupted.js",
1099         "browser/components/sessionstore/test/browser_586068-cascade.js",
1100         "browser/components/sessionstore/test/browser_586068-multi_window.js",
1101         "browser/components/sessionstore/test/browser_586068-reload.js",
1102         "browser/components/sessionstore/test/browser_586068-select.js",
1103         "browser/components/sessionstore/test/browser_586068-window_state.js",
1104         "browser/components/sessionstore/test/browser_586068-window_state_override.js",
1105         "browser/components/sessionstore/test/browser_589246.js",
1106         "browser/components/sessionstore/test/browser_590268.js",
1107         "browser/components/sessionstore/test/browser_595601-restore_hidden.js",
1108         "browser/components/sessionstore/test/browser_597071.js",
1109         "browser/components/sessionstore/test/browser_600545.js",
1110         "browser/components/sessionstore/test/browser_607016.js",
1111         "browser/components/sessionstore/test/browser_615394-SSWindowState_events_setBrowserState.js",
1112         "browser/components/sessionstore/test/browser_615394-SSWindowState_events_setTabState.js",
1113         "browser/components/sessionstore/test/browser_615394-SSWindowState_events_setWindowState.js",
1114         "browser/components/sessionstore/test/browser_615394-SSWindowState_events_undoCloseWindow.js",
1115         "browser/components/sessionstore/test/browser_618151.js",
1116         "browser/components/sessionstore/test/browser_625016.js",
1117         "browser/components/sessionstore/test/browser_636279.js",
1118         "browser/components/sessionstore/test/browser_687710.js",
1119         "browser/components/sessionstore/test/browser_687710_2.js",
1120         "browser/components/sessionstore/test/browser_701377.js",
1121         "browser/components/sessionstore/test/browser_819510_perwindowpb.js",
1122         "browser/components/sessionstore/test/browser_906076_lazy_tabs.js",
1123         "browser/components/sessionstore/test/browser_async_duplicate_tab.js",
1124         "browser/components/sessionstore/test/browser_async_flushes.js",
1125         "browser/components/sessionstore/test/browser_async_window_flushing.js",
1126         "browser/components/sessionstore/test/browser_background_tab_crash.js",
1127         "browser/components/sessionstore/test/browser_backup_recovery.js",
1128         "browser/components/sessionstore/test/browser_broadcast.js",
1129         "browser/components/sessionstore/test/browser_cleaner.js",
1130         "browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js",
1131         "browser/components/sessionstore/test/browser_cookies.js",
1132         "browser/components/sessionstore/test/browser_cookies_legacy.js",
1133         "browser/components/sessionstore/test/browser_cookies_sameSite.js",
1134         "browser/components/sessionstore/test/browser_duplicate_history.js",
1135         "browser/components/sessionstore/test/browser_focus_after_restore.js",
1136         "browser/components/sessionstore/test/browser_forget_async_closings.js",
1137         "browser/components/sessionstore/test/browser_movePendingTabToNewWindow.js",
1138         "browser/components/sessionstore/test/browser_old_favicon.js",
1139         "browser/components/sessionstore/test/browser_parentProcessRestoreHash.js",
1140         "browser/components/sessionstore/test/browser_remoteness_flip_on_restore.js",
1141         "browser/components/sessionstore/test/browser_reopen_all_windows.js",
1142         "browser/components/sessionstore/test/browser_restore_cookies_noOriginAttributes.js",
1143         "browser/components/sessionstore/test/browser_restore_redirect.js",
1144         "browser/components/sessionstore/test/browser_restored_window_features.js",
1145         "browser/components/sessionstore/test/browser_scrollPositions.js",
1146         "browser/components/sessionstore/test/browser_scrollPositionsReaderMode.js",
1147         "browser/components/sessionstore/test/browser_sessionHistory.js",
1148         "browser/components/sessionstore/test/browser_sessionStorage.js",
1149         "browser/components/sessionstore/test/browser_sessionStoreContainer.js",
1150         "browser/components/sessionstore/test/browser_switch_remoteness.js",
1151         "browser/components/sessionstore/test/browser_tab_label_during_restore.js",
1152         "browser/components/sessionstore/test/browser_tabs_in_urlbar.js",
1153         "browser/components/sessionstore/test/browser_userTyped_restored_after_discard.js",
1154         "browser/components/sessionstore/test/browser_windowStateContainer.js",
1155         "browser/components/sessionstore/test/head.js",
1156         "browser/components/tests/browser/browser_bug538331.js",
1157         "browser/components/tests/browser/browser_initial_tab_remoteType.js",
1158         "browser/components/tests/browser/browser_startup_homepage.js",
1159         "browser/components/touchbar/tests/browser/browser_touchbar_searchrestrictions.js",
1160         "browser/components/touchbar/tests/browser/browser_touchbar_tests.js",
1161         "browser/components/uitour/test/browser_UITour.js",
1162         "browser/components/uitour/test/head.js",
1163         "browser/components/urlbar/tests/browser-tips/browser_interventions.js",
1164         "browser/components/urlbar/tests/browser-tips/browser_picks.js",
1165         "browser/components/urlbar/tests/browser-tips/browser_searchTips.js",
1166         "browser/components/urlbar/tests/browser-tips/browser_searchTips_interaction.js",
1167         "browser/components/urlbar/tests/browser-tips/browser_selection.js",
1168         "browser/components/urlbar/tests/browser-tips/head.js",
1169         "browser/components/urlbar/tests/browser-updateResults/browser_appendSpanCount.js",
1170         "browser/components/urlbar/tests/browser-updateResults/browser_reuse.js",
1171         "browser/components/urlbar/tests/browser-updateResults/head.js",
1172         "browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js",
1173         "browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow_resize.js",
1174         "browser/components/urlbar/tests/browser/browser_UrlbarInput_searchTerms.js",
1175         "browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js",
1176         "browser/components/urlbar/tests/browser/browser_UrlbarInput_tooltip.js",
1177         "browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js",
1178         "browser/components/urlbar/tests/browser/browser_aboutHomeLoading.js",
1179         "browser/components/urlbar/tests/browser/browser_autoFill_backspaced.js",
1180         "browser/components/urlbar/tests/browser/browser_autoFill_canonize.js",
1181         "browser/components/urlbar/tests/browser/browser_autoFill_caretNotAtEnd.js",
1182         "browser/components/urlbar/tests/browser/browser_autoFill_firstResult.js",
1183         "browser/components/urlbar/tests/browser/browser_autoFill_paste.js",
1184         "browser/components/urlbar/tests/browser/browser_autoFill_placeholder.js",
1185         "browser/components/urlbar/tests/browser/browser_autoFill_preserve.js",
1186         "browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js",
1187         "browser/components/urlbar/tests/browser/browser_autoFill_typed.js",
1188         "browser/components/urlbar/tests/browser/browser_autoFill_undo.js",
1189         "browser/components/urlbar/tests/browser/browser_autoOpen.js",
1190         "browser/components/urlbar/tests/browser/browser_autocomplete_autoselect.js",
1191         "browser/components/urlbar/tests/browser/browser_autocomplete_edit_completed.js",
1192         "browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js",
1193         "browser/components/urlbar/tests/browser/browser_autocomplete_no_title.js",
1194         "browser/components/urlbar/tests/browser/browser_autocomplete_readline_navigation.js",
1195         "browser/components/urlbar/tests/browser/browser_autocomplete_tag_star_visibility.js",
1196         "browser/components/urlbar/tests/browser/browser_canonizeURL.js",
1197         "browser/components/urlbar/tests/browser/browser_copy_during_load.js",
1198         "browser/components/urlbar/tests/browser/browser_copying.js",
1199         "browser/components/urlbar/tests/browser/browser_custom_new_window_url.js",
1200         "browser/components/urlbar/tests/browser/browser_cutting.js",
1201         "browser/components/urlbar/tests/browser/browser_decode.js",
1202         "browser/components/urlbar/tests/browser/browser_delete.js",
1203         "browser/components/urlbar/tests/browser/browser_deleteAllText.js",
1204         "browser/components/urlbar/tests/browser/browser_downArrowKeySearch.js",
1205         "browser/components/urlbar/tests/browser/browser_dragdropURL.js",
1206         "browser/components/urlbar/tests/browser/browser_dynamicResults.js",
1207         "browser/components/urlbar/tests/browser/browser_engagement.js",
1208         "browser/components/urlbar/tests/browser/browser_enter.js",
1209         "browser/components/urlbar/tests/browser/browser_enterAfterMouseOver.js",
1210         "browser/components/urlbar/tests/browser/browser_groupLabels.js",
1211         "browser/components/urlbar/tests/browser/browser_helpUrl.js",
1212         "browser/components/urlbar/tests/browser/browser_heuristicNotAddedFirst.js",
1213         "browser/components/urlbar/tests/browser/browser_hideHeuristic.js",
1214         "browser/components/urlbar/tests/browser/browser_ime_composition.js",
1215         "browser/components/urlbar/tests/browser/browser_inputHistory.js",
1216         "browser/components/urlbar/tests/browser/browser_inputHistory_autofill.js",
1217         "browser/components/urlbar/tests/browser/browser_inputHistory_emptystring.js",
1218         "browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js",
1219         "browser/components/urlbar/tests/browser/browser_keyword_override.js",
1220         "browser/components/urlbar/tests/browser/browser_keyword_select_and_type.js",
1221         "browser/components/urlbar/tests/browser/browser_locationBarCommand.js",
1222         "browser/components/urlbar/tests/browser/browser_oneOffs.js",
1223         "browser/components/urlbar/tests/browser/browser_oneOffs_settings.js",
1224         "browser/components/urlbar/tests/browser/browser_pasteAndGo.js",
1225         "browser/components/urlbar/tests/browser/browser_paste_multi_lines.js",
1226         "browser/components/urlbar/tests/browser/browser_paste_then_focus.js",
1227         "browser/components/urlbar/tests/browser/browser_quickactions.js",
1228         "browser/components/urlbar/tests/browser/browser_remoteness_switch.js",
1229         "browser/components/urlbar/tests/browser/browser_removeUnsafeProtocolsFromURLBarPaste.js",
1230         "browser/components/urlbar/tests/browser/browser_remove_match.js",
1231         "browser/components/urlbar/tests/browser/browser_restoreEmptyInput.js",
1232         "browser/components/urlbar/tests/browser/browser_resultSpan.js",
1233         "browser/components/urlbar/tests/browser/browser_result_onSelection.js",
1234         "browser/components/urlbar/tests/browser/browser_revert.js",
1235         "browser/components/urlbar/tests/browser/browser_searchMode_autofill.js",
1236         "browser/components/urlbar/tests/browser/browser_searchMode_clickLink.js",
1237         "browser/components/urlbar/tests/browser/browser_searchMode_heuristic.js",
1238         "browser/components/urlbar/tests/browser/browser_searchMode_indicator.js",
1239         "browser/components/urlbar/tests/browser/browser_searchMode_localOneOffs_actionText.js",
1240         "browser/components/urlbar/tests/browser/browser_searchMode_no_results.js",
1241         "browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js",
1242         "browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js",
1243         "browser/components/urlbar/tests/browser/browser_searchMode_setURI.js",
1244         "browser/components/urlbar/tests/browser/browser_searchMode_suggestions.js",
1245         "browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js",
1246         "browser/components/urlbar/tests/browser/browser_searchSingleWordNotification.js",
1247         "browser/components/urlbar/tests/browser/browser_selectStaleResults.js",
1248         "browser/components/urlbar/tests/browser/browser_selectionKeyNavigation.js",
1249         "browser/components/urlbar/tests/browser/browser_separatePrivateDefault.js",
1250         "browser/components/urlbar/tests/browser/browser_separatePrivateDefault_differentEngine.js",
1251         "browser/components/urlbar/tests/browser/browser_stopSearchOnSelection.js",
1252         "browser/components/urlbar/tests/browser/browser_stop_pending.js",
1253         "browser/components/urlbar/tests/browser/browser_suggestedIndex.js",
1254         "browser/components/urlbar/tests/browser/browser_suppressFocusBorder.js",
1255         "browser/components/urlbar/tests/browser/browser_switchTab_closesUrlbarPopup.js",
1256         "browser/components/urlbar/tests/browser/browser_switchToTab_closes_newtab.js",
1257         "browser/components/urlbar/tests/browser/browser_tabKeyBehavior.js",
1258         "browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js",
1259         "browser/components/urlbar/tests/browser/browser_top_sites.js",
1260         "browser/components/urlbar/tests/browser/browser_top_sites_private.js",
1261         "browser/components/urlbar/tests/browser/browser_typed_value.js",
1262         "browser/components/urlbar/tests/browser/browser_urlbar_annotation.js",
1263         "browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js",
1264         "browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js",
1265         "browser/components/urlbar/tests/browser/browser_urlbar_telemetry_autofill.js",
1266         "browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js",
1267         "browser/components/urlbar/tests/browser/browser_urlbar_telemetry_remotetab.js",
1268         "browser/components/urlbar/tests/browser/browser_urlbar_telemetry_searchmode.js",
1269         "browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js",
1270         "browser/components/urlbar/tests/browser/browser_view_resultDisplay.js",
1271         "browser/components/urlbar/tests/browser/browser_view_resultTypes_display.js",
1272         "browser/components/urlbar/tests/ext/browser/browser_ext_urlbar_clearInput.js",
1273         "browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest.js",
1274         "browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_block.js",
1275         "browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_configuration.js",
1276         "browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_indexes.js",
1277         "browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_telemetry.js",
1278         "browser/extensions/formautofill/test/browser/browser_dropdown_layout.js",
1279         "browser/extensions/formautofill/test/browser/creditCard/browser_anti_clickjacking.js",
1280         "browser/extensions/report-site-issue/test/browser/browser_button_state.js",
1281         "browser/extensions/report-site-issue/test/browser/browser_disabled_cleanup.js",
1282         "browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js",
1283         "browser/extensions/report-site-issue/test/browser/head.js",
1284         "browser/extensions/screenshots/test/browser/head.js",
1285         "browser/extensions/webcompat/tests/browser/head.js",
1286         "browser/modules/test/browser/browser_PageActions.js",
1287         "browser/modules/test/browser/browser_PageActions_contextMenus.js",
1288         "browser/modules/test/browser/browser_PageActions_newWindow.js",
1289         "browser/modules/test/browser/browser_PermissionUI.js",
1290         "browser/modules/test/browser/browser_PermissionUI_prompts.js",
1291         "browser/modules/test/browser/browser_SitePermissions_tab_urls.js",
1292         "browser/modules/test/browser/browser_Telemetry_numberOfSiteOriginsPerDocument.js",
1293         "browser/modules/test/browser/browser_UnsubmittedCrashHandler.js",
1294         "browser/modules/test/browser/browser_UsageTelemetry.js",
1295         "browser/modules/test/browser/browser_UsageTelemetry_domains.js",
1296         "browser/modules/test/browser/browser_UsageTelemetry_interaction.js",
1297         "browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js",
1298         "browser/modules/test/browser/browser_UsageTelemetry_toolbars.js",
1299         "browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js",
1300         "caps/tests/mochitest/browser_checkloaduri.js",
1301         "caps/tests/mochitest/test_addonMayLoad.html",
1302         "caps/tests/mochitest/test_bug995943.xhtml",
1303         "caps/tests/mochitest/test_disableScript.xhtml",
1304         "devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_addons_remote_runtime.js",
1305         "devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_tab_navigate.js",
1306         "devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_workers_remote_runtime.js",
1307         "devtools/client/accessibility/test/browser/head.js",
1308         "devtools/client/accessibility/test/chrome/test_accessible_learnMoreLink.html",
1309         "devtools/client/accessibility/test/chrome/test_accessible_openLink.html",
1310         "devtools/client/application/test/node/fixtures/data/constants.js",
1311         "devtools/client/debugger/src/components/PrimaryPanes/tests/SourcesTree.spec.js",
1312         "devtools/client/debugger/src/components/PrimaryPanes/tests/SourcesTreeItem.spec.js",
1313         "devtools/client/debugger/src/components/SecondaryPanes/Frames/tests/Frames.spec.js",
1314         "devtools/client/debugger/src/components/SecondaryPanes/Frames/tests/Group.spec.js",
1315         "devtools/client/debugger/src/reducers/tests/sources.spec.js",
1316         "devtools/client/debugger/src/utils/sources-tree/tests/addToTree.spec.js",
1317         "devtools/client/debugger/src/utils/sources-tree/tests/collapseTree.spec.js",
1318         "devtools/client/debugger/src/utils/sources-tree/tests/getDirectories.spec.js",
1319         "devtools/client/debugger/src/utils/sources-tree/tests/getUrl.spec.js",
1320         "devtools/client/debugger/src/utils/sources-tree/tests/utils.spec.js",
1321         "devtools/client/debugger/src/utils/test-mockup.js",
1322         "devtools/client/debugger/src/utils/tests/source.spec.js",
1323         "devtools/client/debugger/src/utils/tests/url.spec.js",
1324         "devtools/client/debugger/test/mochitest/browser_dbg-project-root.js",
1325         "devtools/client/framework/browser-toolbox/test/browser_browser_toolbox_debugger.js",
1326         "devtools/client/framework/test/allocations/browser_allocations_browser_console.js",
1327         "devtools/client/framework/test/allocations/browser_allocations_reload_no_devtools.js",
1328         "devtools/client/framework/test/allocations/reload-test.js",
1329         "devtools/client/framework/test/browser_target_from_url.js",
1330         "devtools/client/framework/test/browser_toolbox_error_count_reset_on_navigation.js",
1331         "devtools/client/framework/test/node/components/debug-target-info.test.js",
1332         "devtools/client/inspector/markup/test/browser_markup_tag_edit_05.js",
1333         "devtools/client/inspector/shared/test/browser_styleinspector_output-parser.js",
1334         "devtools/client/inspector/shared/test/head.js",
1335         "devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-zoom.js",
1336         "devtools/client/jsonview/test/browser_jsonview_data_blocking.js",
1337         "devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_01.js",
1338         "devtools/client/memory/test/browser/browser_memory_clear_snapshots.js",
1339         "devtools/client/memory/test/browser/browser_memory_diff_01.js",
1340         "devtools/client/memory/test/browser/browser_memory_displays_01.js",
1341         "devtools/client/memory/test/browser/browser_memory_dominator_trees_01.js",
1342         "devtools/client/memory/test/browser/browser_memory_dominator_trees_02.js",
1343         "devtools/client/memory/test/browser/browser_memory_filter_01.js",
1344         "devtools/client/memory/test/browser/browser_memory_individuals_01.js",
1345         "devtools/client/memory/test/browser/browser_memory_keyboard-snapshot-list.js",
1346         "devtools/client/memory/test/browser/browser_memory_keyboard.js",
1347         "devtools/client/memory/test/browser/browser_memory_no_allocation_stacks.js",
1348         "devtools/client/memory/test/browser/browser_memory_no_auto_expand.js",
1349         "devtools/client/memory/test/browser/browser_memory_percents_01.js",
1350         "devtools/client/memory/test/browser/browser_memory_refresh_does_not_leak.js",
1351         "devtools/client/memory/test/browser/browser_memory_simple_01.js",
1352         "devtools/client/netmonitor/src/har/test/head.js",
1353         "devtools/client/netmonitor/test/browser_net_cached-status.js",
1354         "devtools/client/netmonitor/test/browser_net_details_copy.js",
1355         "devtools/client/netmonitor/test/browser_net_headers-link_clickable.js",
1356         "devtools/client/netmonitor/test/browser_net_new_request_panel_send_request.js",
1357         "devtools/client/netmonitor/test/browser_net_resend_headers.js",
1358         "devtools/client/netmonitor/test/browser_net_resend_hidden_headers.js",
1359         "devtools/client/netmonitor/test/browser_net_security-state.js",
1360         "devtools/client/netmonitor/test/browser_net_security-tab-deselect.js",
1361         "devtools/client/netmonitor/test/browser_net_security-tab-visibility.js",
1362         "devtools/client/netmonitor/test/browser_net_stacktraces-visibility.js",
1363         "devtools/client/netmonitor/test/head.js",
1364         "devtools/client/netmonitor/test/sjs_status-codes-test-server.sjs",
1365         "devtools/client/performance-new/test/browser/browser_devtools-record-capture.js",
1366         "devtools/client/performance-new/test/browser/browser_devtools-record-discard.js",
1367         "devtools/client/performance-new/test/browser/browser_popup-profiler-states.js",
1368         "devtools/client/performance-new/test/browser/browser_popup-record-capture-view.js",
1369         "devtools/client/performance-new/test/browser/browser_popup-record-capture.js",
1370         "devtools/client/performance-new/test/browser/browser_popup-record-discard.js",
1371         "devtools/client/performance-new/test/browser/browser_split-toolbar-button.js",
1372         "devtools/client/performance-new/test/browser/helpers.js",
1373         "devtools/client/responsive/test/browser/browser_cmd_click.js",
1374         "devtools/client/responsive/test/browser/browser_in_rdm_pane.js",
1375         "devtools/client/responsive/test/browser/browser_navigation.js",
1376         "devtools/client/responsive/test/browser/browser_page_state.js",
1377         "devtools/client/responsive/test/browser/browser_permission_doorhanger.js",
1378         "devtools/client/responsive/test/browser/browser_screenshot_button_warning.js",
1379         "devtools/client/responsive/test/browser/browser_tab_close.js",
1380         "devtools/client/responsive/test/browser/browser_tab_not_selected.js",
1381         "devtools/client/responsive/test/browser/browser_tab_remoteness_change.js",
1382         "devtools/client/responsive/test/browser/browser_tab_remoteness_change_fission_switch_target.js",
1383         "devtools/client/responsive/test/browser/browser_target_blank.js",
1384         "devtools/client/responsive/test/browser/browser_toolbox_swap_browsers.js",
1385         "devtools/client/responsive/test/browser/browser_toolbox_swap_inspector.js",
1386         "devtools/client/responsive/test/browser/browser_viewport_basics.js",
1387         "devtools/client/responsive/test/browser/head.js",
1388         "devtools/client/responsive/test/browser/sjs_redirection.sjs",
1389         "devtools/client/storage/test/browser_storage_basic.js",
1390         "devtools/client/storage/test/browser_storage_cache_delete.js",
1391         "devtools/client/storage/test/browser_storage_cookies_add.js",
1392         "devtools/client/storage/test/browser_storage_cookies_domain.js",
1393         "devtools/client/storage/test/browser_storage_cookies_domain_port.js",
1394         "devtools/client/storage/test/browser_storage_cookies_samesite.js",
1395         "devtools/client/storage/test/browser_storage_values.js",
1396         "devtools/client/styleeditor/test/browser_styleeditor_inline_friendly_names.js",
1397         "devtools/client/styleeditor/test/browser_styleeditor_private_perwindowpb.js",
1398         "devtools/client/styleeditor/test/head.js",
1399         "devtools/client/webconsole/test/browser/browser_console.js",
1400         "devtools/client/webconsole/test/browser/browser_console_clear_closed_tab.js",
1401         "devtools/client/webconsole/test/browser/browser_console_context_menu_entries.js",
1402         "devtools/client/webconsole/test/browser/browser_console_enable_network_monitoring.js",
1403         "devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js",
1404         "devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_in_debugger_stackframe.js",
1405         "devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_mapped_variables.js",
1406         "devtools/client/webconsole/test/browser/browser_jsterm_await_dynamic_import.js",
1407         "devtools/client/webconsole/test/browser/browser_jsterm_editor_reverse_search_keyboard_navigation.js",
1408         "devtools/client/webconsole/test/browser/browser_jsterm_multiline.js",
1409         "devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js",
1410         "devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_file.js",
1411         "devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_fixed_header.js",
1412         "devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_selector.js",
1413         "devtools/client/webconsole/test/browser/browser_toolbox_console_new_process.js",
1414         "devtools/client/webconsole/test/browser/browser_webconsole_batching.js",
1415         "devtools/client/webconsole/test/browser/browser_webconsole_cached_messages_cross_domain_iframe.js",
1416         "devtools/client/webconsole/test/browser/browser_webconsole_cached_messages_duplicate_after_target_switching.js",
1417         "devtools/client/webconsole/test/browser/browser_webconsole_checkloaduri_errors.js",
1418         "devtools/client/webconsole/test/browser/browser_webconsole_click_function_to_mapped_source.js",
1419         "devtools/client/webconsole/test/browser/browser_webconsole_click_function_to_prettyprinted_source.js",
1420         "devtools/client/webconsole/test/browser/browser_webconsole_click_function_to_source.js",
1421         "devtools/client/webconsole/test/browser/browser_webconsole_clickable_urls.js",
1422         "devtools/client/webconsole/test/browser/browser_webconsole_close_unfocused_window.js",
1423         "devtools/client/webconsole/test/browser/browser_webconsole_closing_after_completion.js",
1424         "devtools/client/webconsole/test/browser/browser_webconsole_console_api_iframe.js",
1425         "devtools/client/webconsole/test/browser/browser_webconsole_console_group.js",
1426         "devtools/client/webconsole/test/browser/browser_webconsole_console_logging_workers_api.js",
1427         "devtools/client/webconsole/test/browser/browser_webconsole_console_table.js",
1428         "devtools/client/webconsole/test/browser/browser_webconsole_console_trace_duplicates.js",
1429         "devtools/client/webconsole/test/browser/browser_webconsole_context_menu_copy_link_location.js",
1430         "devtools/client/webconsole/test/browser/browser_webconsole_context_menu_open_url.js",
1431         "devtools/client/webconsole/test/browser/browser_webconsole_csp_ignore_reflected_xss_message.js",
1432         "devtools/client/webconsole/test/browser/browser_webconsole_csp_violation.js",
1433         "devtools/client/webconsole/test/browser/browser_webconsole_cspro.js",
1434         "devtools/client/webconsole/test/browser/browser_webconsole_duplicate_errors.js",
1435         "devtools/client/webconsole/test/browser/browser_webconsole_errors_after_page_reload.js",
1436         "devtools/client/webconsole/test/browser/browser_webconsole_eval_error.js",
1437         "devtools/client/webconsole/test/browser/browser_webconsole_eval_in_debugger_stackframe.js",
1438         "devtools/client/webconsole/test/browser/browser_webconsole_eval_in_debugger_stackframe2.js",
1439         "devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js",
1440         "devtools/client/webconsole/test/browser/browser_webconsole_execution_scope.js",
1441         "devtools/client/webconsole/test/browser/browser_webconsole_external_script_errors.js",
1442         "devtools/client/webconsole/test/browser/browser_webconsole_filter_buttons_overflow.js",
1443         "devtools/client/webconsole/test/browser/browser_webconsole_filter_by_regex_input.js",
1444         "devtools/client/webconsole/test/browser/browser_webconsole_filter_groups.js",
1445         "devtools/client/webconsole/test/browser/browser_webconsole_filter_navigation_marker.js",
1446         "devtools/client/webconsole/test/browser/browser_webconsole_filters.js",
1447         "devtools/client/webconsole/test/browser/browser_webconsole_filters_persist.js",
1448         "devtools/client/webconsole/test/browser/browser_webconsole_iframe_wrong_hud.js",
1449         "devtools/client/webconsole/test/browser/browser_webconsole_init.js",
1450         "devtools/client/webconsole/test/browser/browser_webconsole_insecure_passwords_about_blank_web_console_warning.js",
1451         "devtools/client/webconsole/test/browser/browser_webconsole_location_debugger_link.js",
1452         "devtools/client/webconsole/test/browser/browser_webconsole_location_styleeditor_link.js",
1453         "devtools/client/webconsole/test/browser/browser_webconsole_network_requests_from_chrome.js",
1454         "devtools/client/webconsole/test/browser/browser_webconsole_network_unicode.js",
1455         "devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_custom_formatters.js",
1456         "devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_local_session_storage.js",
1457         "devtools/client/webconsole/test/browser/browser_webconsole_optimized_out_vars.js",
1458         "devtools/client/webconsole/test/browser/browser_webconsole_output_order.js",
1459         "devtools/client/webconsole/test/browser/browser_webconsole_output_trimmed.js",
1460         "devtools/client/webconsole/test/browser/browser_webconsole_reopen_closed_tab.js",
1461         "devtools/client/webconsole/test/browser/browser_webconsole_same_origin_errors.js",
1462         "devtools/client/webconsole/test/browser/browser_webconsole_select_all.js",
1463         "devtools/client/webconsole/test/browser/browser_webconsole_sourcemap_error.js",
1464         "devtools/client/webconsole/test/browser/browser_webconsole_stacktrace_location_debugger_link.js",
1465         "devtools/client/webconsole/test/browser/browser_webconsole_string.js",
1466         "devtools/client/webconsole/test/browser/browser_webconsole_time_methods.js",
1467         "devtools/client/webconsole/test/browser/browser_webconsole_warning_group_cookies.js",
1468         "devtools/client/webconsole/test/browser/browser_webconsole_warning_group_storage_isolation.js",
1469         "devtools/client/webconsole/test/browser/browser_webconsole_worker_error.js",
1470         "devtools/client/webconsole/test/browser/browser_webconsole_worker_evaluate.js",
1471         "devtools/client/webconsole/test/browser/test-console-filter-by-regex-input.html",
1472         "devtools/server/tests/browser/browser_inspector-anonymous.js",
1473         "devtools/server/tests/browser/browser_storage_cookies-duplicate-names.js",
1474         "devtools/server/tests/browser/browser_storage_dynamic_windows.js",
1475         "devtools/server/tests/browser/head.js",
1476         "devtools/shared/commands/resource/tests/browser_resources_sources.js",
1477         "devtools/shared/commands/target/tests/browser_target_command_bfcache.js",
1478         "devtools/shared/test-helpers/browser_allocation_tracker.js",
1479         "dom/animation/test/document-timeline/test_document-timeline.html",
1480         "dom/animation/test/mozilla/file_restyles.html",
1481         "dom/base/test/browser_aboutnewtab_process_selection.js",
1482         "dom/base/test/browser_blocking_image.js",
1483         "dom/base/test/browser_bug1011748.js",
1484         "dom/base/test/browser_inputStream_structuredClone.js",
1485         "dom/base/test/browser_refresh_content.js",
1486         "dom/base/test/bug435425_redirect.sjs",
1487         "dom/base/test/bug461735-redirect1.sjs",
1488         "dom/base/test/chrome/test_bug421622.xhtml",
1489         "dom/base/test/chrome/test_chromeOuterWindowID.xhtml",
1490         "dom/base/test/chrome/window_swapFrameLoaders.xhtml",
1491         "dom/base/test/file_bug1268962.sjs",
1492         "dom/base/test/file_bug590870.html",
1493         "dom/base/test/iframe1_bug1640766.html",
1494         "dom/base/test/iframe_meta_refresh.sjs",
1495         "dom/base/test/jsmodules/test_import_meta_resolve.html",
1496         "dom/base/test/referrerHelper.js",
1497         "dom/base/test/referrer_change_server.sjs",
1498         "dom/base/test/referrer_testserver.sjs",
1499         "dom/base/test/test_blocking_image.html",
1500         "dom/base/test/test_bug1091883.html",
1501         "dom/base/test/test_bug1222633.html",
1502         "dom/base/test/test_bug1222633_link_update.html",
1503         "dom/base/test/test_bug1268962.html",
1504         "dom/base/test/test_bug282547.html",
1505         "dom/base/test/test_bug338583.html",
1506         "dom/base/test/test_bug362391.xhtml",
1507         "dom/base/test/test_bug364413.xhtml",
1508         "dom/base/test/test_bug384003.xhtml",
1509         "dom/base/test/test_bug426308.html",
1510         "dom/base/test/test_bug435425.html",
1511         "dom/base/test/test_bug466080.html",
1512         "dom/base/test/test_bug515401.html",
1513         "dom/base/test/test_bug564863-2.xhtml",
1514         "dom/base/test/test_bug574596.html",
1515         "dom/base/test/test_bug592829.html",
1516         "dom/base/test/test_bug601803.html",
1517         "dom/base/test/test_bug694754.xhtml",
1518         "dom/base/test/test_bug696301-1.html",
1519         "dom/base/test/test_bug696301-2.html",
1520         "dom/base/test/test_bug744830.html",
1521         "dom/base/test/test_current_inner_window.html",
1522         "dom/base/test/test_embed_xorigin_document.html",
1523         "dom/base/test/test_fragment_sanitization.xhtml",
1524         "dom/base/test/test_intersectionobservers.html",
1525         "dom/base/test/test_messagemanager_send_principal.html",
1526         "dom/base/test/test_navigator_cookieEnabled.html",
1527         "dom/base/test/test_postMessage_solidus.html",
1528         "dom/base/test/test_postMessages_window.html",
1529         "dom/base/test/test_warning_for_blocked_cross_site_request.html",
1530         "dom/bindings/test/test_dom_xrays.html",
1531         "dom/bindings/test/test_setWithNamedGetterNoNamedSetter.html",
1532         "dom/cache/test/browser/browser_cache_pb_window.js",
1533         "dom/cache/test/xpcshell/make_profile.js",
1534         "dom/canvas/test/test_capture.html",
1535         "dom/canvas/test/test_imagebitmap.html",
1536         "dom/canvas/test/test_imagebitmap_cropping.html",
1537         "dom/encoding/test/test_TLD.html",
1538         "dom/encoding/test/test_in_lk_TLD.html",
1539         "dom/events/test/browser_beforeinput_by_execCommand_in_contentscript.js",
1540         "dom/events/test/browser_dragimage.js",
1541         "dom/events/test/browser_keyboard_event_init_key_event_enabled_in_contentscript.js",
1542         "dom/events/test/browser_mouse_enterleave_switch_tab.js",
1543         "dom/events/test/test_DataTransferItemList.html",
1544         "dom/events/test/test_bug1037990.html",
1545         "dom/events/test/test_bug1264380.html",
1546         "dom/events/test/test_bug812744.html",
1547         "dom/events/test/test_dragstart.html",
1548         "dom/events/test/test_mouse_capture_iframe.html",
1549         "dom/events/test/test_mouse_enterleave_iframe.html",
1550         "dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html",
1551         "dom/file/tests/test_mozfiledataurl.html",
1552         "dom/file/tests/test_nonascii_blob_url.html",
1553         "dom/html/test/browser_form_post_from_file_to_http.js",
1554         "dom/html/test/browser_fullscreen-api-keys.js",
1555         "dom/html/test/browser_fullscreen-contextmenu-esc.js",
1556         "dom/html/test/browser_fullscreen-newtab.js",
1557         "dom/html/test/file_fullscreen-api.html",
1558         "dom/html/test/forms/test_input_url.html",
1559         "dom/html/test/forms/test_max_attribute.html",
1560         "dom/html/test/forms/test_min_attribute.html",
1561         "dom/html/test/forms/test_pattern_attribute.html",
1562         "dom/html/test/forms/test_required_attribute.html",
1563         "dom/html/test/forms/test_step_attribute.html",
1564         "dom/html/test/fullscreen_helpers.js",
1565         "dom/html/test/test_anchor_href_cache_invalidation.html",
1566         "dom/html/test/test_bug1292522_same_domain_with_different_port_number.html",
1567         "dom/html/test/test_bug1315146.html",
1568         "dom/html/test/test_bug209275.xhtml",
1569         "dom/html/test/test_bug445004.html",
1570         "dom/html/test/test_bug448166.html",
1571         "dom/html/test/test_bug558788-2.html",
1572         "dom/html/test/test_bug590353-2.html",
1573         "dom/html/test/test_bug598643.html",
1574         "dom/html/test/test_bug607145.html",
1575         "dom/html/test/test_bug839913.html",
1576         "dom/html/test/test_formSubmission.html",
1577         "dom/indexedDB/test/browser_forgetThisSite.js",
1578         "dom/indexedDB/test/browser_private_idb.js",
1579         "dom/indexedDB/test/test_third_party.html",
1580         "dom/ipc/tests/JSProcessActor/head.js",
1581         "dom/ipc/tests/JSWindowActor/browser_observer_notification.js",
1582         "dom/ipc/tests/JSWindowActor/head.js",
1583         "dom/ipc/tests/browser_crash_oopiframe.js",
1584         "dom/ipc/tests/browser_domainPolicy.js",
1585         "dom/ipc/tests/test_bcg_processes.html",
1586         "dom/l10n/tests/mochitest/dom_localization/test_overlay.html",
1587         "dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_children.html",
1588         "dom/l10n/tests/mochitest/dom_localization/test_overlay_repeated.html",
1589         "dom/l10n/tests/mochitest/dom_localization/test_repeated_l10nid.html",
1590         "dom/localstorage/test/browser_private_ls.js",
1591         "dom/localstorage/test/unit/databaseShadowing-shared.js",
1592         "dom/manifest/test/browser_ManifestFinder_browserHasManifestLink.js",
1593         "dom/manifest/test/browser_Manifest_install.js",
1594         "dom/manifest/test/test_ManifestProcessor_id.html",
1595         "dom/manifest/test/test_ManifestProcessor_scope.html",
1596         "dom/manifest/test/test_ManifestProcessor_start_url.html",
1597         "dom/manifest/test/test_ManifestProcessor_warnings.html",
1598         "dom/media/autoplay/test/browser/head.js",
1599         "dom/media/autoplay/test/mochitest/file_autoplay_gv_play_request_window.html",
1600         "dom/media/autoplay/test/mochitest/file_autoplay_policy_activation_window.html",
1601         "dom/media/autoplay/test/mochitest/test_autoplay_policy_permission.html",
1602         "dom/media/doctor/test/browser/browser_decoderDoctor.js",
1603         "dom/media/mediasession/test/file_trigger_actionhanlder_window.html",
1604         "dom/media/test/browser/browser_telemetry_video_hardware_decoding_support.js",
1605         "dom/media/test/file_access_controls.html",
1606         "dom/media/test/manifest.js",
1607         "dom/media/test/midflight-redirect.sjs",
1608         "dom/media/test/redirect.sjs",
1609         "dom/media/test/test_mixed_principals.html",
1610         "dom/media/test/test_seek_promise_bug1344357.html",
1611         "dom/media/test/test_streams_capture_origin.html",
1612         "dom/media/webrtc/tests/mochitests/test_peerConnection_basicAudioVideoVerifyExtmap.html",
1613         "dom/media/webrtc/tests/mochitests/test_peerConnection_basicAudioVideoVerifyExtmapSendonly.html",
1614         "dom/notification/test/mochitest/NotificationTest.js",
1615         "dom/notification/test/mochitest/test_notification_tag.html",
1616         "dom/payments/test/test_pmi_validation.html",
1617         "dom/performance/tests/test_performance_paint_observer_helper.html",
1618         "dom/performance/tests/test_performance_paint_timing_helper.html",
1619         "dom/quota/test/xpcshell/make_unknownFiles.js",
1620         "dom/security/test/cors/file_bug1456721.html",
1621         "dom/security/test/cors/test_CrossSiteXHR.html",
1622         "dom/security/test/cors/test_CrossSiteXHR_cache.html",
1623         "dom/security/test/cors/test_CrossSiteXHR_origin.html",
1624         "dom/security/test/csp/browser_manifest-src-override-default-src.js",
1625         "dom/security/test/csp/browser_test_uir_optional_clicks.js",
1626         "dom/security/test/csp/browser_test_web_manifest.js",
1627         "dom/security/test/csp/file_blob_uri_blocks_modals.html",
1628         "dom/security/test/csp/file_blocked_uri_in_violation_event_after_redirects.html",
1629         "dom/security/test/csp/file_blocked_uri_in_violation_event_after_redirects.sjs",
1630         "dom/security/test/csp/file_blocked_uri_redirect_frame_src_server.sjs",
1631         "dom/security/test/csp/file_bug1505412.sjs",
1632         "dom/security/test/csp/file_bug802872.js",
1633         "dom/security/test/csp/file_bug941404.html",
1634         "dom/security/test/csp/file_frameancestors_main.js",
1635         "dom/security/test/csp/file_main.js",
1636         "dom/security/test/csp/file_null_baseuri.html",
1637         "dom/security/test/csp/file_path_matching_redirect_server.sjs",
1638         "dom/security/test/csp/file_punycode_host_src.sjs",
1639         "dom/security/test/csp/file_redirect_content.sjs",
1640         "dom/security/test/csp/file_redirect_report.sjs",
1641         "dom/security/test/csp/file_redirect_worker.sjs",
1642         "dom/security/test/csp/file_redirects_main.html",
1643         "dom/security/test/csp/file_redirects_resource.sjs",
1644         "dom/security/test/csp/file_sendbeacon.html",
1645         "dom/security/test/csp/file_strict_dynamic_non_parser_inserted.html",
1646         "dom/security/test/csp/file_uir_top_nav.html",
1647         "dom/security/test/csp/file_windowwatcher_subframeB.html",
1648         "dom/security/test/csp/main_csp_worker.html",
1649         "dom/security/test/csp/test_301_redirect.html",
1650         "dom/security/test/csp/test_302_redirect.html",
1651         "dom/security/test/csp/test_303_redirect.html",
1652         "dom/security/test/csp/test_307_redirect.html",
1653         "dom/security/test/csp/test_allow_https_schemes.html",
1654         "dom/security/test/csp/test_base-uri.html",
1655         "dom/security/test/csp/test_blocked_uri_in_reports.html",
1656         "dom/security/test/csp/test_blocked_uri_in_violation_event_after_redirects.html",
1657         "dom/security/test/csp/test_blocked_uri_redirect_frame_src.html",
1658         "dom/security/test/csp/test_null_baseuri.html",
1659         "dom/security/test/csp/test_path_matching.html",
1660         "dom/security/test/csp/test_report_for_import.html",
1661         "dom/security/test/csp/test_uir_top_nav.html",
1662         "dom/security/test/csp/test_upgrade_insecure.html",
1663         "dom/security/test/csp/test_upgrade_insecure_navigation.html",
1664         "dom/security/test/csp/test_websocket_self.html",
1665         "dom/security/test/general/browser_test_data_download.js",
1666         "dom/security/test/general/browser_test_data_text_csv.js",
1667         "dom/security/test/general/browser_test_toplevel_data_navigations.js",
1668         "dom/security/test/general/file_same_site_cookies_redirect.sjs",
1669         "dom/security/test/general/file_same_site_cookies_toplevel_set_cookie.sjs",
1670         "dom/security/test/general/test_bug1450853.html",
1671         "dom/security/test/general/test_same_site_cookies_about.html",
1672         "dom/security/test/general/test_same_site_cookies_cross_origin_context.html",
1673         "dom/security/test/general/test_same_site_cookies_from_script.html",
1674         "dom/security/test/general/test_same_site_cookies_iframe.html",
1675         "dom/security/test/general/test_same_site_cookies_laxByDefault.html",
1676         "dom/security/test/general/test_same_site_cookies_redirect.html",
1677         "dom/security/test/general/test_same_site_cookies_subrequest.html",
1678         "dom/security/test/general/test_same_site_cookies_toplevel_nav.html",
1679         "dom/security/test/general/test_same_site_cookies_toplevel_set_cookie.html",
1680         "dom/security/test/https-first/browser_download_attribute.js",
1681         "dom/security/test/https-first/browser_httpsfirst.js",
1682         "dom/security/test/https-first/browser_httpsfirst_console_logging.js",
1683         "dom/security/test/https-first/browser_httpsfirst_speculative_connect.js",
1684         "dom/security/test/https-first/browser_mixed_content_console.js",
1685         "dom/security/test/https-first/browser_mixed_content_download.js",
1686         "dom/security/test/https-first/browser_navigation.js",
1687         "dom/security/test/https-first/browser_slow_download.js",
1688         "dom/security/test/https-first/browser_upgrade_onion.js",
1689         "dom/security/test/https-first/download_page.html",
1690         "dom/security/test/https-first/file_multiple_redirection.sjs",
1691         "dom/security/test/https-first/file_redirect.sjs",
1692         "dom/security/test/https-first/test_bad_cert.html",
1693         "dom/security/test/https-first/test_form_submission.html",
1694         "dom/security/test/https-first/test_fragment.html",
1695         "dom/security/test/https-first/test_multiple_redirection.html",
1696         "dom/security/test/https-first/test_referrer_policy.html",
1697         "dom/security/test/https-first/test_resource_upgrade.html",
1698         "dom/security/test/https-first/test_toplevel_cookies.html",
1699         "dom/security/test/https-only/browser_background_redirect.js",
1700         "dom/security/test/https-only/browser_console_logging.js",
1701         "dom/security/test/https-only/browser_hsts_host.js",
1702         "dom/security/test/https-only/browser_httpsonly_prefs.js",
1703         "dom/security/test/https-only/browser_httpsonly_speculative_connect.js",
1704         "dom/security/test/https-only/browser_iframe_test.js",
1705         "dom/security/test/https-only/browser_triggering_principal_exemption.js",
1706         "dom/security/test/https-only/browser_upgrade_exceptions.js",
1707         "dom/security/test/https-only/browser_user_gesture.js",
1708         "dom/security/test/https-only/file_redirect.sjs",
1709         "dom/security/test/https-only/test_fragment.html",
1710         "dom/security/test/https-only/test_http_background_auth_request.html",
1711         "dom/security/test/https-only/test_http_background_request.html",
1712         "dom/security/test/https-only/test_resource_upgrade.html",
1713         "dom/security/test/https-only/test_user_suggestion_box.html",
1714         "dom/security/test/mixedcontentblocker/browser_test_mixed_content_download.js",
1715         "dom/security/test/mixedcontentblocker/download_page.html",
1716         "dom/security/test/mixedcontentblocker/file_auth_download_page.html",
1717         "dom/security/test/mixedcontentblocker/file_frameNavigation.html",
1718         "dom/security/test/mixedcontentblocker/file_frameNavigation_blankTarget.html",
1719         "dom/security/test/mixedcontentblocker/file_frameNavigation_secure_grandchild.html",
1720         "dom/security/test/mixedcontentblocker/file_main.html",
1721         "dom/security/test/mixedcontentblocker/file_main_bug803225.html",
1722         "dom/security/test/mixedcontentblocker/file_redirect_handler.sjs",
1723         "dom/security/test/referrer-policy/browser_referrer_disallow_cross_site_relaxing.js",
1724         "dom/security/test/referrer-policy/img_referrer_testserver.sjs",
1725         "dom/security/test/referrer-policy/referrer_testserver.sjs",
1726         "dom/serviceworkers/test/browser_devtools_serviceworker_interception.js",
1727         "dom/serviceworkers/test/eventsource/eventsource_opaque_response_intercept_worker.js",
1728         "dom/serviceworkers/test/fetch/fetch_tests.js",
1729         "dom/serviceworkers/test/fetch/hsts/image.html",
1730         "dom/serviceworkers/test/fetch/importscript-mixedcontent/https_test.js",
1731         "dom/serviceworkers/test/fetch/origin/index.sjs",
1732         "dom/serviceworkers/test/fetch/requesturl/redirect.sjs",
1733         "dom/serviceworkers/test/fetch_event_worker.js",
1734         "dom/serviceworkers/test/opaque_intercept_worker.js",
1735         "dom/serviceworkers/test/openWindow_worker.js",
1736         "dom/serviceworkers/test/simpleregister/index.html",
1737         "dom/serviceworkers/test/test_hsts_upgrade_intercept.html",
1738         "dom/serviceworkers/test/test_installation_simple.html",
1739         "dom/serviceworkers/test/test_origin_after_redirect.html",
1740         "dom/serviceworkers/test/test_origin_after_redirect_cached.html",
1741         "dom/serviceworkers/test/test_sanitize_domain.html",
1742         "dom/serviceworkers/test/xslt_worker.js",
1743         "dom/streams/test/xpcshell/fetch.js",
1744         "dom/svg/test/test_use_with_hsts.html",
1745         "dom/tests/browser/browser_ConsoleStorageAPITests.js",
1746         "dom/tests/browser/browser_ConsoleStoragePBTest_perwindowpb.js",
1747         "dom/tests/browser/browser_beforeunload_between_chrome_content.js",
1748         "dom/tests/browser/browser_bug1004814.js",
1749         "dom/tests/browser/browser_bug1238427.js",
1750         "dom/tests/browser/browser_bug396843.js",
1751         "dom/tests/browser/browser_bytecode_cache_asm_js.js",
1752         "dom/tests/browser/browser_frame_elements.js",
1753         "dom/tests/browser/browser_hasbeforeunload.js",
1754         "dom/tests/browser/browser_localStorage_e10s.js",
1755         "dom/tests/browser/browser_test_toolbars_visibility.js",
1756         "dom/tests/browser/browser_windowProxy_transplant.js",
1757         "dom/tests/mochitest/beacon/file_beaconSafelist.html",
1758         "dom/tests/mochitest/beacon/test_beaconOriginHeader.html",
1759         "dom/tests/mochitest/beacon/test_beaconPreflightWithCustomContentType.html",
1760         "dom/tests/mochitest/beacon/test_beaconRedirect.html",
1761         "dom/tests/mochitest/beacon/test_beaconWithSafelistedContentType.html",
1762         "dom/tests/mochitest/bugs/grandchild_bug260264.html",
1763         "dom/tests/mochitest/bugs/test_bug132255.html",
1764         "dom/tests/mochitest/bugs/test_bug260264.html",
1765         "dom/tests/mochitest/bugs/test_bug260264_nested.html",
1766         "dom/tests/mochitest/bugs/test_bug304459.html",
1767         "dom/tests/mochitest/bugs/test_bug42976.html",
1768         "dom/tests/mochitest/bugs/test_bug440572.html",
1769         "dom/tests/mochitest/bugs/test_bug850517.html",
1770         "dom/tests/mochitest/bugs/test_bug873229.html",
1771         "dom/tests/mochitest/bugs/window_bug1171215.html",
1772         "dom/tests/mochitest/chrome/test_elements_proto.xhtml",
1773         "dom/tests/mochitest/chrome/test_sandbox_eventhandler.xhtml",
1774         "dom/tests/mochitest/dom-level0/test_background_loading_iframes.html",
1775         "dom/tests/mochitest/dom-level0/test_location.html",
1776         "dom/tests/mochitest/dom-level0/test_location_setters.html",
1777         "dom/tests/mochitest/dom-level0/test_setting_document.domain_idn.html",
1778         "dom/tests/mochitest/fetch/test_request.js",
1779         "dom/tests/mochitest/fetch/test_response.js",
1780         "dom/tests/mochitest/general/resource_timing_cross_origin.html",
1781         "dom/tests/mochitest/general/test_frameElementWrapping.html",
1782         "dom/tests/mochitest/general/test_network_events.html",
1783         "dom/tests/mochitest/general/window_clipboard_events.html",
1784         "dom/tests/mochitest/localstorage/test_keySync.html",
1785         "dom/tests/mochitest/localstorage/test_localStorageFromChrome.xhtml",
1786         "dom/tests/mochitest/localstorage/test_localStorageOriginsDiff.html",
1787         "dom/tests/mochitest/localstorage/test_localStorageOriginsDomainDiffs.html",
1788         "dom/tests/mochitest/localstorage/test_localStorageOriginsEquals.html",
1789         "dom/tests/mochitest/localstorage/test_localStorageOriginsPortDiffs.html",
1790         "dom/tests/mochitest/localstorage/test_localStorageOriginsSchemaDiffs.html",
1791         "dom/tests/mochitest/localstorage/test_localStorageQuota.html",
1792         "dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html",
1793         "dom/tests/mochitest/localstorage/test_localStorageQuotaSessionOnly.html",
1794         "dom/tests/mochitest/localstorage/test_localStorageQuotaSessionOnly2.html",
1795         "dom/tests/mochitest/localstorage/test_localStorageReplace.html",
1796         "dom/tests/mochitest/sessionstorage/test_sessionStorageHttpHttps.html",
1797         "dom/tests/mochitest/sessionstorage/test_sessionStorageReplace.html",
1798         "dom/tests/mochitest/storageevent/frameLocalStorageSlaveEqual.html",
1799         "dom/tests/mochitest/storageevent/frameSessionStorageMasterNotEqual.html",
1800         "dom/tests/mochitest/storageevent/frameSessionStorageSlaveEqual.html",
1801         "dom/tests/mochitest/storageevent/test_storageLocalStorageEventCheckNoPropagation.html",
1802         "dom/tests/mochitest/storageevent/test_storageLocalStorageEventCheckPropagation.html",
1803         "dom/tests/mochitest/storageevent/test_storageSessionStorageEventCheckNoPropagation.html",
1804         "dom/tests/mochitest/storageevent/test_storageSessionStorageEventCheckPropagation.html",
1805         "dom/tests/mochitest/webcomponents/test_custom_element_htmlconstructor_chrome.html",
1806         "dom/tests/mochitest/webcomponents/test_custom_element_namespace.html",
1807         "dom/tests/mochitest/webcomponents/test_custom_element_namespace.xhtml",
1808         "dom/tests/mochitest/webcomponents/test_custom_element_upgrade_chrome.html",
1809         "dom/tests/mochitest/webcomponents/test_shadowroot_inert_element.html",
1810         "dom/tests/mochitest/webcomponents/test_xul_custom_element.xhtml",
1811         "dom/tests/mochitest/webcomponents/test_xul_shadowdom_accesskey.xhtml",
1812         "dom/tests/mochitest/whatwg/postMessage_joined_helper.html",
1813         "dom/tests/mochitest/whatwg/postMessage_joined_helper2.html",
1814         "dom/tests/mochitest/whatwg/postMessage_onOther.html",
1815         "dom/tests/mochitest/whatwg/test_MessageEvent.html",
1816         "dom/tests/mochitest/whatwg/test_MessageEvent_dispatchToOther.html",
1817         "dom/tests/mochitest/whatwg/test_bug500328.html",
1818         "dom/tests/mochitest/whatwg/test_postMessage.html",
1819         "dom/tests/mochitest/whatwg/test_postMessage_chrome.html",
1820         "dom/tests/mochitest/whatwg/test_postMessage_idn.xhtml",
1821         "dom/tests/mochitest/whatwg/test_postMessage_joined.html",
1822         "dom/tests/mochitest/whatwg/test_postMessage_onOther.html",
1823         "dom/tests/mochitest/whatwg/test_postMessage_origin.xhtml",
1824         "dom/tests/mochitest/whatwg/test_postMessage_override.html",
1825         "dom/tests/mochitest/whatwg/test_postMessage_structured_clone.html",
1826         "dom/tests/mochitest/whatwg/test_postMessage_throw.html",
1827         "dom/tests/mochitest/whatwg/test_postMessage_transfer.html",
1828         "dom/tests/mochitest/whatwg/test_postMessage_userpass.html",
1829         "dom/u2f/tests/frame_appid_facet.html",
1830         "dom/u2f/tests/frame_appid_facet_insecure.html",
1831         "dom/u2f/tests/frame_appid_facet_subdomain.html",
1832         "dom/url/tests/browser_download_after_revoke.js",
1833         "dom/url/tests/protocol_worker.js",
1834         "dom/url/tests/test_unknown_url_origin.html",
1835         "dom/url/tests/test_url.html",
1836         "dom/url/tests/test_urlExceptions.html",
1837         "dom/url/tests/test_url_data.html",
1838         "dom/url/tests/test_url_empty_port.html",
1839         "dom/url/tests/test_url_malformedHost.html",
1840         "dom/url/tests/test_urlutils_stringify.html",
1841         "dom/url/tests/urlApi_worker.js",
1842         "dom/url/tests/urlSearchParams_commons.js",
1843         "dom/url/tests/url_exceptions_worker.js",
1844         "dom/websocket/tests/test_websocket_mixed_content_opener.html",
1845         "dom/websocket/tests/window_websocket_wss.html",
1846         "dom/workers/test/browser_fileURL.js",
1847         "dom/workers/test/bug1063538_worker.js",
1848         "dom/workers/test/importForeignScripts_worker.js",
1849         "dom/workers/test/importScripts_worker.js",
1850         "dom/workers/test/redirect_to_foreign.sjs",
1851         "dom/workers/test/referrer_test_server.sjs",
1852         "dom/workers/test/sharedWorker_thirdparty_window.html",
1853         "dom/workers/test/test_multi_sharedWorker.html",
1854         "dom/workers/test/test_multi_sharedWorker_lifetimes_bfcache.html",
1855         "dom/workers/test/test_multi_sharedWorker_lifetimes_nobfcache.html",
1856         "dom/workers/test/test_subworkers_suspended.html",
1857         "dom/workers/test/test_suspend.html",
1858         "dom/xhr/tests/file_XHRResponseURL.js",
1859         "dom/xhr/tests/file_XHRSendData.sjs",
1860         "dom/xhr/tests/test_XHRDocURI.html",
1861         "dom/xhr/tests/test_XHR_anon.html",
1862         "dom/xhr/tests/test_XHR_system.html",
1863         "dom/xhr/tests/test_bug1070763.html",
1864         "dom/xhr/tests/test_worker_xhr_headers.html",
1865         "dom/xhr/tests/test_worker_xhr_system.js",
1866         "dom/xhr/tests/test_xhr_forbidden_headers.html",
1867         "dom/xslt/tests/mochitest/test_bug440974.html",
1868         "editor/libeditor/tests/browser_bug527935.js",
1869         "editor/libeditor/tests/test_bug1181130-2.html",
1870         "editor/libeditor/tests/test_bug372345.html",
1871         "extensions/permissions/test/browser_permmgr_sync.js",
1872         "gfx/layers/apz/test/mochitest/browser_test_select_popup_position.js",
1873         "gfx/layers/apz/test/mochitest/helper_wheelevents_handoff_on_non_scrollable_iframe.html",
1874         "image/test/browser/head.js",
1875         "image/test/mochitest/test_animated_gif.html",
1876         "image/test/mochitest/test_bug671906.html",
1877         "layout/base/tests/browser_disableDialogs_onbeforeunload.js",
1878         "layout/base/tests/browser_lazyload_page_load_telemetry_iframe.js",
1879         "layout/base/tests/browser_lazyload_telemetry.js",
1880         "layout/base/tests/browser_onbeforeunload_only_after_interaction.js",
1881         "layout/base/tests/browser_onbeforeunload_only_after_interaction_in_frame.js",
1882         "layout/forms/test/test_bug536567_perwindowpb.html",
1883         "layout/generic/test/frame_visibility_in_iframe.html",
1884         "layout/generic/test/test_movement_by_words.html",
1885         "layout/style/test/browser_sourcemap.js",
1886         "layout/style/test/test_bug397427.html",
1887         "layout/style/test/test_load_events_on_stylesheets.html",
1888         "layout/style/test/test_root_node_display.html",
1889         "layout/style/test/test_selectors.html",
1890         "layout/svg/tests/file_context_fill_fallback_red.html",
1891         "layout/svg/tests/test_embed_sizing.html",
1892         "layout/xul/test/test_bug386386.html",
1893         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_create.html",
1894         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_events.html",
1895         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_executeScript.html",
1896         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_executeScript_bad.html",
1897         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_query.html",
1898         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_sendMessage.html",
1899         "mobile/android/components/extensions/test/mochitest/test_ext_tabs_update_url.html",
1900         "netwerk/cookie/test/browser/browser_cookies_ipv6.js",
1901         "netwerk/cookie/test/browser/browser_originattributes.js",
1902         "netwerk/cookie/test/browser/browser_oversize.js",
1903         "netwerk/cookie/test/browser/browser_sameSiteConsole.js",
1904         "netwerk/test/browser/browser_103_assets.js",
1905         "netwerk/test/browser/browser_103_preload.js",
1906         "netwerk/test/browser/browser_cookie_filtering_subdomain.js",
1907         "netwerk/test/browser/browser_test_favicon.js",
1908         "netwerk/test/httpserver/httpd.js",
1909         "netwerk/test/mochitests/file_loadinfo_redirectchain.sjs",
1910         "netwerk/test/mochitests/file_testloadflags_chromescript.js",
1911         "netwerk/test/mochitests/test_1396395.html",
1912         "netwerk/test/mochitests/test_loadinfo_redirectchain.html",
1913         "netwerk/test/mochitests/test_uri_scheme.html",
1914         "netwerk/test/unit/trr_common.js",
1915         "remote/cdp/test/browser/browser_httpd.js",
1916         "remote/cdp/test/browser/head.js",
1917         "remote/cdp/test/browser/network/browser_deleteCookies.js",
1918         "remote/cdp/test/browser/network/browser_getAllCookies.js",
1919         "remote/cdp/test/browser/network/browser_getCookies.js",
1920         "remote/cdp/test/browser/network/browser_navigationEvents.js",
1921         "remote/cdp/test/browser/network/browser_setCookie.js",
1922         "remote/shared/messagehandler/test/browser/browser_session_data.js",
1923         "security/manager/ssl/tests/mochitest/browser/some_content_framed.html",
1924         "security/manager/ssl/tests/mochitest/mixedcontent/iframeunsecredirect.sjs",
1925         "security/manager/ssl/tests/mochitest/mixedcontent/imgunsecredirect.sjs",
1926         "security/manager/ssl/tests/mochitest/mixedcontent/redirecttoemptyimage.sjs",
1927         "security/manager/ssl/tests/mochitest/mixedcontent/test_bug329869.html",
1928         "security/manager/ssl/tests/mochitest/mixedcontent/test_dynDelayedUnsecurePicture.html",
1929         "security/manager/ssl/tests/mochitest/mixedcontent/test_dynDelayedUnsecureXHR.html",
1930         "security/manager/ssl/tests/mochitest/mixedcontent/test_dynUnsecureBackground.html",
1931         "security/manager/ssl/tests/mochitest/mixedcontent/test_dynUnsecurePicture.html",
1932         "security/manager/ssl/tests/mochitest/mixedcontent/test_dynUnsecurePicturePreload.html",
1933         "security/sandbox/test/browser_bug1393259.js",
1934         "testing/mochitest/chrome/test_sanityEventUtils.xhtml",
1935         "testing/mochitest/server.js",
1936         "testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension.html",
1937         "testing/mochitest/tests/SimpleTest/TestRunner.js",
1938         "testing/mozbase/mozprofile/tests/files/prefs_with_interpolation.js",
1939         "testing/raptor/webext/raptor/runner.js",
1940         "testing/talos/talos/tests/cpstartup/extension/api.js",
1941         "testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js",
1942         "testing/talos/talos/tests/devtools/addon/content/tests/head.js",
1943         "testing/talos/talos/tests/tabswitch/api.js",
1944         "testing/talos/talos/webextensions/dummy/background.js",
1945         "testing/xpcshell/moz-http2/moz-http2.js",
1946         "toolkit/components/aboutprocesses/tests/browser/head.js",
1947         "toolkit/components/alerts/test/browser_bug1682866.js",
1948         "toolkit/components/antitracking/test/browser/browser_contentBlockingAllowListPrincipal.js",
1949         "toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js",
1950         "toolkit/components/antitracking/test/browser/browser_permissionInNormalWindows.js",
1951         "toolkit/components/antitracking/test/browser/browser_permissionInNormalWindows_alwaysPartition.js",
1952         "toolkit/components/antitracking/test/browser/browser_socialtracking_save_image.js",
1953         "toolkit/components/antitracking/test/browser/browser_staticPartition_CORS_preflight.js",
1954         "toolkit/components/antitracking/test/browser/browser_staticPartition_HSTS.js",
1955         "toolkit/components/antitracking/test/browser/browser_staticPartition_cache.js",
1956         "toolkit/components/antitracking/test/browser/browser_staticPartition_websocket.js",
1957         "toolkit/components/antitracking/test/browser/browser_storageAccessPrivilegeAPI.js",
1958         "toolkit/components/antitracking/test/browser/browser_storageAccessSandboxed.js",
1959         "toolkit/components/antitracking/test/browser/browser_storageAccessSandboxed_alwaysPartition.js",
1960         "toolkit/components/antitracking/test/browser/browser_storageAccessThirdPartyChecks.js",
1961         "toolkit/components/antitracking/test/browser/browser_storageAccessThirdPartyChecks_alwaysPartition.js",
1962         "toolkit/components/antitracking/test/browser/browser_storageAccess_TopLevel_Embed.js",
1963         "toolkit/components/antitracking/test/browser/browser_thirdPartyStorageRejectionForCORS.js",
1964         "toolkit/components/antitracking/test/browser/browser_urlQueryStringStripping.js",
1965         "toolkit/components/antitracking/test/browser/cookiesCORS.sjs",
1966         "toolkit/components/antitracking/test/browser/head.js",
1967         "toolkit/components/antitracking/test/browser/storageAccessAPIHelpers.js",
1968         "toolkit/components/certviewer/tests/browser/adjustedCerts.js",
1969         "toolkit/components/certviewer/tests/chrome/CSoutput.mjs",
1970         "toolkit/components/certviewer/tests/chrome/parseOutput.mjs",
1971         "toolkit/components/cleardata/tests/browser/browser_css_cache.js",
1972         "toolkit/components/cleardata/tests/browser/browser_image_cache.js",
1973         "toolkit/components/cleardata/tests/browser/browser_preflight_cache.js",
1974         "toolkit/components/cleardata/tests/browser/browser_quota.js",
1975         "toolkit/components/cleardata/tests/browser/browser_sessionStorage.js",
1976         "toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice.js",
1977         "toolkit/components/downloads/test/unit/common_test_Download.js",
1978         "toolkit/components/extensions/test/browser/browser_ext_downloads_filters.js",
1979         "toolkit/components/extensions/test/browser/browser_ext_extension_page_tab_navigated.js",
1980         "toolkit/components/extensions/test/browser/browser_ext_themes_autocomplete_popup.js",
1981         "toolkit/components/extensions/test/browser/browser_ext_thumbnails_bg_extension.js",
1982         "toolkit/components/extensions/test/mochitest/file_third_party.html",
1983         "toolkit/components/extensions/test/mochitest/test_chrome_ext_permissions.html",
1984         "toolkit/components/extensions/test/mochitest/test_chrome_ext_trackingprotection.html",
1985         "toolkit/components/extensions/test/mochitest/test_chrome_ext_webrequest_host_permissions.html",
1986         "toolkit/components/extensions/test/mochitest/test_ext_contentscript_activeTab.html",
1987         "toolkit/components/extensions/test/mochitest/test_ext_cookies.html",
1988         "toolkit/components/extensions/test/mochitest/test_ext_cookies_containers.html",
1989         "toolkit/components/extensions/test/mochitest/test_ext_cookies_expiry.html",
1990         "toolkit/components/extensions/test/mochitest/test_ext_cookies_first_party.html",
1991         "toolkit/components/extensions/test/mochitest/test_ext_cookies_incognito.html",
1992         "toolkit/components/extensions/test/mochitest/test_ext_cookies_permissions_bad.html",
1993         "toolkit/components/extensions/test/mochitest/test_ext_cookies_permissions_good.html",
1994         "toolkit/components/extensions/test/mochitest/test_ext_embeddedimg_iframe_frameAncestors.html",
1995         "toolkit/components/extensions/test/mochitest/test_ext_optional_permissions.html",
1996         "toolkit/components/extensions/test/mochitest/test_ext_protocolHandlers.html",
1997         "toolkit/components/extensions/test/mochitest/test_ext_request_urlClassification.html",
1998         "toolkit/components/extensions/test/mochitest/test_ext_runtime_disconnect.html",
1999         "toolkit/components/extensions/test/mochitest/test_ext_storage_manager_capabilities.html",
2000         "toolkit/components/extensions/test/mochitest/test_ext_streamfilter_multiple.html",
2001         "toolkit/components/extensions/test/mochitest/test_ext_streamfilter_processswitch.html",
2002         "toolkit/components/extensions/test/mochitest/test_ext_tabs_executeScript_good.html",
2003         "toolkit/components/extensions/test/mochitest/test_ext_tabs_query_popup.html",
2004         "toolkit/components/extensions/test/mochitest/test_ext_tabs_sendMessage.html",
2005         "toolkit/components/extensions/test/mochitest/test_ext_web_accessible_incognito.html",
2006         "toolkit/components/extensions/test/mochitest/test_ext_web_accessible_resources.html",
2007         "toolkit/components/extensions/test/mochitest/test_ext_webrequest_and_proxy_filter.html",
2008         "toolkit/components/extensions/test/mochitest/test_ext_webrequest_hsts.html",
2009         "toolkit/components/extensions/test/xpcshell/data/file_permission_xhr.html",
2010         "toolkit/components/extensions/test/xpcshell/data/file_script_xhr.js",
2011         "toolkit/components/glean/tests/browser/browser_fog_rdd.js",
2012         "toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js",
2013         "toolkit/components/httpsonlyerror/tests/browser/browser_errorpage_timeout.js",
2014         "toolkit/components/httpsonlyerror/tests/browser/browser_errorpage_www_suggestion.js",
2015         "toolkit/components/httpsonlyerror/tests/browser/browser_exception.js",
2016         "toolkit/components/narrate/test/head.js",
2017         "toolkit/components/normandy/test/browser/browser_RecipeRunner.js",
2018         "toolkit/components/normandy/test/browser/browser_actions_ShowHeartbeatAction.js",
2019         "toolkit/components/normandy/test/browser/head.js",
2020         "toolkit/components/passwordmgr/test/browser/browser_autofill_http.js",
2021         "toolkit/components/passwordmgr/test/browser/browser_context_menu.js",
2022         "toolkit/components/passwordmgr/test/browser/browser_context_menu_iframe.js",
2023         "toolkit/components/passwordmgr/test/browser/browser_doorhanger_httpsUpgrade.js",
2024         "toolkit/components/passwordmgr/test/browser/browser_doorhanger_remembering.js",
2025         "toolkit/components/passwordmgr/test/browser/browser_localip_frame.js",
2026         "toolkit/components/passwordmgr/test/browser/head.js",
2027         "toolkit/components/passwordmgr/test/mochitest/test_autocomplete_basic_form_insecure.html",
2028         "toolkit/components/passwordmgr/test/mochitest/test_autocomplete_basic_form_subdomain.html",
2029         "toolkit/components/passwordmgr/test/mochitest/test_autocomplete_highlight_non_login.html",
2030         "toolkit/components/passwordmgr/test/mochitest/test_autocomplete_https_upgrade.html",
2031         "toolkit/components/passwordmgr/test/mochitest/test_autofill_different_formActionOrigin.html",
2032         "toolkit/components/passwordmgr/test/mochitest/test_autofill_https_upgrade.html",
2033         "toolkit/components/passwordmgr/test/mochitest/test_autofill_password-only.html",
2034         "toolkit/components/passwordmgr/test/mochitest/test_basic_form_html5.html",
2035         "toolkit/components/passwordmgr/test/mochitest/test_bug_627616.html",
2036         "toolkit/components/passwordmgr/test/mochitest/test_formless_submit_form_removal.html",
2037         "toolkit/components/passwordmgr/test/mochitest/test_formless_submit_form_removal_negative.html",
2038         "toolkit/components/passwordmgr/test/mochitest/test_formless_submit_navigation.html",
2039         "toolkit/components/passwordmgr/test/mochitest/test_formless_submit_navigation_negative.html",
2040         "toolkit/components/passwordmgr/test/mochitest/test_password_field_autocomplete.html",
2041         "toolkit/components/passwordmgr/test/mochitest/test_prompt.html",
2042         "toolkit/components/passwordmgr/test/mochitest/test_prompt_async.html",
2043         "toolkit/components/passwordmgr/test/mochitest/test_prompt_http.html",
2044         "toolkit/components/passwordmgr/test/mochitest/test_prompt_promptAuth.html",
2045         "toolkit/components/passwordmgr/test/mochitest/test_prompt_promptAuth_proxy.html",
2046         "toolkit/components/passwordmgr/test/mochitest/test_username_focus.html",
2047         "toolkit/components/pdfjs/test/browser_pdfjs_download_button.js",
2048         "toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js",
2049         "toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js",
2050         "toolkit/components/pdfjs/test/browser_pdfjs_fill_login.js",
2051         "toolkit/components/pdfjs/test/browser_pdfjs_form.js",
2052         "toolkit/components/pdfjs/test/browser_pdfjs_hcm.js",
2053         "toolkit/components/pdfjs/test/browser_pdfjs_js.js",
2054         "toolkit/components/pdfjs/test/browser_pdfjs_main.js",
2055         "toolkit/components/pdfjs/test/browser_pdfjs_navigation.js",
2056         "toolkit/components/pdfjs/test/browser_pdfjs_saveas.js",
2057         "toolkit/components/pdfjs/test/browser_pdfjs_savedialog.js",
2058         "toolkit/components/pdfjs/test/browser_pdfjs_views.js",
2059         "toolkit/components/pdfjs/test/browser_pdfjs_zoom.js",
2060         "toolkit/components/pictureinpicture/tests/head.js",
2061         "toolkit/components/places/tests/browser/browser_bug1601563.js",
2062         "toolkit/components/places/tests/browser/browser_bug399606.js",
2063         "toolkit/components/places/tests/browser/browser_bug461710.js",
2064         "toolkit/components/places/tests/browser/browser_bug646422.js",
2065         "toolkit/components/places/tests/browser/browser_double_redirect.js",
2066         "toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js",
2067         "toolkit/components/places/tests/browser/browser_history_post.js",
2068         "toolkit/components/places/tests/browser/browser_multi_redirect_frecency.js",
2069         "toolkit/components/places/tests/browser/browser_onvisit_title_null_for_navigation.js",
2070         "toolkit/components/places/tests/browser/browser_settitle.js",
2071         "toolkit/components/places/tests/browser/browser_visituri.js",
2072         "toolkit/components/places/tests/browser/browser_visituri_nohistory.js",
2073         "toolkit/components/places/tests/browser/browser_visituri_privatebrowsing_perwindowpb.js",
2074         "toolkit/components/places/tests/browser/redirect_once.sjs",
2075         "toolkit/components/places/tests/chrome/test_371798.xhtml",
2076         "toolkit/components/printing/tests/head.js",
2077         "toolkit/components/processtools/tests/browser/browser_test_powerMetrics.js",
2078         "toolkit/components/processtools/tests/browser/browser_test_procinfo.js",
2079         "toolkit/components/prompts/test/test_modal_prompts.html",
2080         "toolkit/components/prompts/test/test_subresources_prompts.html",
2081         "toolkit/components/reader/tests/browser/browser_bug1453818_samesite_cookie.js",
2082         "toolkit/components/reader/tests/browser/browser_drag_url_readerMode.js",
2083         "toolkit/components/reader/tests/browser/browser_readerMode_bc_reuse.js",
2084         "toolkit/components/reader/tests/browser/browser_readerMode_colorSchemePref.js",
2085         "toolkit/components/reader/tests/browser/browser_readerMode_hidden_nodes.js",
2086         "toolkit/components/reader/tests/browser/browser_readerMode_menu.js",
2087         "toolkit/components/reader/tests/browser/browser_readerMode_pocket.js",
2088         "toolkit/components/reader/tests/browser/browser_readerMode_readingTime.js",
2089         "toolkit/components/reader/tests/browser/browser_readerMode_refresh.js",
2090         "toolkit/components/reader/tests/browser/browser_readerMode_remoteType.js",
2091         "toolkit/components/reader/tests/browser/browser_readerMode_samesite_cookie_redirect.js",
2092         "toolkit/components/reader/tests/browser/browser_readerMode_with_anchor.js",
2093         "toolkit/components/resistfingerprinting/tests/test_spoof_english.html",
2094         "toolkit/components/satchel/test/browser/browser_privbrowsing_perwindowpb.js",
2095         "toolkit/components/startup/tests/browser/browser_bug511456.js",
2096         "toolkit/components/startup/tests/browser/browser_bug537449.js",
2097         "toolkit/components/thumbnails/test/browser_thumbnails_bg_basic.js",
2098         "toolkit/components/thumbnails/test/browser_thumbnails_bg_topsites.js",
2099         "toolkit/components/url-classifier/tests/mochitest/allowlistAnnotatedFrame.html",
2100         "toolkit/components/url-classifier/tests/mochitest/classifiedAnnotatedFrame.html",
2101         "toolkit/components/url-classifier/tests/mochitest/features.js",
2102         "toolkit/components/url-classifier/tests/mochitest/redirect_tracker.sjs",
2103         "toolkit/components/url-classifier/tests/mochitest/test_classifier.html",
2104         "toolkit/components/url-classifier/tests/mochitest/test_classifier_match.html",
2105         "toolkit/components/url-classifier/tests/mochitest/test_classifier_worker.html",
2106         "toolkit/components/url-classifier/tests/mochitest/test_classify_ping.html",
2107         "toolkit/components/url-classifier/tests/mochitest/test_classify_track.html",
2108         "toolkit/components/url-classifier/tests/mochitest/test_cryptomining.html",
2109         "toolkit/components/url-classifier/tests/mochitest/test_emailtracking.html",
2110         "toolkit/components/url-classifier/tests/mochitest/test_fingerprinting.html",
2111         "toolkit/components/url-classifier/tests/mochitest/test_reporturl.html",
2112         "toolkit/components/url-classifier/tests/mochitest/test_socialtracking.html",
2113         "toolkit/components/url-classifier/tests/mochitest/test_threathit_report.html",
2114         "toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_bug1312515.html",
2115         "toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_bug1580416.html",
2116         "toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_whitelist.html",
2117         "toolkit/components/viewsource/test/browser/browser_contextmenu.js",
2118         "toolkit/components/viewsource/test/browser/browser_open_docgroup.js",
2119         "toolkit/components/viewsource/test/browser/browser_validatefilename.js",
2120         "toolkit/components/windowcreator/test/browser_save_form_input_state.js",
2121         "toolkit/content/tests/browser/browser_crash_previous_frameloader.js",
2122         "toolkit/content/tests/browser/browser_isSynthetic.js",
2123         "toolkit/content/tests/browser/head.js",
2124         "toolkit/content/tests/chrome/findbar_window.xhtml",
2125         "toolkit/content/tests/chrome/window_browser_drop.xhtml",
2126         "toolkit/modules/tests/browser/browser_AsyncPrefs.js",
2127         "toolkit/modules/tests/browser/browser_BrowserUtils.js",
2128         "toolkit/modules/tests/browser/browser_web_channel.js",
2129         "toolkit/modules/tests/browser/file_web_channel_iframe.html",
2130         "toolkit/modules/tests/chrome/test_bug544442_checkCert.xhtml",
2131         "toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js",
2132         "toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_policy.js",
2133         "toolkit/mozapps/extensions/test/browser/browser_disco_taar_telemetry.js",
2134         "toolkit/mozapps/extensions/test/browser/browser_file_xpi_no_process_switch.js",
2135         "toolkit/mozapps/extensions/test/browser/browser_history_navigation.js",
2136         "toolkit/mozapps/extensions/test/browser/browser_html_abuse_report_dialog.js",
2137         "toolkit/mozapps/extensions/test/browser/browser_html_detail_view.js",
2138         "toolkit/mozapps/extensions/test/browser/browser_html_discover_view.js",
2139         "toolkit/mozapps/extensions/test/browser/browser_html_recent_updates.js",
2140         "toolkit/mozapps/extensions/test/browser/browser_html_recommendations.js",
2141         "toolkit/mozapps/extensions/test/browser/browser_html_updates.js",
2142         "toolkit/mozapps/extensions/test/browser/browser_installssl.js",
2143         "toolkit/mozapps/extensions/test/browser/browser_updatessl.js",
2144         "toolkit/mozapps/extensions/test/browser/browser_webapi_abuse_report.js",
2145         "toolkit/mozapps/extensions/test/browser/head.js",
2146         "toolkit/mozapps/extensions/test/browser/head_abuse_report.js",
2147         "toolkit/mozapps/extensions/test/browser/head_disco.js",
2148         "toolkit/mozapps/extensions/test/browser/webapi_checknavigatedwindow.html",
2149         "toolkit/mozapps/extensions/test/xpinstall/browser_amosigned_trigger.js",
2150         "toolkit/mozapps/extensions/test/xpinstall/browser_amosigned_trigger_iframe.js",
2151         "toolkit/mozapps/extensions/test/xpinstall/browser_auth.js",
2152         "toolkit/mozapps/extensions/test/xpinstall/browser_auth2.js",
2153         "toolkit/mozapps/extensions/test/xpinstall/browser_auth3.js",
2154         "toolkit/mozapps/extensions/test/xpinstall/browser_auth4.js",
2155         "toolkit/mozapps/extensions/test/xpinstall/browser_badhash.js",
2156         "toolkit/mozapps/extensions/test/xpinstall/browser_badhashtype.js",
2157         "toolkit/mozapps/extensions/test/xpinstall/browser_block_fullscreen_prompt.js",
2158         "toolkit/mozapps/extensions/test/xpinstall/browser_bug540558.js",
2159         "toolkit/mozapps/extensions/test/xpinstall/browser_bug645699.js",
2160         "toolkit/mozapps/extensions/test/xpinstall/browser_bug645699_postDownload.js",
2161         "toolkit/mozapps/extensions/test/xpinstall/browser_bug672485.js",
2162         "toolkit/mozapps/extensions/test/xpinstall/browser_containers.js",
2163         "toolkit/mozapps/extensions/test/xpinstall/browser_cookies.js",
2164         "toolkit/mozapps/extensions/test/xpinstall/browser_cookies2.js",
2165         "toolkit/mozapps/extensions/test/xpinstall/browser_cookies3.js",
2166         "toolkit/mozapps/extensions/test/xpinstall/browser_cookies4.js",
2167         "toolkit/mozapps/extensions/test/xpinstall/browser_corrupt.js",
2168         "toolkit/mozapps/extensions/test/xpinstall/browser_datauri.js",
2169         "toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js",
2170         "toolkit/mozapps/extensions/test/xpinstall/browser_empty.js",
2171         "toolkit/mozapps/extensions/test/xpinstall/browser_hash.js",
2172         "toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js",
2173         "toolkit/mozapps/extensions/test/xpinstall/browser_httphash.js",
2174         "toolkit/mozapps/extensions/test/xpinstall/browser_httphash2.js",
2175         "toolkit/mozapps/extensions/test/xpinstall/browser_httphash3.js",
2176         "toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js",
2177         "toolkit/mozapps/extensions/test/xpinstall/browser_httphash5.js",
2178         "toolkit/mozapps/extensions/test/xpinstall/browser_httphash6.js",
2179         "toolkit/mozapps/extensions/test/xpinstall/browser_installchrome.js",
2180         "toolkit/mozapps/extensions/test/xpinstall/browser_newwindow.js",
2181         "toolkit/mozapps/extensions/test/xpinstall/browser_offline.js",
2182         "toolkit/mozapps/extensions/test/xpinstall/browser_privatebrowsing.js",
2183         "toolkit/mozapps/extensions/test/xpinstall/browser_relative.js",
2184         "toolkit/mozapps/extensions/test/xpinstall/browser_softwareupdate.js",
2185         "toolkit/mozapps/extensions/test/xpinstall/browser_trigger_redirect.js",
2186         "toolkit/mozapps/extensions/test/xpinstall/browser_unsigned_trigger.js",
2187         "toolkit/mozapps/extensions/test/xpinstall/browser_unsigned_trigger_iframe.js",
2188         "toolkit/mozapps/extensions/test/xpinstall/browser_unsigned_trigger_xorigin.js",
2189         "toolkit/mozapps/extensions/test/xpinstall/bug645699.html",
2190         "toolkit/mozapps/extensions/test/xpinstall/head.js",
2191         "toolkit/mozapps/update/tests/data/sharedUpdateXML.js",
2192         "toolkit/mozapps/update/tests/data/xpcshellUtilsAUS.js",
2193         "toolkit/mozapps/update/tests/unit_aus_update/remoteUpdateXML.js",
2194         "toolkit/mozapps/update/tests/unit_aus_update/updateManagerXML.js",
2195         "tools/profiler/tests/browser/head.js",
2196         "uriloader/exthandler/tests/mochitest/browser_download_idn_blocklist.js",
2197         "uriloader/exthandler/tests/mochitest/head.js",
2198         "widget/tests/native_menus_window.xhtml",
2199         "widget/tests/standalone_native_menu_window.xhtml",
2200         "widget/tests/test_bug596600.xhtml",
2201         "widget/tests/test_sizemode_events.xhtml",
2202         "xpfe/appshell/test/test_windowlessBrowser.xhtml",
2203       ],
2204       rules: {
2205         "@microsoft/sdl/no-insecure-url": "off",
2206       },
2207     },
2208     {
2209       files: ["**"],
2210       excludedFiles: [
2211         // Devtools code, see bug 1525652.
2212         "devtools/**",
2213         // Tests specific to JSM
2214         "dom/encoding/test/test_stringencoding.xhtml",
2215         "dom/url/tests/test_bug883784.xhtml",
2216         "dom/url/tests/test_url.xhtml",
2217         "dom/url/tests/test_worker_url.xhtml",
2218         "dom/workers/test/test_chromeWorkerJSM.xhtml",
2219         "js/xpconnect/tests/browser/browser_import_mapped_jsm.js",
2220         "js/xpconnect/tests/chrome/test_chrometoSource.xhtml",
2221         "js/xpconnect/tests/chrome/test_expandosharing.xhtml",
2222         "js/xpconnect/tests/chrome/test_xrayic.xhtml",
2223         // Code that can't be cleaned until we're ready to remove the old loader.
2224         "js/xpconnect/loader/XPCOMUtils.sys.mjs",
2225       ],
2226       rules: {
2227         "mozilla/reject-chromeutils-import": "error",
2228       },
2229     },
2230     {
2231       files: ["toolkit/**"],
2232       excludedFiles: ["toolkit/**/test/**", "toolkit/**/tests/**"],
2233       rules: {
2234         "mozilla/no-browser-refs-in-toolkit": "warn",
2235       },
2236     },
2237   ],