Dev tools - sensors geolocation override not working

Description of the issue:
Under devtools/sensors, if you want to override the geolocation, does not work due to an error in the “timezone id”. Is not accepting any input in the field. If you go to “manage”, there are no options for the timezone id. The screen differs from the one chrome shows.

Steps to Reproduce (add as many as necessary): 1. 2. 3.
go to dev tools (f12), open “more tools/sensors”. Try to change the geolocation. The timezone id field will be marked red, no matter what you put in there.
Go to “manage”, timezone info is missing.

Actual Result (gifs and screenshots are welcome!):
Brave - sensors manage Brave - sensors

Chrome - sensors
Expected result:

Reproduces how often:
always
Operating System and Brave Version(See the About Brave page in the main menu):
Windows 10.

Brave is up to date: Version 1.1.22 Chromium: 79.0.3945.79 (Official Build) (64-bit)

Additional Information:

Just found that under “manage”, if you edit the entry, it will ask for the timezone, and then it will work. So it seems to be just a matter of populating the missing timezone ids.
I modified “Tokyo”, adding “Asia/Tokyo” and now it works.
By the way, you can use https://mathiasbynens.be/demo/timezone to try it.

2019-12-18 10_42_47-Timezone-dependent code example - Brave

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.