You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here I only want to wait until the core & level1 download. I'm happy for this to be my offline experience, and level 2 etc will download in the background.
If core or level1 fail, that's covered by #115, but what if level2 fails?
Does the latest spec capture the expected behavior? I'm thinking of the following sentence: "If any oninstall handler throws an exception, or if any lifetime extension via event.waitUntil() fails (via promise rejection), installation fails and activation is not carried out. "
I'm assuming that the latest incarnation of caches.set (*) would throw if it fails.
*: I couldn't find it in CacheStorage interface, will double check with the team and file a new issue if appropriate.
Should this issue be closed? If not can you explain what's missing?
Background:
I'm going over the open issues, hoping to understand the potential impact against our current implementation.
As for caches.set, we're still debating whether it should exist vs caches.create(name). We'll definitely have the latter, but unsure whether we should have the former & allow new Cache() to work.
Here I only want to wait until the core & level1 download. I'm happy for this to be my offline experience, and level 2 etc will download in the background.
If core or level1 fail, that's covered by #115, but what if level2 fails?
I suppose I could do:
Or should failed cache creation/update be automatically retried?
The text was updated successfully, but these errors were encountered: