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