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

Btw, I'd be happy with a solution that causes this to fail later than parse time.

1. Execute script.
1. If the script has pending promises added via top level `await`, fail.

This might be closer to how we fail scripts that peg the CPU.

The requirement is that we can reliably fail service worker install for scripts that use top-level await.

-- 
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-539890829

Received on Wednesday, 9 October 2019 08:13:41 UTC