[Webkit-unassigned] [Bug 225645] New: Safari 14 navigator.onLine returns true despite wifi turned off
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 11 02:28:55 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225645
Bug ID: 225645
Summary: Safari 14 navigator.onLine returns true despite wifi
turned off
Product: WebKit
Version: Safari 14
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: paulmeyerber at gmail.com
Created attachment 428259
--> https://bugs.webkit.org/attachment.cgi?id=428259&action=review
Offline, could not load page but navigator.onLine returns true
The Safari Browser is currenly unable to distinguish between being online or offline.
"In Chrome and Safari, if the browser is not able to connect to a local area network (LAN) or a router, it is offline; all other conditions return true"
This seemed to have been true in the past, but currently is not working
How to reproduce:
Turn off Wifi and make sure not ethernet connection exists.
Try to open web page in Safari (e.g www.google.com or any other)
Open inspector
Go to console
type `navigator.onLine`
Expected Behaviour:
Returns false
Observed Behaviour:
Returns true
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210511/7764630c/attachment.htm>
More information about the webkit-unassigned
mailing list