angular-cn/packages/service-worker/worker/src
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
..
adapter.ts fix(service-worker): registration failed on Safari (#31140) 2019-06-24 14:58:58 -07:00
api.ts
app-version.ts feat(service-worker): support multiple apps on different subpaths of a domain (#27080) 2019-03-21 12:07:56 -04:00
assets.ts refactor(service-worker): make second parameter to `Adapter#parseUrl()` optional (#27080) 2019-03-21 12:07:56 -04:00
data.ts
database.ts
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
driver.ts feat(service-worker): support bypassing SW with specific header/query param (#30010) 2019-04-25 13:09:44 -07:00
error.ts
idle.ts
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
service-worker.d.ts
sha1.ts