Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / resources / shared-worker-count-connections.js
blob371d31229321fdc26d6e63591350ead6dc88b12b
1 var ports = [];
2 onconnect = function(event) {
3   ports.push(event.ports[0]);
4   for (var i = 0 ; i < ports.length ; i++) {
5     ports[i].postMessage(ports.length);
6   }
7 };