Sign in
webkit
/
WebKit
/
0f9dda3eb5e8bee1224032800f3b156cd5ce812d
/
.
/
LayoutTests
/
fast
/
workers
/
resources
/
termination-with-port-messages.js
blob: a827db357e2305b32716c447dc70883b8ff3184a [
file
] [
log
] [
blame
]
function
echo
(
evt
)
{
evt
.
target
.
postMessage
(
evt
.
data
);
}
onmessage
=
function
(
evt
)
{
evt
.
ports
[
0
].
onmessage
=
echo
;
evt
.
ports
[
0
].
start
();
}