angular/packages/service-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
..
cli build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
config refactor: update service-worker tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
src feat(service-worker): add function to provide service worker (#48247) 2023-03-09 18:13:50 +00:00
test feat(service-worker): add function to provide service worker (#48247) 2023-03-09 18:13:50 +00:00
testing build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
worker fix(service-worker): throw a critical error when handleFetch fails (#51960) 2023-10-04 08:50:50 -07:00
BUILD.bazel build(bazel): create AIO example playgrounds for manual testing 2022-11-22 13:51:16 -07:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: remove support for Node.js v16 (#51755) 2023-09-13 10:49:06 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
safety-worker.js fix(service-worker): clear service worker cache in safety worker (#43324) 2021-09-13 14:34:32 -07:00