Re: [ServiceWorker] Should ServiceWorker.scriptURL have fragment removed? (#742)

I think that would work. The discussion here is whether to set the _exclude fragments flag_ for scriptURL comparisons. I'll add xrefs to https://url.spec.whatwg.org/#url-equivalence when updating the text with a decision.

In reflection, I don't think we have to strip the fragment of the scriptURL passed to `register()` method as it's part of the url (so we don't want to special case it), meaning the register attempt will have a chance to get through to update. And there in the update phase, if the script resource has not been changed we won't install the same resource again for which we have to set the _exclude fragments flag_ (Update step 4.25). Thoughts?

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

Received on Thursday, 3 September 2015 05:36:11 UTC