DescriptionServiceWorker: Introduce ServiceWorkerMessageEvent to replace MessageEvent (2/3).
The message sent from Service Worker to its client will land at
navigator.serviceWorker.onmessage. The event type will be a new
ServiceWorkerMessageEvent which 'source' attribute could be
ServiceWorker or MessagePort.
This's the Chrome side CL to include ServiceWorker info when
dispatching message to renderer.
spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworkermessage-event-section
BUG=498596
Committed: https://crrev.com/665a49c42f91bb4259dd570de6f959be21d65ca6
Cr-Commit-Position: refs/heads/master@{#336725}
Patch Set 1 #
Total comments: 2
Patch Set 2 : for #3 #Patch Set 3 : #
Messages
Total messages: 13 (4 generated)
|