- From: Jungkee Song <notifications@github.com>
- Date: Tue, 10 Nov 2015 18:21:51 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 11 November 2015 02:22:20 UTC
Agreed. One thing is the existing APIs throw/reject a TypeError as it sees it comes from a wrong parameter usage. For consistency, I plan to make `ServiceWorkerContainer.register(url, options)` (i.e. in the method steps before calling the Register) reject with a TypeError for both scriptURL and scopeURL that have non-http/https scheme. Does it work for you? --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/780#issuecomment-155633771
Received on Wednesday, 11 November 2015 02:22:20 UTC