Closed
Bug 886487
Opened 11 years ago
Closed 9 years ago
Offline page is not shown when wifi is enabled but not connected to any network
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: krupa.mozbugs, Assigned: bagder)
References
()
Details
Attachments
(1 file)
(deleted),
image/jpeg
|
Details |
steps to reproduce:
1. Turn wifi ON
2. While the wifi is still connecting, launch marketplace app
expected behavior:
marketplace app offline page loads or we show the loading screen
observed behavior:
The browser "Server not Found" error. Looks like Navigator.online is providing inaccurate info to the app.
See screenshot.
Comment 1•11 years ago
|
||
`navigator.onLine` is being reported as `true` when the wifi is enabled but a network connection cannot be established. This is also the case on desktop Firefox (see bug 654579).
Autodetection of a stable network connection would rely on connecting to a determined stable site (e.g., google.com) first to check if we truly have Internet connectivity. I can't think of another way around this, but I welcome ideas.
Component: Consumer Pages → Gaia
Product: Marketplace → Boot2Gecko
Version: 1.0 → unspecified
Updated•11 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → daniel
Assignee | ||
Comment 2•10 years ago
|
||
"offline" in this sense means that there is no chance of connectivity - which on most operating systems will be when there is no available (non-loopback) network interface that is UP.
Firefox does not detect and cannot reliably detect what you can and cannot reach over said network interfaces so that does not effect the online/offline status.
A captive portal detector as per bug 1048131 would however be able to detect this case as not able to reach the open internet.
So, I claim this bug report is not a bug but states that things work as intended.
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•