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