Re: [w3c/ServiceWorker] Top-level await integration for ServiceWorkers running modules (#1407)

Top level await on a module that is offlined probably is no worse than `importScripts()`.  But top-level await on arbitrary async code could be detrimental.

Also, top-level await would not be protected by a `waitUntil()`.  In general we probably couldn't automatically keep it alive because then it would become an abuse vector.

-- 
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/1407#issuecomment-493968595

Received on Monday, 20 May 2019 12:37:02 UTC