New issue
Advanced search Search tips

Issue 602683 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 586696
Owner: ----
Closed: Apr 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Throttling to "No Network" doesn't emit proper events/update window.navigator.onLine

Reported by jelly...@gmail.com, Apr 12 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Steps to reproduce the problem:
1. Open DevTools
2. Throttle your network to have no connection
3. Check `window.navigator.onLine`. It returns true, when it should return false.

This same problem exists for events listening to the online/offline events.

What is the expected behavior?
- window.navigator.onLine gets updated to `false` when the user throttles connection to be offline
- online/offline events are emitted as the throttle changes from online to offline

What went wrong?
- navigator.onLine was not updated.
- the connection events were not emitted.

Did this work before? N/A 

Chrome version: 49.0.2623.110  Channel: n/a
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0
 
Mergedinto: 586696
Status: Duplicate (was: Unconfirmed)
thx for reporting!!

Comment 2 by jelly...@gmail.com, Apr 12 2016

Ah – woops. A quick search didn't bring up the other issue. Sorry for the duplicate!

Sign in to add a comment