Re: [w3c/ServiceWorker] Should add a “script type” check in the register algorithm. (#1359)

> Is this behavior intentional?

If I'm understanding the concern, it's that the server has changed the script from a classic script to a module script and so Soft Update would fail because the registration is still set to classic script.

I think that's fine. To change the script type you should probably change the script URL to avoid this problem. I'm assuming there is no plan to do something like add info to HTTP response headers to let the browser know whether it's a module or classic script? @domenic 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1359#issuecomment-432551800

Received on Wednesday, 24 October 2018 07:55:59 UTC