Closed
Bug 796978
Opened 12 years ago
Closed 12 years ago
navigator.offline & navigator.online do not fire when network is lost or returns.
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
DUPLICATE
of bug 654579
People
(Reporter: JStagner, Unassigned)
Details
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)
Comment 1•12 years ago
|
||
As far as I know this is on purpose. There are bugs about this feature.
Comment 2•12 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=654579#c1 https://bugzilla.mozilla.org/show_bug.cgi?id=654579#c3
Reporter | ||
Comment 3•12 years ago
|
||
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
Closed: 12 years ago
Resolution: --- → DUPLICATE
oops, I meant bug 654579 of course
Assignee | ||
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•