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