Sign in
webkit
/
WebKit
/
1af45fc1915c308be35b19553899267f3a4f02ea
/
.
/
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
);