angular-cn/packages/service-worker/worker/src
Denis Omelkov 621b659aa9 fix(service-worker): allow creating post api requests after cache failure (#33930)
Before creating a mutating http request, service-worker
invalidates lru cache entry and writes to cache storage.
Therefore, cache storage failure can prevent making post requests.
Fix this by catching and logging cache error, add a test case.

Fixes #33793

PR Close #33930
2019-11-22 13:15:56 -05:00
..
adapter.ts fix(service-worker): registration failed on Safari (#31140) 2019-06-24 14:58:58 -07:00
api.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
app-version.ts fix(service-worker): continue serving api requests on cache failure (#32996) 2019-10-14 20:21:41 +00:00
assets.ts refactor(service-worker): make second parameter to `Adapter#parseUrl()` optional (#27080) 2019-03-21 12:07:56 -04:00
data.ts fix(service-worker): allow creating post api requests after cache failure (#33930) 2019-11-22 13:15:56 -05:00
database.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
db-cache.ts feat(service-worker): support multiple apps on different subpaths of a domain (#27080) 2019-03-21 12:07:56 -04:00
debug.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
driver.ts fix(service-worker): ensure initialization before handling messages (#32525) 2019-10-31 22:55:35 +00:00
error.ts fix(service-worker): do not blow up when caches are unwritable (#26042) 2018-09-24 09:53:39 -07:00
idle.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
manifest.ts fix(service-worker): detect new version even if files are identical to an old one (#26006) 2019-03-05 09:41:44 -08:00
msg.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
service-worker.d.ts refactor(service-worker): update tests based of review feedback (#25860) 2018-11-01 15:13:32 -07:00
sha1.ts perf: don't create holey arrays (#32155) 2019-08-21 08:27:43 -07:00