summaryrefslogtreecommitdiffstats
path: root/toolkit/components/ctypes/tests/unit/test_errno.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/ctypes/tests/unit/test_errno.js')
-rw-r--r--toolkit/components/ctypes/tests/unit/test_errno.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolkit/components/ctypes/tests/unit/test_errno.js b/toolkit/components/ctypes/tests/unit/test_errno.js
index 24dba0597b..8905ec3a18 100644
--- a/toolkit/components/ctypes/tests/unit/test_errno.js
+++ b/toolkit/components/ctypes/tests/unit/test_errno.js
@@ -2,11 +2,10 @@
var ctypes = ctypes;
function run_test() {
- // Launch the test with regular loading of ctypes.jsm
+ // Launch the test with regular loading of ctypes.sys.mjs
main_test();
- // Relaunch the test with exotic loading of ctypes.jsm
- Cu.unload("resource://gre/modules/ctypes.jsm");
+ // Relaunch the test with exotic loading of ctypes.sys.mjs
let scope = ChromeUtils.importESModule(
"resource://gre/modules/ctypes.sys.mjs"
);