diff options
Diffstat (limited to 'dom/workers/test/sharedWorker_lifetime.js')
-rw-r--r-- | dom/workers/test/sharedWorker_lifetime.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/workers/test/sharedWorker_lifetime.js b/dom/workers/test/sharedWorker_lifetime.js new file mode 100644 index 000000000..3d9a837bb --- /dev/null +++ b/dom/workers/test/sharedWorker_lifetime.js @@ -0,0 +1,5 @@ +onconnect = function(e) { + setTimeout(function() { + e.ports[0].postMessage("Still alive!"); + }, 500); +} |