W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2018

[Push API] Wait to trigger the events until the device is online

From: Marco Colli <collimarco91@gmail.com>
Date: Fri, 7 Sep 2018 23:29:21 +0200
Message-ID: <CAFvCgN4+r8LjV=6zuu2VaLvGGqUuSAuzf+vwyWuiYcZRNEV-7w@mail.gmail.com>
To: public-webapps@w3.org

In the spec <https://www.w3.org/TR/push-api/> I cannot find anything about
the network status (device online / offline).

The events triggered by the Push API (i.e. push, pushsubscriptionchange)
always require an internet connection in order to talk with the application
server (e.g. send delivery receipts, send new endpoint to server, download
notifications) or to display the notification (e.g. download icon, image).

I think that the browser should (MUST) wait to trigger those events
until the device is online, so that those events can be processed properly
without exceptions from fetch.
What do you think?

Marco Colli
Received on Friday, 7 September 2018 21:29:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:15:15 UTC