Skip to content

Commit 21c8139

Browse files
committed
Merge branch 'mmomtchev-workerglobalscope'
2 parents 6761920 + 12f253d commit 21c8139

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ function workerThread() {
191191
proto[fn] = proto[fn].bind(global);
192192
});
193193
global.name = name;
194+
global.WorkerGlobalScope = WorkerGlobalScope;
194195

195196
const isDataUrl = /^data:/.test(mod);
196197
if (type === 'module') {

0 commit comments

Comments
 (0)