Re: [ServiceWorker] importScripts() should throw? (#642)

You are considering that Service Worker is a pure new environment? I don't think so. 
According to the spec it's obviously a child of Web Worker, described as: `the core of this system is an event-driven Web Worker which responds to events dispatched from documents and other sources`

I think changing the  behavior of the same build-in function just for the Service Worker scope is not a reasonable solution different Web Worker implementations.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/642#issuecomment-76624121

Received on Sunday, 1 March 2015 19:00:13 UTC