From 6f34b4daae3cd8656ee1507bec7da7941b2c0126 Mon Sep 17 00:00:00 2001 From: Martin Giger Date: Wed, 1 Feb 2023 22:43:39 +0000 Subject: [PATCH] Bug 1814354 - Port bug 1812646: use base-loader as esm instead of JSM to load matrix SDK. r=aleca Differential Revision: https://phabricator.services.mozilla.com/D168521 --HG-- extra : moz-landing-system : lando --- chat/protocols/matrix/matrix-sdk.sys.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chat/protocols/matrix/matrix-sdk.sys.mjs b/chat/protocols/matrix/matrix-sdk.sys.mjs index f958aced73..5918b0b9a6 100644 --- a/chat/protocols/matrix/matrix-sdk.sys.mjs +++ b/chat/protocols/matrix/matrix-sdk.sys.mjs @@ -10,10 +10,10 @@ import { setTimeout, } from "resource://gre/modules/Timer.sys.mjs"; import { scriptError } from "resource:///modules/imXPCOMUtils.sys.mjs"; - -const { Loader, Require } = ChromeUtils.import( - "resource://devtools/shared/loader/base-loader.js" -); +import { + Loader, + Require, +} from "resource://devtools/shared/loader/base-loader.sys.mjs"; /** * Set of packages that have a top level index.js. This makes it so we don't