summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/sharedWorker_lifetime.js
blob: 594bd5833d7a70d211047e087a944047e4623443 (plain)
1
2
3
4
5
onconnect = function (e) {
  setTimeout(function () {
    e.ports[0].postMessage("Still alive!");
  }, 500);
};