- From: Ben Kelly <notifications@github.com>
- Date: Mon, 08 Mar 2021 07:24:59 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 8 March 2021 15:25:11 UTC
This should be easier than the iframe case. Iframes load asynchronously, but `importScripts()` is synchronous. So we can keep a stack of currently loading scripts and just check if the current script is already loading once already. If so, throw an exception as a loop was detected. -- 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/1570#issuecomment-792829297
Received on Monday, 8 March 2021 15:25:11 UTC