CB-8185 Use navigator.onLine as connection information source on browser platform

* add support for `online`/`offline` events for browser
This commit is contained in:
Vladimir Kotikov
2015-02-04 17:09:06 +03:00
parent daedbf68ad
commit a8c5507853
5 changed files with 103 additions and 56 deletions
+5
View File
@@ -121,6 +121,11 @@ eventually be removed.
- Firefox OS can't detect the type of cellular network connection.
- `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
### Browser Quirks
- Browser can't detect the type of network connection.
`navigator.connection.type` is always set to `Connection.UNKNOWN` when online.
# Network-related Events
## offline