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