Re: [push-api] events should be part of PushSubscription (#104)

There are still some inconsistencies in the document, I think you found one here. My apologies, the spec is still in Draft state.

I'd like to step back and ask you what your goal is. The most important difference between the Push API and Server-sent Events [1][2] is in supporting this use case:

> the webapp is not currently active in a browser window: this relates to use cases in which the user may close the webapp, but still benefits from the webapp being able to be restarted when a push message is received

If this does not fit your use case, why not use Server-sent Events?

[1] https://html.spec.whatwg.org/multipage/comms.html#server-sent-events
[2] http://www.html5rocks.com/en/tutorials/eventsource/basics/

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/104#issuecomment-69745798

Received on Tuesday, 13 January 2015 13:48:22 UTC