-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global cookies settings are not retained when a site is added/removed from the shields down
block
#26288
Comments
shields down
block shields down
block
Reproduced on Linux
|
@GeetaSarvadnya please use shields up/down terminology because "block" is confusing in this context. Also I assume "enable the shield manually" - means in the shields panel? Can you please update it to reflect that? |
@GeetaSarvadnya if you enable/disable with the shields panel, it will be www.nytimes.com, but in this ticket you specific nytimes.com in |
If I do If I then re-enable nytimes in the shields panel, it shows shields up (because the more specific match for So… there are two bugs here:
|
if I just enter |
based on the actual problem I think @boocmp would be the right person for this. |
@bridiver Yes, in the shields panel, I will update the steps. Thanks! |
Verification
|
Brave | 1.48.131 Chromium: 109.0.5414.87 (Official Build) beta (x86_64) |
---|---|
Revision | 2dc18eb511c56e012081b4abc9e38c81c885f7d4-refs/branch-heads/5414@{#1241} |
OS | macOS Version 11.7.2 (Build 20G1020) |
Case 1: Block wildcard entry for Shields - (Do not update Shields settings) - PASSED
- installed
1.48.131
- launched Brave
- visited
nytimes.com
site in a new-tab page - opened
brave://settings/content/braveShields
- clicked
Add
button in theShields Down
section underSites listed below...
- added
[*]nytimes.com
in the dialog - confirmed
Wildcards are not allowed for Brave Shields.
message displayed - clicked Cancel and added
www.nytimes.com
(enterwww
in order to disable Shields) - returned to
nytimes.com
tab - confirmed
Shields are Down
in the Shields panel - enabled Shields in the Shields panel
- expanded the
Advanced controls
in the Shields panel - confirmed
Block cross-site cookies
settings shown - returned to brave://settings/content/braveShields
- confirmed
www.nytimes.com
was removed from theShields Down
section - open brave://settings/shields
- confirmed
Block cookies
settings showOnly cross-site
as expected
Confirmed wildcard entries are blocked for Shields in brave://settings/content/braveShields
Confirmed cookie settings per site and Global settings show cross-site
step 3 | steps 6-7 | step 8 | step 10 | step 11 | step 13 | step 15 | step 17 |
---|---|---|---|---|---|---|---|
Case 2: Block wildcard entry for Shields - (Update Global Shields settings) - PASSED
- new profile
- visit
nytimes.com
in a new-tab page - open
brave://settings/content/braveShields
- click
Add
button in theShields Down
section underSites listed below...
- enter
www.nytimes.com
(enterwww
in order to disable Shields) - returned to nytimes.com tab
- confirmed
Shields Down
in the Shields panel - return to
brave://settings/content/braveShields
- click three dots to remove the entry (nytimes.com)
- returned to nytimes.com tab
- confirmed Shields is enabled and default shield settings are shown
- open
brave://settings/shields
in a new-tab - change settings for following:
- Trackers &ads blocking:
Aggressive
- Block fingerprinting:
Strict, may break sites
- Block cookies =
Disabled
- Trackers &ads blocking:
- returned to nytimes tab and verified that the updated global shield settings are shown
- returned to
brave://settings/content/braveShields
- add
www.nytimes.com
toShields Down
section - returned to nytimes tab and confirmed Shields is disabled
- enabled Shields for nytimes.com in the Shields panel
- confirmed updated Shield settings are retained (from Step 13)
- return to
brave://settings/shields
- change Global shield settings as below:
- Trackers and ads:
Standard
, - Block fingerprinting:
Standard
- Block cookies:
All
- Trackers and ads:
- return to
nytimes
tab and click Shields panel
Confirmed Shields panel shows updated Shields settings after adding and removing entry in brave://settings/shields
step 2 | step 4 | step 5 | step 7 | step 9 | step 11 | step 13 | step 14 | step 16 | steps 18-19 | step 21 | step 22 |
---|---|---|---|---|---|---|---|---|---|---|---|
Case 3: Allow wildcard entry for non-Shields content settings - PASSED
- new profile
- loaded
reddit.com
- confirmed permissions expiration modal is displayed
- open
brave://settings/content/notifications
- click
Add
button in theNot allowed to send notifications
- add
[*.]reddit.com
in the dialog - confirmed wildcard entry is allowed as expected
- return and refresh
reddit
tab and click the lock - confirmed
Notification
permissions are blocked - return to
brave://settings/content/notifications
- click three dots to remove the entry (reddit.com)
- confirmed
Notifications
are allowed
Confirmed wildcard entries are allowed for non-Shields content setting - brave://settings/content/notifications
step 2 | step 5 | step 6 | step 8 | step 10 | step11 | step 12 |
---|---|---|---|---|---|---|
Verification
Case 1: Block wildcard entry for Shields - (Do not update Shields settings) -
|
step 3 | step 6-7 | step 8 | step 10 | step 11-13 | step 15 | step 18 |
---|---|---|---|---|---|---|
Case 2: Block wildcard entry for Shields - (Update Global Shields settings) - PASSED
- new profile
- visit
nytimes.com
in a new-tab page - open
brave://settings/content/braveShields
- click
Add
button in theShields Down
section underSites listed below...
- enter
www.nytimes.com
(enterwww
in order to disable Shields) - returned to nytimes.com tab
- confirmed
Shields Down
in the Shields panel - return to
brave://settings/content/braveShields
- click three dots to remove the entry (nytimes.com)
- returned to nytimes.com tab
- confirmed Shields is enabled and default shield settings are shown
- open
brave://settings/shields
in a new-tab - change settings for following:
- Trackers &ads blocking:
Aggressive
- Block fingerprinting:
Strict, may break sites
- Block cookies =
Disabled
- Trackers &ads blocking:
- returned to nytimes tab and verified that the updated global shield settings are shown
- returned to
brave://settings/content/braveShields
- add
www.nytimes.com
toShields Down
section - returned to nytimes tab and confirmed Shields is disabled
- enabled Shields for nytimes.com in the Shields panel
- confirmed updated Shield settings are retained (from Step 13)
- return to
brave://settings/shields
- change Global shield settings as below:
- Trackers and ads:
Standard
, - Block fingerprinting:
Standard
- Block cookies:
All
- Trackers and ads:
- return to
nytimes
tab and click Shields panel
Confirmed Shields panel shows updated Shields settings after adding and removing entry in brave://settings/shields
step 2 | step 4 | step 5 | step 7 | step 9 | step 11 | step 13 | step 15 | step 16 | step 18 | step 19 | step 21 | step 22 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Case 3: Allow wildcard entry for non Shields content settings - PASSED
- new profile
- visit reddit.com
- confirmed permissions expiration modal is displayed
- open
brave://settings/content/notifications
- click
Add
button in theNot allowed to send notifications
- add
[*.]reddit.com
in the dialog - confirmed wildcard entry is allowed as expected
- return and refresh
reddit
tab and click the lock - confirmed
Notification
permissions are blocked - return to
brave://settings/content/notifications
- click three dots to remove the entry (reddit.com)
- confirmed
Notifications
are allowed
Confirmed wildcard entries are allowed for non Shields content setting - brave://settings/content/notifications
step 2 | step 6 | step 7 | step 9 | step 10 | step11 | step 12 |
---|---|---|---|---|---|---|
Description
Found while testing #12782
Cookies settings are not retained when a site is added/removed from the
shields down
blockSteps to Reproduce
Case 1:
Down
for nytimes.comUp
Up
for nytimes.comAllow all cookies
but the global shield cookies settings isBlock cross site cookies
Case 2:
nytimes.com
in shields down block underbrave://settings/content/braveShields
nytimes.com
in an NTP and ensure that shield is downnytimes.com
frombrave://settings/content/braveShields
Aggressive
, FF=Strict, may break sites
and cookies =Disabled
)Standard
, FF=Standard
and cookies =All
)Actual result:
Cookies settings are not retained when a site is added/removed from the
shields down
blockhttps://drive.google.com/file/d/1ZHYz488-D-nOKpITsRguIhwxNAJ4aSzk/view?usp=sharing
Expected result:
Cookies settings should be retained when a site is added/removed from the
shields down
blockReproduces how often:
Easy
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
cc: @brave/qa-team @rebron @spylogsster
The text was updated successfully, but these errors were encountered: