angular-docs-cn/packages/service-worker/worker/testing
Hoel IRIS a5dd4edab9 fix(service-worker): registration failed on Safari (#31140)
Since Angular v8, and commit b3dda0e, `parseUrl()` can be called without
`relativeTo`, thus `new URL()` can be called with `relativeTo = undefined`.

Safari does not like it and the service worker registration fails:
```js
new URL('https://angular.io/') // OK
new URL('https://angular.io/', undefined) // TypeError
```

Closes #31061

PR Close #31140
2019-06-24 14:58:58 -07:00
..
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
cache.ts fix(service-worker): do not blow up when caches are unwritable (#26042) 2018-09-24 09:53:39 -07:00
fetch.ts feat(service-worker): support bypassing SW with specific header/query param (#30010) 2019-04-25 13:09:44 -07:00
mock.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
scope.ts fix(service-worker): registration failed on Safari (#31140) 2019-06-24 14:58:58 -07:00