Backed out 8 changesets (bug 1771092, bug 1768870, bug 1771097, bug 1769002, bug 1768819) for causing mochitest failures on browser_sendQuery.js. CLOSED TREE

Backed out changeset 8a4d712f819a (bug 1771092)
Backed out changeset f4e27a35c83c (bug 1771092)
Backed out changeset 072323bc72cc (bug 1771092)
Backed out changeset 2ccf2a00fff7 (bug 1769002)
Backed out changeset ba7086fd9b1f (bug 1768819)
Backed out changeset 6205d3e2c666 (bug 1771097)
Backed out changeset 960f0aee97d5 (bug 1768870)
Backed out changeset 5f53760c5637 (bug 1768870)
This commit is contained in:
criss
2022-06-17 05:44:37 +03:00
parent cfa6572a0e
commit 20943ab4b3
58 changed files with 142 additions and 1400 deletions

View File

@@ -33,7 +33,6 @@ The plugin implements the following rules:
eslint-plugin-mozilla/import-globals
eslint-plugin-mozilla/import-globals-from
eslint-plugin-mozilla/import-headjs-globals
eslint-plugin-mozilla/lazy-getter-object-name
eslint-plugin-mozilla/mark-exported-symbols-as-used
eslint-plugin-mozilla/mark-test-function-used
eslint-plugin-mozilla/no-aArgs

View File

@@ -1,25 +0,0 @@
lazy-getter-object-name
=============================
Enforce the standard object variable name ``lazy`` for
``ChromeUtils.defineESModuleGetters``
Examples of incorrect code for this rule:
-----------------------------------------
.. code-block:: js
const obj = {};
ChromeUtils.defineESModuleGetters(obj, {
Services: resource://gre/modules/Services.sys.mjs”,
});
Examples of correct code for this rule:
---------------------------------------
.. code-block:: js
const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
Services: resource://gre/modules/Services.sys.mjs”,
});