Re: [w3c/ServiceWorker] Feature detection for type="module" support (#1582)

> Going to see if I can make the test better, so it might be broken for a bit…

I couldn't make it better. I thought Safari might support the `type` option but ignore the value. But no, it validates it (I guess they have the IDL), but doesn't do the right thing with the value.

@wanderview 

> Maybe not a great general solution, but would there be any benefit in changing the `Service-Worker: script` header to say `Service-Worker: module` when type is `module` and its supported?

That seems nice!

-- 
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/1582#issuecomment-820534238

Received on Thursday, 15 April 2021 15:46:57 UTC