diff options
Diffstat (limited to 'js/xpconnect/tests/unit/lazy_shared_in_worker.js')
-rw-r--r-- | js/xpconnect/tests/unit/lazy_shared_in_worker.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/js/xpconnect/tests/unit/lazy_shared_in_worker.js b/js/xpconnect/tests/unit/lazy_shared_in_worker.js index 148cdefb3e..91114e61c4 100644 --- a/js/xpconnect/tests/unit/lazy_shared_in_worker.js +++ b/js/xpconnect/tests/unit/lazy_shared_in_worker.js @@ -36,17 +36,5 @@ onmessage = event => { caught3 = true; } - let caught4 = false; - try { - const lazy = {}; - ChromeUtils.defineESModuleGetters(lazy, { - obj: "resource://test/esmified-1.sys.mjs" - }, { - loadInDevToolsLoader: true, - }); - lazy.obj; - } catch (e) { - caught4 = true; - } - postMessage({ caught1, caught2, caught3, caught4 }); + postMessage({ caught1, caught2, caught3 }); }; |