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