Service worker port API reference
Note: This Service worker is part of Mozilla's Social API. If you are looking for information on the new W3C ServiceWorker proposal for caching, http response control , etc., go to the ServiceWorker landing page instead.
Not part of any specification.
||An event listener that is called whenever a
void postMessage( Object aMessage );
The object to deliver to the worker; this will be in the data field in the event delivered to the
Immediately closes the port.