From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js | 2 +- tools/lint/eslint/eslint-plugin-mozilla/lib/environments/privileged.js | 1 + .../eslint-plugin-mozilla/lib/environments/special-powers-sandbox.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/lint/eslint/eslint-plugin-mozilla') diff --git a/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js b/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js index 036ed1bda3..003311f623 100644 --- a/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js +++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js @@ -55,7 +55,6 @@ module.exports = { files: ["**/*.sys.mjs", "**/*.jsm"], rules: { "mozilla/lazy-getter-object-name": "error", - "mozilla/reject-chromeutils-import": "error", "mozilla/reject-eager-module-in-lazy-getter": "error", "mozilla/reject-global-this": "error", "mozilla/reject-globalThis-modification": "error", @@ -180,6 +179,7 @@ module.exports = { "mozilla/prefer-boolean-length-check": "error", "mozilla/prefer-formatValues": "error", "mozilla/reject-addtask-only": "error", + "mozilla/reject-chromeutils-import": "error", "mozilla/reject-chromeutils-import-params": "error", "mozilla/reject-importGlobalProperties": ["error", "allownonwebidl"], "mozilla/reject-multiple-getters-calls": "error", diff --git a/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/privileged.js b/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/privileged.js index 7e6437ce7a..f0bd1aa8b8 100644 --- a/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/privileged.js +++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/privileged.js @@ -317,6 +317,7 @@ module.exports = { ImageData: false, ImageDocument: false, InputEvent: false, + InspectorCSSParser: false, InspectorFontFace: false, InspectorUtils: false, InstallTriggerImpl: false, diff --git a/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/special-powers-sandbox.js b/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/special-powers-sandbox.js index 5a28c91883..2ef47d89e0 100644 --- a/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/special-powers-sandbox.js +++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/special-powers-sandbox.js @@ -35,6 +35,7 @@ module.exports = { assert: false, Assert: false, BrowsingContext: false, + InspectorCSSParser: false, InspectorUtils: false, ok: false, is: false, -- cgit v1.2.3