From 5d9fe97a25c6b720c96e4150b0972430e336941c Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Wed, 1 Nov 2023 08:00:39 +0000 Subject: [PATCH] Bug 1854786 - Move exclusion from linting for talos devtools pages to ThirdPartyPaths.txt. r=bomsy Differential Revision: https://phabricator.services.mozilla.com/D192181 --- .eslintignore | 1 - .prettierignore | 3 +-- tools/esmify/mach_commands.py | 1 - tools/lint/rejected-words.yml | 2 -- tools/rewriting/Generated.txt | 1 - tools/rewriting/ThirdPartyPaths.txt | 1 + 6 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.eslintignore b/.eslintignore index 742d63ee85bb..0bd1e7a1d584 100644 --- a/.eslintignore +++ b/.eslintignore @@ -216,7 +216,6 @@ testing/mozbase/mozprofile/tests/files/prefs_with_comments.js testing/mozharness/configs/test/test_malformed.json testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js -testing/talos/talos/tests/devtools/addon/content/pages/ # Python json. testing/talos/talos/unittests/test_talosconfig_browser_config.json testing/talos/talos/unittests/test_talosconfig_test_config.json diff --git a/.prettierignore b/.prettierignore index e9eb761a67bf..9edd508e57bf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1186,7 +1186,6 @@ testing/mozbase/mozprofile/tests/files/prefs_with_comments.js testing/mozharness/configs/test/test_malformed.json testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js -testing/talos/talos/tests/devtools/addon/content/pages/ # Python json. testing/talos/talos/unittests/test_talosconfig_browser_config.json testing/talos/talos/unittests/test_talosconfig_test_config.json @@ -1406,6 +1405,7 @@ testing/mochitest/pywebsocket3/ testing/mochitest/tests/MochiKit-1.4.2/ testing/modules/sinon-7.2.7.js testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/ +testing/talos/talos/tests/devtools/addon/content/pages/ testing/talos/talos/tests/dromaeo/ testing/talos/talos/tests/kraken/ testing/talos/talos/tests/v8_7/ @@ -1468,7 +1468,6 @@ node_modules/ security/manager/tools/KnownRootHashes.json security/manager/tools/PreloadedHPKPins.json services/settings/dumps/ -testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app-build/static/js/minified.js toolkit/components/nimbus/schemas/NimbusExperiment.schema.json toolkit/components/pdfjs/content/PdfJsDefaultPreferences.sys.mjs toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp diff --git a/tools/esmify/mach_commands.py b/tools/esmify/mach_commands.py index 9ecfc8c737e4..607e5bb80135 100644 --- a/tools/esmify/mach_commands.py +++ b/tools/esmify/mach_commands.py @@ -63,7 +63,6 @@ excluded_from_imports_prefix = list( "devtools/client/shared/source-map-loader/test/browser/fixtures/bundle.js", "layout/style/test/property_database.js", "services/fxaccounts/FxAccountsPairingChannel.js", - "testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app-build/static/js/main.js", # noqa E501 "testing/web-platform/", # Unrelated testcases that has edge case syntax. "browser/components/sessionstore/test/unit/data/", diff --git a/tools/lint/rejected-words.yml b/tools/lint/rejected-words.yml index c9a5196c7585..27e5233eef0e 100644 --- a/tools/lint/rejected-words.yml +++ b/tools/lint/rejected-words.yml @@ -225,8 +225,6 @@ avoid-blacklist-and-whitelist: - testing/mozharness/configs/unittests/win_unittest.py - testing/profiles/unittest-required/user.js - testing/raptor/browsertime/browsertime_scenario.js - - testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app/config/webpack.config.prod.js - - testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app-build/static/js/main.js - testing/web-platform/tests/tools/manifest/tests/test_manifest.py - toolkit/actors/RemotePageChild.sys.mjs - toolkit/actors/WebChannelChild.sys.mjs diff --git a/tools/rewriting/Generated.txt b/tools/rewriting/Generated.txt index cb2fd910940b..c8b58cf26490 100644 --- a/tools/rewriting/Generated.txt +++ b/tools/rewriting/Generated.txt @@ -20,7 +20,6 @@ node_modules/ security/manager/tools/KnownRootHashes.json security/manager/tools/PreloadedHPKPins.json services/settings/dumps/ -testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app-build/static/js/minified.js toolkit/components/nimbus/schemas/NimbusExperiment.schema.json toolkit/components/pdfjs/content/PdfJsDefaultPreferences.sys.mjs toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp diff --git a/tools/rewriting/ThirdPartyPaths.txt b/tools/rewriting/ThirdPartyPaths.txt index 2cdbb977ae7a..f00dc46fe831 100644 --- a/tools/rewriting/ThirdPartyPaths.txt +++ b/tools/rewriting/ThirdPartyPaths.txt @@ -161,6 +161,7 @@ testing/mochitest/pywebsocket3/ testing/mochitest/tests/MochiKit-1.4.2/ testing/modules/sinon-7.2.7.js testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/ +testing/talos/talos/tests/devtools/addon/content/pages/ testing/talos/talos/tests/dromaeo/ testing/talos/talos/tests/kraken/ testing/talos/talos/tests/v8_7/