In a previous version of the spec, event handlers were installed on the
global object in the service worker. Since event handlers are now
registered on the ServicePortCollection object (navigator.services), the
event needs to be fired at that object instead.
In a previous version of the spec, event handlers were installed on the global object in the service worker. Since event handlers are now registered on the ServicePortCollection object (navigator.services), the event needs to be fired at that object instead.