mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
15 lines
275 B
JavaScript
15 lines
275 B
JavaScript
onmessage = function(evt) {
|
|
if (evt.data != 0) {
|
|
var worker = new Worker('jsversion_worker.js');
|
|
worker.onmessage = function(evt) {
|
|
postMessage(evt.data);
|
|
}
|
|
|
|
worker.postMessage(evt.data - 1);
|
|
return;
|
|
}
|
|
|
|
let foo = 'bar';
|
|
postMessage(true);
|
|
}
|