- From: Richard Maher <notifications@github.com>
- Date: Tue, 01 Mar 2016 00:38:10 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 1 March 2016 08:38:43 UTC
FYI, Firefox works as expected when it comes to adding images to the current page either via SRC or FETCH API. Chrome 48 on the other hand does NOT fire a 'fetch' event. Curious. var noMic; noMic = document.createElement('img'); noMic.style.visibility = 'visible'; noMic.style.height = '20px'; noMic.style.width = '20px'; document.body.appendChild(noMic); noMic.src = '//localhost/pushit/images/icon.png'; /* fetch('//localhost/pushit/images/icon.png').then(function(response) { return response.blob(); }).then(function(response) { var objectURL = URL.createObjectURL(response); noMic.src = objectURL; }); */ --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/838#issuecomment-190613033
Received on Tuesday, 1 March 2016 08:38:43 UTC