Re: [w3c/ServiceWorker] When should "imported scripts updated flag" be unset? (#1021)

> Basically what the spec says for importScripts now?

Kind of.  But in this future world someone could call `import()` at script eval time and it could finish loading after the install event completes.  The "complete install" steps basically will need to have a check for any outstanding async import loads and fail install in those cases.  Since we can't just throw from `import()`.

Really I don't like this, though, because it could work fine in a fast local dev environment and then fail later in a slower production environment.  Seems like a footgun we should try to avoid if we can.

-- 
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/1021#issuecomment-266498709

Received on Monday, 12 December 2016 17:44:05 UTC