You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, particularly in a PWA context, it is necessary to check if the user has an active internet connection. This is easily achieved in other browsers by simply checking the value of window.navigator.onLine. In Brave, this value is always false.
This could very well be intentional, but I don't see how removing this enhances user security or anything like that.
Steps to Reproduce
Open the console on any page
Type "window.navigator.onLine" or "navigator.onLine"
The value returned should is false
Actual result:
The value false is returned
Expected result:
The value true should be returned when the user has an internet connection
Description
Sometimes, particularly in a PWA context, it is necessary to check if the user has an active internet connection. This is easily achieved in other browsers by simply checking the value of window.navigator.onLine. In Brave, this value is always false.
This could very well be intentional, but I don't see how removing this enhances user security or anything like that.
Steps to Reproduce
Actual result:
The value false is returned
Expected result:
The value true should be returned when the user has an internet connection
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
1.65.130 Chromium: 124.0.6367.159 (Offisiell delversjon) (arm64)
Version | 67843557ad274aba4b206391773c789c174b7fad
OS | macOS Version 14.4.1
Version/Channel Information:
Other Additional Information:
Issue present regardless of Brave Shields.
The text was updated successfully, but these errors were encountered: