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