Sign in
webkit
/
WebKit
/
c8ae5dfc29b0499bcd0de492025ef708ddc16b15
/
.
/
LayoutTests
/
fast
/
workers
/
resources
/
worker-setInterval.js
blob: b1e3d99e9e0fc801694bb74281dd906865631f7a [
file
] [
log
] [
blame
]
function
onmessage
(
evt
)
{
postMessage
(
"SUCCESS"
);
}
let i
=
0
;
setInterval
(()
=>
{
postMessage
(
""
+
i
);
i
++;
},
0
);
addEventListener
(
"message"
,
onmessage
,
true
);