Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
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'
);
};