Re: [ServiceWorker] register() should not allow file://, wss://, etc (#780)

The spec says "For now, unfortunate as it is, file and ftp URLs are left as an exercise for the reader."  I don't know about blink, but gecko has done this exercise and supports network requests to file:// URLs.

I think rejecting with a NetworkError is not as nice as rejecting with a SecurityError for file://.

Anyway, I think at least a note needs to be here for intent.

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

Received on Wednesday, 11 November 2015 01:38:14 UTC