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