angular-docs-cn/packages/service-worker/test
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
..
async.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
comm_spec.ts fix(service-worker): listen for messages on the right event source (#19954) 2017-10-26 16:04:59 -04:00
integration_spec.ts fix(service-worker): listen for messages on the right event source (#19954) 2017-10-26 16:04:59 -04:00