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
Right now, nothing happens, but since on activate u can do stuff like move from a temp cache to a proper one and then delete the temp cache, if an exception is thrown the service worker will be in a "not completed" state, but will control the page anyway, which could lead to unexpected bugs
My solution right is to try catch the activate and do:
which seems to work, but there is another bug I added which might make it fail: #1687
To me, it seems like an expectation should abort the service worker, and if u don't want that, u can always try catch it and do nothing to prevent the "abort".
Or an option to abort the service worker should be added so we can call it on activate.
The text was updated successfully, but these errors were encountered:
Right now, nothing happens, but since on activate u can do stuff like move from a temp cache to a proper one and then delete the temp cache, if an exception is thrown the service worker will be in a "not completed" state, but will control the page anyway, which could lead to unexpected bugs
My solution right is to try catch the activate and do:
which seems to work, but there is another bug I added which might make it fail: #1687
To me, it seems like an expectation should abort the service worker, and if u don't want that, u can always try catch it and do nothing to prevent the "abort".
Or an option to abort the service worker should be added so we can call it on activate.
The text was updated successfully, but these errors were encountered: