Issue metadata
Sign in to add a comment
|
Online Offline API don't work
Reported by
jakub.ja...@contractors.roche.com,
Aug 24 2017
|
||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
Steps to reproduce the problem:
1. Add window.addEventListener('offline', fn);
2. disconnect from WiFi
What is the expected behavior?
The event is fired
What went wrong?
The event is not fired and navigator.onLine return true.
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 60.0.3112.101 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
Here is demo and the comments indicate that this don't work anymore https://developers.google.com/web/updates/2011/06/navigator-onLine-in-Chrome-Dev-channel
,
Aug 28 2017
It work on Chromium/Linux
,
Aug 31 2017
jkarlin@, I think you're working on a related area, right?
,
Aug 31 2017
Hmm, it's possible that your machine has another device that makes Chrome think that it's online, like a virtual machine tunnel device. Can you run 'ipconfig' from a command prompt and paste the results here? Feel free to replace any of the IP or MAC numbers with fake numbers, I'm just looking to see if there are any devices that would make Chrome think that it's online.
,
Aug 31 2017
Got this in output Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::9442:52b0:3fde:de3%16 IPv4 Address. . . . . . . . . . . : 192.168.56.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : other section have: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : will try to uninstall VirtualBox and see if the api will work.
,
Aug 31 2017
It work when I've uninstalled VirtualBox
,
Aug 31 2017
Perfect, thanks for doing that. So we just need to add the device's name to the list of ignored devices. I'll take care of that.
,
Aug 31 2017
This is a duplicate of Issue 231912
,
Aug 31 2017
So it is. And it's old. And it's assigned to me. Sigh. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by manoranj...@chromium.org
, Aug 24 2017Labels: Needs-Triage-M60