tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 6f28d4acfc772766682375cb6cdb4f8a530e239a
parent d95ba3913f326e4074ef204b5ed4a29d0e24d318
Author: David P. <daparks@mozilla.com>
Date:   Fri, 14 Nov 2025 15:16:44 +0000

Bug 1997477: Add Windows-only nsIWindowsTestDebug to valid-ci-uses linter r=frontend-codestyle-reviewers,Standard8

Also fixes a stale link in docs.

Differential Revision: https://phabricator.services.mozilla.com/D272328

Diffstat:
Mdocs/code-quality/lint/linters/eslint-plugin-mozilla/rules/valid-ci-uses.rst | 2+-
Mtools/lint/eslint/eslint-plugin-mozilla/lib/rules/valid-ci-uses.mjs | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/code-quality/lint/linters/eslint-plugin-mozilla/rules/valid-ci-uses.rst b/docs/code-quality/lint/linters/eslint-plugin-mozilla/rules/valid-ci-uses.rst @@ -14,7 +14,7 @@ this rule manually, use: .. note:: Note that for platform-specific interfaces, you need to manually add the interface in question to - :searchfox:`the rule <tools/lint/eslint/eslint-plugin-mozilla/lib/rules/valid-ci-uses.js>` + :searchfox:`the rule <tools/lint/eslint/eslint-plugin-mozilla/lib/rules/valid-ci-uses.mjs>` (as a build on any given platform cannot find out about interfaces that are not available on that platform). diff --git a/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/valid-ci-uses.mjs b/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/valid-ci-uses.mjs @@ -27,6 +27,7 @@ const platformSpecificInterfaces = new Map([ ["nsIWindowsRegKey", "windows"], ["nsIWindowsPackageManager", "windows"], ["nsIWindowsShellService", "windows"], + ["nsIWindowsTestDebug", "windows"], ["nsIWindowsUIUtils", "windows"], ["nsIAccessibleMacEvent", "darwin"], ["nsIAccessibleMacInterface", "darwin"],