gecko/dom/workers/test/sharedWorker_lifetime.js

6 lines
109 B
JavaScript
Raw Normal View History

onconnect = function(e) {
setTimeout(function() {
e.ports[0].postMessage("Still alive!");
}, 500);
}