From 93cc3dcdfdb7f0ad4427b3236ffdb23bcd0ad759 Mon Sep 17 00:00:00 2001 From: mossroy Date: Tue, 5 Jan 2016 23:23:20 +0100 Subject: [PATCH] Temporary workaround to make it work on Firefox. The original issue is still there : javascript and css dependencies get binary content (a small PNG image) --- service-worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/service-worker.js b/service-worker.js index 1171954e..1b3f7f40 100644 --- a/service-worker.js +++ b/service-worker.js @@ -130,6 +130,7 @@ function(util, utf8) { else if (regexpCSS.test(titleName)) { contentType = 'image/css'; } + reject("temporarily refuse javascript and css dependencies"); } // Let's instanciate a new messageChannel, to allow app.s to give us the content