From 9e407c75be1496c14980f85d34961b08d5ce7da8 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Thu, 4 Jun 2015 08:58:19 +0100 Subject: [PATCH] Bug 1134224 - More test for test_bug1132395.html, r=ehsan --- dom/workers/test/bug1132395_sharedWorker.js | 5 +++++ dom/workers/test/test_bug1132395.html | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/dom/workers/test/bug1132395_sharedWorker.js b/dom/workers/test/bug1132395_sharedWorker.js index ef78c04da72c..988eea10680f 100644 --- a/dom/workers/test/bug1132395_sharedWorker.js +++ b/dom/workers/test/bug1132395_sharedWorker.js @@ -1,7 +1,12 @@ +dump("SW created\n"); onconnect = function(evt) { + dump("SW onconnect\n"); evt.ports[0].onmessage = function(e) { + dump("SW onmessage\n"); var blob = new Blob(['123'], { type: 'text/plain' }); + dump("SW blob created\n"); var url = URL.createObjectURL(blob); + dump("SW url created: " + url + "\n"); evt.ports[0].postMessage('alive \\o/'); }; } diff --git a/dom/workers/test/test_bug1132395.html b/dom/workers/test/test_bug1132395.html index b62ddce7736e..26cc193af358 100644 --- a/dom/workers/test/test_bug1132395.html +++ b/dom/workers/test/test_bug1132395.html @@ -13,13 +13,20 @@