repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git]
/
js
/
xpconnect
/
tests
/
unit
/
non_shared_worker_1.js
blob
219759b057d4062e535652ad1882077bea428b55
1
onmessage = event => {
2
globalThis["loaded"] = [];
3
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"] });
11
};