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
Backed out changeset 06f41c22f3a6 (bug 1888460) for causing linux xpcshell failures...
[gecko.git]
/
dom
/
workers
/
test
/
bug1104064_worker.js
blob
02b802a8261a930d69815bd81160f5d233f0038f
1
onmessage = function () {
2
var counter = 0;
3
var id = setInterval(function () {
4
++counter;
5
if (counter == 2) {
6
clearInterval(id);
7
postMessage("done");
8
}
9
}, 0);
10
};