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
Location-permissions icon not dynamically removed from URL bar on permissions-lifetime timeout.
Found while testing #14126 - so am not sure this is a bug, but wanted to cover it.
Steps to Reproduce
launch Brave using --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=9,"*/brave_user_model/*"=6 --permission-lifetime-test-seconds=20
via brave://flags, set the Permissions Lifetime flag to Enabled
restart Brave again using the above command-line parameters
load https://permission.site
click on Location
choose 20 seconds from the Give permission prompt
click Allow
click on the location-permission icon in the URL bar
confirm it reads Continue allowing this site to access your location
wait the remainder of the 20 seconds
click again on the location-permission icon in the URL bar
Actual result:
The location-permissions icon:
is still present
toggles its radio button to now show Always block permission.site from accessing your location (from Continue allowing this site to access your location)
But brave://settings/content/location returns to defaults, with Ask before accessing (recommended) toggled on.
Expected result:
Not 100% sure; should the location-permission icon dynamically be removed once the permissions-lifetime duration expires?
If I reload the page, it's gone, which matches the restored defaults I find in brave://settings/content
Reproduces how often:
100%
Brave version (brave://version info)
Brave
1.24.72 Chromium: 90.0.4430.72 (Official Build) dev (x86_64)
I think it would be nice to clean up this, but not sure if it's worth it. Given that this only happens when the page is opened and it got hit with a 24hrs/1week trigger (short time periods are available only while we test it currently).
Maybe if we'll add short time periods (like 1hr), this can be elevated.
Description
Location-permissions icon not dynamically removed from URL bar on permissions-lifetime timeout.
Found while testing #14126 - so am not sure this is a bug, but wanted to cover it.
Steps to Reproduce
--enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=9,"*/brave_user_model/*"=6 --permission-lifetime-test-seconds=20
brave://flags
, set thePermissions Lifetime
flag toEnabled
https://permission.site
Location
20 seconds
from theGive permission
promptAllow
Continue allowing this site to access your location
Actual result:
The location-permissions icon:
Always block permission.site from accessing your location
(fromContinue allowing this site to access your location
)But
brave://settings/content/location
returns to defaults, withAsk before accessing (recommended)
toggled on.Expected result:
Not 100% sure; should the location-permission icon dynamically be removed once the permissions-lifetime duration expires?
If I reload the page, it's gone, which matches the restored defaults I find in
brave://settings/content
Reproduces how often:
100%
Brave version (brave://version info)
@goodov @pes10k what's the correct behavior, here? Thanks in advance!
The text was updated successfully, but these errors were encountered: