chromium / axiom

Axiom Project
https://chromium.github.io/axiom/web_shell/
Apache License 2.0
53 stars 26 forks source link

Make service-worker / page connection reliable #224

Closed gaurave closed 9 years ago

gaurave commented 9 years ago

Review in order of #222 #223 #224

The worker pings the page every 10 seconds to refresh the connection, in case there is no pending fetch request. This allows the connection to be active all the time.

However, if the connection is broken from the page side, this will still fail. I will add the message polling on the page side in a follow up PR.

@rpaquay

rpaquay commented 9 years ago

lgtm