summaryrefslogtreecommitdiffstats
path: root/devtools/client/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/accessibility')
-rw-r--r--devtools/client/accessibility/main.js4
-rw-r--r--devtools/client/accessibility/test/chrome/head.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/devtools/client/accessibility/main.js b/devtools/client/accessibility/main.js
index c658d05825..bbfae3462a 100644
--- a/devtools/client/accessibility/main.js
+++ b/devtools/client/accessibility/main.js
@@ -3,8 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
-const { BrowserLoader } = ChromeUtils.import(
- "resource://devtools/shared/loader/browser-loader.js"
+const { BrowserLoader } = ChromeUtils.importESModule(
+ "resource://devtools/shared/loader/browser-loader.sys.mjs"
);
// Module Loader
diff --git a/devtools/client/accessibility/test/chrome/head.js b/devtools/client/accessibility/test/chrome/head.js
index a1a02df8a8..2bd03d53c6 100644
--- a/devtools/client/accessibility/test/chrome/head.js
+++ b/devtools/client/accessibility/test/chrome/head.js
@@ -8,8 +8,8 @@
var { require } = ChromeUtils.importESModule(
"resource://devtools/shared/loader/Loader.sys.mjs"
);
-var { BrowserLoader } = ChromeUtils.import(
- "resource://devtools/shared/loader/browser-loader.js"
+var { BrowserLoader } = ChromeUtils.importESModule(
+ "resource://devtools/shared/loader/browser-loader.sys.mjs"
);
var DevToolsUtils = require("resource://devtools/shared/DevToolsUtils.js");