diff options
Diffstat (limited to 'dom/workers/test/sharedWorker_privateBrowsing.js')
-rw-r--r-- | dom/workers/test/sharedWorker_privateBrowsing.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/workers/test/sharedWorker_privateBrowsing.js b/dom/workers/test/sharedWorker_privateBrowsing.js new file mode 100644 index 000000000..9d7ec886f --- /dev/null +++ b/dom/workers/test/sharedWorker_privateBrowsing.js @@ -0,0 +1,5 @@ +var counter = 0; +onconnect = function(evt) { + evt.ports[0].postMessage(++counter); +} + |