angular/packages/service-worker/worker
Matthieu Riegler cc7973f5a5 fix(service-worker): throw a critical error when handleFetch fails (#51960)
#51885 patched a call site that threw an error but there were 2 others call that needed to be wrapped in the same way by a try/catch.

`initializeFully` is part of the calls in `responseWith(handleFetch)`.

Same #51885, throwing `SwCriticalError`allows the driver to fallback to `safeFetch` and ensure `responseWith` doesn't fail.

Fixes #50378

PR Close #51960
2023-10-04 08:50:50 -07:00
..
src fix(service-worker): throw a critical error when handleFetch fails (#51960) 2023-10-04 08:50:50 -07:00
test refactor: update service-worker tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
testing feat(core): support TypeScript 5.2 (#51334) 2023-08-18 07:55:16 -07:00
BUILD.bazel build: switch all instances from ng_rollup_bundle to app_bundle (#44490) 2022-01-04 12:14:14 -08:00
main.ts refactor(service-worker): simplify accessing CacheStorage throughout the ServiceWorker (#42622) 2021-06-24 09:55:32 -07:00