summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/SimpleTest/EventUtils.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mochitest/tests/SimpleTest/EventUtils.js')
-rw-r--r--testing/mochitest/tests/SimpleTest/EventUtils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/mochitest/tests/SimpleTest/EventUtils.js b/testing/mochitest/tests/SimpleTest/EventUtils.js
index 8833b8bc59..59ad054714 100644
--- a/testing/mochitest/tests/SimpleTest/EventUtils.js
+++ b/testing/mochitest/tests/SimpleTest/EventUtils.js
@@ -42,8 +42,8 @@ window.__defineGetter__("_EU_ChromeUtils", function () {
window.__defineGetter__("_EU_OS", function () {
delete this._EU_OS;
try {
- this._EU_OS = _EU_ChromeUtils.import(
- "resource://gre/modules/AppConstants.jsm"
+ this._EU_OS = _EU_ChromeUtils.importESModule(
+ "resource://gre/modules/AppConstants.sys.mjs"
).platform;
} catch (ex) {
this._EU_OS = null;