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