summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/import_shared_in_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/tests/unit/import_shared_in_worker.js')
-rw-r--r--js/xpconnect/tests/unit/import_shared_in_worker.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/js/xpconnect/tests/unit/import_shared_in_worker.js b/js/xpconnect/tests/unit/import_shared_in_worker.js
index bc92fe26a6..170254fb21 100644
--- a/js/xpconnect/tests/unit/import_shared_in_worker.js
+++ b/js/xpconnect/tests/unit/import_shared_in_worker.js
@@ -24,13 +24,5 @@ onmessage = event => {
caught3 = true;
}
- let caught4 = false;
- try {
- ChromeUtils.importESModule("resource://test/esmified-1.sys.mjs", {
- loadInDevToolsLoader: true,
- });
- } catch (e) {
- caught4 = true;
- }
- postMessage({ caught1, caught2, caught3, caught4 });
+ postMessage({ caught1, caught2, caught3 });
};