angular-docs-cn/packages/service-worker/test
Sonu Kapoor 036a2faf02 feat(service-worker): add `UnrecoverableStateError` (#36847)
In several occasions it has been observed when the browser has evicted
eagerly cached assets from the cache and which can also not be found on the
server anymore. This can lead to broken state where only parts of the application
will load and others will fail.

This commit fixes this issue by checking for the missing asset in the cache
and on the server. If this condition is true, the broken client will be
notified about the current state through the `UnrecoverableStateError`.

Closes #36539

PR Close #36847
2020-08-31 11:41:11 -07:00
..
BUILD.bazel build: enable service-worker tests on saucelabs (#36129) 2020-04-01 15:37:47 -07:00
comm_spec.ts feat(service-worker): add `UnrecoverableStateError` (#36847) 2020-08-31 11:41:11 -07:00
integration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
module_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00