When the network connection is lost or returned, it appears that the offline and online events do not appear to fire. There is a test here : http://html5-demos.appspot.com/static/navigator.onLine.html It works in Chrome Without this event sequence - apps (MozApps and FFOS apps) will not be able to adapt to network state without a recurring network ping (which is a bad option)
As far as I know this is on purpose. There are bugs about this feature.
Looks like this was "fixed" for Firefox OS https://bugzilla.mozilla.org/show_bug.cgi?id=777145
I reopened bug 650579. I think we made a decision there that's much less good for webdevelopers and users than what was proposed.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 650579
You need to log in before you can comment on or make changes to this bug.