Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / js / xpconnect / tests / unit / non_shared_worker_1.js
blob219759b057d4062e535652ad1882077bea428b55
1 onmessage = event => {
2   globalThis["loaded"] = [];
4   var ns = ChromeUtils.importESModule("resource://test/non_shared_1.mjs", {
5     global: "current",
6   });
7   const c1 = ns.getCounter();
8   ns.incCounter();
9   const c2 = ns.getCounter();
10   postMessage({ c1, c2, loaded: globalThis["loaded"] });