Sign in
webkit
/
WebKit
/
224c8b50d73f4b0806f633e65d0750f19cc186c7
/
.
/
LayoutTests
/
fast
/
workers
/
resources
/
shared-worker-count-connections.js
blob: 371d31229321fdc26d6e63591350ead6dc88b12b [
file
] [
log
] [
blame
]
var
ports
=
[];
onconnect
=
function
(
event
)
{
ports
.
push
(
event
.
ports
[
0
]);
for
(
var
i
=
0
;
i
<
ports
.
length
;
i
++)
{
ports
[
i
].
postMessage
(
ports
.
length
);
}
};