angular-cn/packages/service-worker
Alex Rickabaugh 5adb7c9669 fix(service-worker): listen for messages on the right event source (#19954)
Currently, the SwUpdate service doesn't receive messages from the SW.
This is because it attempts to subscribe to the 'message' event on
ServiceWorkerRegistration, when really messages are emitted by the
ServiceWorkerContainer.

This change moves to listening on ServiceWorkerContainer and changes
the mocks to reflect the way the browser actually works.

PR Close #19954
2017-10-26 16:04:59 -04:00
..
cli fix(service-worker): use posix path resolution for generation of ngsw.json (#19527) 2017-10-17 15:18:17 -07:00
config build(service-worker): set skipTemplateCodegen for build (#19875) 2017-10-23 19:31:42 -04:00
src fix(service-worker): listen for messages on the right event source (#19954) 2017-10-26 16:04:59 -04:00
test fix(service-worker): listen for messages on the right event source (#19954) 2017-10-26 16:04:59 -04:00
testing fix(service-worker): listen for messages on the right event source (#19954) 2017-10-26 16:04:59 -04:00
worker fix(service-worker): PushEvent.data has to be decoded (#19764) 2017-10-18 11:18:34 -07:00
build.sh feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
index.ts fix(aio): add service worker entrypoint to aio build (#19875) 2017-10-23 19:31:42 -04:00
package.json feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
public_api.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
rollup.config.js feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
tsconfig-build.json build(service-worker): set skipTemplateCodegen for build (#19875) 2017-10-23 19:31:42 -04:00