summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/sharedWorker_privateBrowsing.js
blob: c16bd209f0d7839738a50b3f160836b51fefa20c (plain)
1
2
3
4
var counter = 0;
onconnect = function (evt) {
  evt.ports[0].postMessage(++counter);
};