{"json_modified": "2016-04-05T07:33:05.587692", "uuid": "0b68679c-397e-472b-83ae-c2adb3f639ae", "title": "message (ServiceWorker)", "url": "/en-US/docs/Web/Events/message_(ServiceWorker)", "tags": ["Service worker API", "Reference", "Event"], "translations": [], "modified": "2016-04-05T07:33:04", "label": "message (ServiceWorker)", "localization_tags": [], "locale": "en-US", "id": 170583, "last_edit": "2015-12-18T06:40:00", "summary": "When the following code is used inside the main thread to set up a message channel between it and a service worker for sending messages between the two, the event object of onmessage will be a ServiceWorkerMessageEvent.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Examples", "title": "Examples"}, {"id": "Inheritance", "title": "Inheritance"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/Events/message_(ServiceWorker)", "review_tags": []}