зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1843796 - Part 3: Rewrite services/fxaccounts/FxAccountsClient.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=markh
Depends on D183694 Differential Revision: https://phabricator.services.mozilla.com/D183695
This commit is contained in:
Родитель
ea29dd03e7
Коммит
6934f07e3f
|
@ -28,7 +28,9 @@ SimpleTest.waitForExplicitFinish();
|
|||
const {FxAccounts} = ChromeUtils.importESModule(
|
||||
"resource://gre/modules/FxAccounts.sys.mjs"
|
||||
);
|
||||
const {FxAccountsClient} = ChromeUtils.import("resource://gre/modules/FxAccountsClient.jsm");
|
||||
const {FxAccountsClient} = ChromeUtils.importESModule(
|
||||
"resource://gre/modules/FxAccountsClient.sys.mjs"
|
||||
);
|
||||
|
||||
const TEST_SERVER =
|
||||
"http://mochi.test:8888/chrome/services/fxaccounts/tests/mochitest/file_invalidEmailCase.sjs?path=";
|
||||
|
|
Загрузка…
Ссылка в новой задаче