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