Closed
Bug 1461884
Opened 6 years ago
Closed 5 years ago
About feature "navigator.onLine"
Categories
(Developer Documentation Graveyard :: API: Device API, enhancement, P2)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: Kongqianglin, Unassigned)
References
()
Details
:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details I find that the API says firefox(version>=41) can support the HTML5 feature "navigator.onLine" to check whether the Network connection is available. My firefox version is 60(the lastest one for now). However, the navigator.onLine always return true regardless of the status of real network connection. And the value of navigator.onLine changes only when mannully changing the value of "work offline" setting. However, I tried same things my firends laptop, the value of navigator.onLine can work correctly. The only difference is that the OS of my friend is Mac and mine is Windows.
Updated•6 years ago
|
Component: Firefox OS → API: Device API
Priority: -- → P2
Comment 1•6 years ago
|
||
Per bug 654579, this is correct behavior. navigator.online only switches to false if the "Work Offline" setting is manually changed. There's lots of discussion there, so it's worth reviewing to see if changes to that were made.
Comment 2•5 years ago
|
||
Sounds like this is a WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•