Re: [w3c/ServiceWorker] New "setup" lifecycle for service worker (#1576)

> We don't allow top-level await in a service worker scripts because that's usually an anti-pattern.

Is it spec-compliant? What will happen when a service worker module statically imports a module that uses a top-level await inside?

-- 
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/1576#issuecomment-814961258

Received on Wednesday, 7 April 2021 14:29:10 UTC