Bug 1853320 [wpt PR 41940] - [FLEDGE] Split up runs of /trusted-scoring-signals.https...
[gecko.git] / tools / lint / rejected-words.yml
blob43afad76ae04646dc98a0a21fa28ee9480f86bb6
1 ---
2 avoid-blacklist-and-whitelist:
3     description: "Use words like 'skip', 'select', 'allow' or 'deny' instead"
4     level: error
5     include: ['.']
6     type: regex
7     payload: (black|white)[-_]?list
8     ignore-case: true
9     # Based on codespell with idl and webidl added.
10     extensions:
11         - js
12         - jsm
13         - mjs
14         - jxs
15         - idl
16         - webidl
17         - xml
18         - html
19         - xhtml
20         - cpp
21         - c
22         - h
23         - configure
24         - py
25         - properties
26         - rst
27         - md
28         - ftl
29         - yml
30         - java
31         - kt
32     exclude:
33         - '**/.eslintrc.js'
34         - browser/app/profile/firefox.js
35         - browser/app/winlauncher/LauncherProcessWin.cpp
36         - browser/base/content/browser.js
37         - browser/base/content/contentTheme.js
38         - browser/base/content/test/general/browser_remoteTroubleshoot.js
39         - browser/base/content/test/general/browser_tab_drag_drop_perwindow.js
40         - browser/base/content/test/performance/browser_preferences_usage.js
41         - browser/base/content/test/protectionsUI/browser_protectionsUI_cryptominers.js
42         - browser/base/content/test/protectionsUI/browser_protectionsUI_fingerprinters.js
43         - browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js
44         - browser/base/content/test/protectionsUI/browser_protectionsUI_report_breakage.js
45         - browser/base/content/test/protectionsUI/browser_protectionsUI_socialtracking.js
46         - browser/base/content/test/protectionsUI/browser_protectionsUI_state.js
47         - browser/base/content/test/protectionsUI/browser_protectionsUI_subview_shim.js
48         - browser/base/content/test/siteIdentity/browser_no_mcb_for_loopback.js
49         - browser/base/content/test/tabMediaIndicator/browser_mute_webAudio.js
50         - browser/base/content/test/tabs/browser_new_file_whitelisted_http_tab.js
51         - browser/components/enterprisepolicies/Policies.sys.mjs
52         - browser/components/migration/ChromeMigrationUtils.sys.mjs
53         - browser/components/migration/ChromeProfileMigrator.sys.mjs
54         - browser/components/newtab/data/content/activity-stream.bundle.js
55         - browser/components/preferences/privacy.inc.xhtml
56         - browser/components/preferences/privacy.js
57         - browser/components/resistfingerprinting/test/mochitest/test_bug1354633_media_error.html
58         - browser/components/safebrowsing/content/test/browser_whitelisted.js
59         - browser/components/sessionstore/test/browser_crashedTabs.js
60         - browser/components/uitour/UITourChild.sys.mjs
61         - browser/components/urlbar/tests/browser/browser_searchSingleWordNotification.js
62         - browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js
63         - browser/components/urlbar/tests/unit/test_providerHeuristicFallback.js
64         - browser/components/urlbar/tests/unit/test_search_suggestions.js
65         - browser/components/urlbar/tests/unit/test_tokenizer.js
66         - browser/extensions/screenshots/background/main.js
67         - browser/extensions/webcompat/shims/nielsen.js
68         - browser/modules/SitePermissions.sys.mjs
69         - browser/tools/mozscreenshots/mozscreenshots/extension/configurations/PermissionPrompts.sys.mjs
70         - build/clang-plugin/CustomMatchers.h
71         - build/clang-plugin/FopenUsageChecker.cpp
72         - build/clang-plugin/NaNExprChecker.cpp
73         - build/clang-plugin/NoPrincipalGetURI.cpp
74         - build/clang-plugin/tests/TestNANTestingExpr.cpp
75         - build/compare-mozconfig/compare-mozconfigs.py
76         - build/moz.configure/bindgen.configure
77         - build/moz.configure/toolchain.configure
78         - config/check_vanilla_allocations.py
79         - devtools/client/debugger/dist/parser-worker.js
80         - devtools/client/debugger/test/mochitest/examples/big-sourcemap_files/bundle.js
81         - devtools/client/debugger/test/mochitest/examples/ember/quickstart/dist/assets/vendor.js
82         - devtools/client/debugger/test/mochitest/examples/react/build/main.js
83         - devtools/client/debugger/test/mochitest/examples/react/build/service-worker.js
84         - devtools/client/inspector/markup/test/lib_babel_6.21.0_min.js
85         - devtools/client/inspector/markup/test/lib_react_dom_15.4.1.js
86         - docshell/base/nsDocShell.cpp
87         - docshell/base/URIFixup.sys.mjs
88         - docshell/test/unit/test_URIFixup_info.js
89         - dom/base/Document.cpp
90         - dom/base/MaybeCrossOriginObject.cpp
91         - dom/base/nsContentUtils.h
92         - dom/base/nsDataDocumentContentPolicy.cpp
93         - dom/base/nsGlobalWindowOuter.cpp
94         - dom/base/nsTreeSanitizer.cpp
95         - dom/base/nsTreeSanitizer.h
96         - dom/base/test/browser_multiple_popups.js
97         - dom/base/test/browser_timeout_throttling_with_audio_playback.js
98         - dom/base/test/chrome/test_permission_hasValidTransientUserActivation.xhtml
99         - dom/bindings/Codegen.py
100         - dom/bindings/parser/WebIDL.py
101         - dom/bindings/RemoteObjectProxy.cpp
102         - dom/events/EventStateManager.cpp
103         - dom/events/KeyboardEvent.cpp
104         - dom/html/MediaError.cpp
105         - dom/indexedDB/ActorsParent.cpp
106         - dom/ipc/ContentParent.cpp
107         - dom/ipc/URLClassifierParent.cpp
108         - dom/media/autoplay/AutoplayPolicy.cpp
109         - dom/media/gmp/GMPChild.cpp
110         - dom/media/MediaManager.cpp
111         - dom/media/mp4/MP4Decoder.cpp
112         - dom/media/platforms/apple/AppleVTDecoder.cpp
113         - dom/media/platforms/wmf/DXVA2Manager.cpp
114         - dom/media/platforms/wmf/WMFVideoMFTManager.cpp
115         - dom/media/autoplay/test/mochitest/file_autoplay_policy_key_blacklist.html
116         - dom/media/autoplay/test/mochitest/test_autoplay_policy_key_blacklist.html
117         - dom/media/autoplay/test/mochitest/test_autoplay_policy_permission.html
118         - dom/media/webm/WebMDecoder.cpp
119         - dom/media/webrtc/transport/stun_socket_filter.cpp
120         - dom/media/webrtc/transport/test/ice_unittest.cpp
121         - dom/plugins/base/nsPluginHost.h
122         - dom/tests/mochitest/dom-level0/idn_child.html
123         - dom/tests/mochitest/dom-level0/test_setting_document.domain_idn.html
124         - dom/tests/mochitest/whatwg/test_postMessage_origin.xhtml
125         - gfx/gl/GLContextProviderWGL.cpp
126         - gfx/gl/GLUploadHelpers.cpp
127         - gfx/tests/mochitest/test_font_whitelist.html
128         - gfx/thebes/gfxFT2FontList.cpp
129         - gfx/thebes/gfxPlatformFontList.cpp
130         - gfx/thebes/gfxPlatformFontList.h
131         - gfx/thebes/gfxUserFontSet.cpp
132         - gfx/thebes/gfxWindowsPlatform.cpp
133         - gfx/thebes/SharedFontList.cpp
134         - intl/strres/nsStringBundle.cpp
135         - ipc/glue/GeckoChildProcessHost.cpp
136         - js/src/debugger/DebugAPI.h
137         - js/src/devtools/rootAnalysis/analyzeHeapWrites.js
138         - js/src/jit/CodeGenerator.cpp
139         - js/src/jit-test/tests/auto-regress/bug687399.js
140         - js/src/jit-test/tests/basic/missingArgTest2.js
141         - js/src/tests/non262/regress/regress-450369.js
142         - js/xpconnect/src/Sandbox.cpp
143         - js/xpconnect/src/XPCJSRuntime.cpp
144         - js/xpconnect/src/xpcpublic.h
145         - js/xpconnect/src/XPCWrappedNativeScope.cpp
146         - js/xpconnect/tests/unit/head_watchdog.js
147         - js/xpconnect/wrappers/FilteringWrapper.cpp
148         - js/xpconnect/wrappers/XrayWrapper.cpp
149         - layout/base/PositionedEventTargeting.cpp
150         - layout/base/PresShell.cpp
151         - layout/base/PresShell.h
152         - layout/reftests/css-placeholder/css-restrictions.html
153         - layout/style/test/test_computed_style_difference.html
154         - layout/tools/reftest/mach_commands.py
155         - layout/tools/reftest/mach_test_package_commands.py
156         - layout/tools/reftest/reftestcommandline.py
157         - layout/tools/reftest/runreftest.py
158         - layout/tools/reftest/selftest/conftest.py
159         - mobile/android/app/mobile.js
160         - mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/HardwareCodecCapabilityUtils.java
161         - mobile/android/geckoview/src/main/java/org/mozilla/geckoview/ContentBlocking.java
162         - mobile/android/geckoview/src/main/java/org/mozilla/geckoview/CrashReporter.java
163         - mobile/android/geckoview/src/main/java/org/mozilla/geckoview/WebAuthnTokenManager.java
164         - modules/libpref/Preferences.cpp
165         - modules/libpref/init/all.js
166         - netwerk/base/nsIPermissionManager.idl
167         - netwerk/base/nsIProtocolHandler.idl
168         - netwerk/base/nsIOService.cpp
169         - netwerk/base/nsIURI.idl
170         - netwerk/base/nsURLHelper.cpp
171         - netwerk/cookie/CookieCommons.h
172         - netwerk/dns/nsHostRecord.cpp
173         - netwerk/dns/nsIDNService.cpp
174         - netwerk/dns/nsIIDNService.idl
175         - netwerk/dns/TRR.cpp
176         - netwerk/ipc/DocumentLoadListener.cpp
177         - netwerk/protocol/http/HttpBaseChannel.cpp
178         - netwerk/protocol/http/nsHttpChannel.cpp
179         - netwerk/protocol/http/nsHttpConnectionMgr.cpp
180         - netwerk/protocol/viewsource/nsViewSourceChannel.cpp
181         - netwerk/protocol/websocket/BaseWebSocketChannel.cpp
182         - netwerk/socket/nsSOCKSSocketProvider.cpp
183         - netwerk/test/unit/test_bug464591.js
184         - netwerk/test/unit/test_cookie_blacklist.js
185         - netwerk/test/unit/test_idn_blacklist.js
186         - netwerk/url-classifier/UrlClassifierCommon.cpp
187         - netwerk/url-classifier/UrlClassifierFeatureCryptominingAnnotation.cpp
188         - netwerk/url-classifier/UrlClassifierFeatureCryptominingProtection.cpp
189         - netwerk/url-classifier/UrlClassifierFeatureFingerprintingAnnotation.cpp
190         - netwerk/url-classifier/UrlClassifierFeatureFingerprintingProtection.cpp
191         - netwerk/url-classifier/UrlClassifierFeatureSocialTrackingAnnotation.cpp
192         - netwerk/url-classifier/UrlClassifierFeatureSocialTrackingProtection.cpp
193         - netwerk/url-classifier/UrlClassifierFeatureTrackingAnnotation.cpp
194         - netwerk/url-classifier/UrlClassifierFeatureTrackingProtection.cpp
195         - python/mozbuild/mozbuild/backend/recursivemake.py
196         - python/mozbuild/mozbuild/configure/options.py
197         - python/mozbuild/mozbuild/vendor/vendor_rust.py
198         - remote/cdp/Protocol.sys.mjs
199         - security/manager/ssl/tests/unit/test_intermediate_preloads.js
200         - security/sandbox/linux/broker/SandboxBroker.cpp
201         - security/sandbox/linux/broker/SandboxBroker.h
202         - security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
203         - security/sandbox/linux/glue/SandboxPrefBridge.cpp
204         - security/sandbox/linux/gtest/TestBroker.cpp
205         - security/sandbox/linux/Sandbox.cpp
206         - security/sandbox/linux/SandboxFilter.cpp
207         - security/sandbox/linux/SandboxFilterUtil.h
208         - security/sandbox/linux/Sandbox.h
209         - taskcluster/ci/docker-image/kind.yml
210         - taskcluster/gecko_taskgraph/actions/create_interactive.py
211         - taskcluster/gecko_taskgraph/transforms/test/other.py
212         - taskcluster/gecko_taskgraph/try_option_syntax.py
213         - testing/condprofile/condprof/client.py
214         - testing/condprofile/condprof/tests/profile/prefs.js
215         - testing/condprofile/condprof/tests/test_client.py
216         - testing/firefox-ui/tests/functional/safebrowsing/test_initial_download.py
217         - testing/marionette/client/marionette_driver/wait.py
218         - testing/mochitest/browser-test.js
219         - testing/mochitest/mach_test_package_commands.py
220         - testing/mochitest/mochitest_options.py
221         - testing/mochitest/runtests.py
222         - testing/mozbase/mozprofile/mozprofile/profile.py
223         - testing/mozharness/configs/unittests/linux_unittest.py
224         - testing/mozharness/configs/unittests/mac_unittest.py
225         - testing/mozharness/configs/unittests/win_unittest.py
226         - testing/profiles/unittest-required/user.js
227         - testing/raptor/browsertime/browsertime_scenario.js
228         - testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app/config/webpack.config.prod.js
229         - testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app-build/static/js/main.js
230         - testing/web-platform/tests/tools/manifest/tests/test_manifest.py
231         - toolkit/actors/RemotePageChild.sys.mjs
232         - toolkit/actors/WebChannelChild.sys.mjs
233         - toolkit/components/antitracking/test/browser/browser_socialtracking_save_image.js
234         - toolkit/components/reputationservice/ApplicationReputation.cpp
235         - toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h
236         - toolkit/components/reputationservice/LoginReputation.cpp
237         - toolkit/components/reputationservice/LoginReputation.h
238         - toolkit/components/reputationservice/test/unit/head_download_manager.js
239         - toolkit/components/reputationservice/test/unit/test_app_rep.js
240         - toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js
241         - toolkit/components/reputationservice/test/unit/test_app_rep_windows.js
242         - toolkit/components/reputationservice/test/unit/test_login_rep.js
243         - toolkit/components/satchel/test/test_form_autocomplete.html
244         - toolkit/components/telemetry/docs/data/environment.rst
245         - toolkit/components/url-classifier/nsUrlClassifierUtils.cpp
246         - toolkit/components/url-classifier/SafeBrowsing.sys.mjs
247         - toolkit/components/url-classifier/tests/mochitest/features.js
248         - toolkit/components/url-classifier/tests/mochitest/good.js
249         - toolkit/components/url-classifier/tests/mochitest/test_annotation_vs_TP.html
250         - toolkit/components/url-classifier/tests/mochitest/test_classified_annotations.html
251         - toolkit/components/url-classifier/tests/mochitest/test_classify_by_default.html
252         - toolkit/components/url-classifier/tests/mochitest/test_classify_ping.html
253         - toolkit/components/url-classifier/tests/mochitest/test_cryptomining_annotate.html
254         - toolkit/components/url-classifier/tests/mochitest/test_cryptomining.html
255         - toolkit/components/url-classifier/tests/mochitest/test_fingerprinting_annotate.html
256         - toolkit/components/url-classifier/tests/mochitest/test_fingerprinting.html
257         - toolkit/components/url-classifier/tests/mochitest/test_safebrowsing_bug1272239.html
258         - toolkit/components/url-classifier/tests/mochitest/test_socialtracking_annotate.html
259         - toolkit/components/url-classifier/tests/mochitest/test_socialtracking.html
260         - toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_bug1580416.html
261         - toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_whitelist.html
262         - toolkit/components/url-classifier/tests/unit/head_urlclassifier.js
263         - toolkit/components/url-classifier/tests/unit/test_digest256.js
264         - toolkit/components/url-classifier/tests/unit/test_platform_specific_threats.js
265         - toolkit/components/url-classifier/tests/UrlClassifierTestUtils.sys.mjs
266         - toolkit/content/aboutTelemetry.js
267         - toolkit/content/tests/browser/browser_delay_autoplay_webAudio.js
268         - toolkit/modules/PermissionsUtils.sys.mjs
269         - toolkit/modules/tests/browser/browser_AsyncPrefs.js
270         - toolkit/modules/tests/browser/browser_web_channel.js
271         - toolkit/modules/tests/xpcshell/test_PermissionsUtils.js
272         - toolkit/modules/third_party/jsesc/jsesc.mjs
273         - toolkit/modules/Troubleshoot.sys.mjs
274         - toolkit/mozapps/extensions/internal/XPIInstall.jsm
275         - toolkit/mozapps/extensions/test/browser/browser_html_discover_view.js
276         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Device.js
277         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_DriverNew.js
278         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverNew.js
279         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverOld.js
280         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_OK.js
281         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_DriverOld.js
282         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_OK.js
283         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_No_Comparison.js
284         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OK.js
285         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OS.js
286         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_match.js
287         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_DriverVersion.js
288         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_OSVersion.js
289         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_prefs.js
290         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Vendor.js
291         - toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Version.js
292         - toolkit/mozapps/extensions/test/xpcshell/test_permissions.js
293         - toolkit/mozapps/extensions/test/xpcshell/test_permissions_prefs.js
294         - toolkit/mozapps/extensions/test/xpinstall/browser_bug645699.js
295         - toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js
296         - toolkit/mozapps/extensions/test/xpinstall/browser_localfile3.js
297         - toolkit/mozapps/extensions/test/xpinstall/browser_localfile4.js
298         - toolkit/mozapps/extensions/test/xpinstall/browser_localfile4_postDownload.js
299         - toolkit/mozapps/extensions/test/xpinstall/head.js
300         - tools/fuzzing/messagemanager/MessageManagerFuzzer.cpp
301         - tools/fuzzing/messagemanager/MessageManagerFuzzer.h
302         - tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-define-cc-etc.js
303         - tools/lint/rejected-words.yml
304         - widget/android/GfxInfo.cpp
305         - widget/GfxInfoBase.cpp
306         - widget/gtk/IMContextWrapper.cpp
307         - widget/gtk/nsAppShell.cpp
308         - widget/windows/GfxInfo.cpp
309         - widget/windows/WinUtils.cpp
310         - widget/windows/WinUtils.h
311         - xpcom/io/FilePreferences.cpp
312         - xpcom/tests/gtest/TestFilePreferencesUnix.cpp
314 # ---
315 # Disable for now. Needs some dev to handle this
316 # avoid-master-and-slave:
317 #    description: "Use words like 'controller', 'worker' instead"
319 avoid-gobbledygook:
320     description: "American English colloquialism. Use 'nonsense' instead."
321     level: error
322     include: ['.']
323     type: regex
324     payload: \b(gobbledy)?-?gook
325     ignore-case: true
326     exclude:
327         - extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/orig/en_US-custom.dic
328         - extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/utf8/en-US-utf8.dic
329         - extensions/spellcheck/locales/en-US/hunspell/en-US.dic
330         - tools/lint/rejected-words.yml