Bug 1863204 - Remove unnecessary calls to Cu.importGlobalProperties for fetch/crypto (webidl names are automatically imported). r=eslint
This commit is contained in:
Родитель
0ce89a2b79
Коммит
f03f68a187
|
@ -4,7 +4,6 @@
|
|||
* MailGlue that observes command-line-startup will not be working properly.
|
||||
*/
|
||||
|
||||
Cu.importGlobalProperties(["fetch"]);
|
||||
var { MailGlue } = ChromeUtils.import("resource:///modules/MailGlue.jsm");
|
||||
|
||||
add_task(async () => {
|
||||
|
|
|
@ -11,7 +11,6 @@ const { CardDAVServer } = ChromeUtils.import(
|
|||
const { TestUtils } = ChromeUtils.importESModule(
|
||||
"resource://testing-common/TestUtils.sys.mjs"
|
||||
);
|
||||
Cu.importGlobalProperties(["fetch"]);
|
||||
|
||||
do_get_profile();
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
* If you manually generate a news URI somewhere, please add it to this test.
|
||||
*/
|
||||
|
||||
Cu.importGlobalProperties(["crypto"]);
|
||||
|
||||
/* import-globals-from ../../../test/resources/alertTestUtils.js */
|
||||
load("../../../resources/alertTestUtils.js");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче