commit | 665a49c42f91bb4259dd570de6f959be21d65ca6 | [log] [tgz] |
---|---|---|
author | xiang.long <xiang.long@intel.com> | Tue Jun 30 03:53:00 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 30 03:53:40 2015 |
tree | 0b0eeb608b250f5b67db0c965394745bbe5c4aae | |
parent | 087ec22e33df67073e3874aa6de0b0fbbf6b8101 [diff] |
ServiceWorker: 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 Review URL: https://codereview.chromium.org/1141813002 Cr-Commit-Position: refs/heads/master@{#336725}