mkruisselbrink / navigator-connect

Apache License 2.0
25 stars 8 forks source link

Connect algorithm: fire connect event at navigator.services, not global. #42

Closed mgiuca closed 9 years ago

mgiuca commented 9 years ago

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.