Re: [ServiceWorker] Update algorithm and redirects (#618)

As the script URL passed to `.register` was `/foo.js` again while registration's workers' script URL had been set to `/bar.js` in the previous register, this new register request would not resolve with the existing registration but rather trigger new update every time.

> Why do you reject with a "NetworkError" while fetch() rejects with a TypeError?

e9fabe32d10ed8f2fbf1bdea481ef9e47d550bd4

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

Received on Friday, 13 February 2015 02:13:29 UTC