Sign in
webkit
/
WebKit
/
85db3efdec5ca5eb5d671961c4826c59372af698
/
.
/
LayoutTests
/
workers
/
worker-to-worker.js
blob: f415c415ee018833b3f8ed96e34491d4c1682737 [
file
] [
log
] [
blame
]
self
.
onmessage
=
e
=>
{
e
.
data
.
port
.
onmessage
=
e
=>
{
self
.
postMessage
(`[
Worker
]
Received
message
:
$
{
e
.
data
}`);
}
e
.
data
.
port
.
postMessage
(
'hello'
);
};