1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-07-03 13:49:20 +00:00
Files
UXP/dom/workers/test/clearTimeouts_worker.js
T

13 lines
200 B
JavaScript

var count = 0;
function timerFunction() {
if (++count == 30) {
close();
postMessage("ready");
while (true) { }
}
}
for (var i = 0; i < 10; i++) {
setInterval(timerFunction, 500);
}