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