- From: Ben Kelly <notifications@github.com>
- Date: Mon, 20 May 2019 05:36:40 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 20 May 2019 12:37:02 UTC
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