-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Re-add the ability to allow/block individual scripts in Shields (webui part) #28510
Comments
Verification
Case 1: Per-site - Block/Allow
|
step 5 | step 7 | step 8 | step 10 | step 11 | step 12 | step 13 | Shields panel |
---|---|---|---|---|---|---|---|
Case 2: Global settings - Block/Allow Block scripts
setting via brave://settings/shields
- new profile
- launched Brave
- opened brave://settings/shields
- toggled
On
Block scripts
setting - visited https://www.nytimes.com/ in a new tab
- clicked on Shields icon to open Shields panel
- confirmed
Block scripts
is enabled and count (8) shown
- Confirmed able to toggle
Allow all
andBlock all
scripts - Confirmed able to toggle
allow/block
individual and embedded scripts - Confirmed Shields panel show correct blocked count next to Block scripts setting
2023-04-06_17h26_17.mp4
Case 3: Upgrade - new Block scripts UI in the Shields panel
1.Install 1.50.114
2. launch Brave
3. visited https://www.cnn.com/ in a new tab
4. clicked on Shields icon to open Shields panel
5. toggled On
Block scripts
setting
6. clicked on the blocked script count link (10)
7. verified 10 blocked scripts shown
8. closed the browser and renamed the profile to Brave-Browser-Beta
9. installed 1.51. 79
10. confirmed new UI (Allow all) is shown
11. clicked Allow all
12. confirmed Allow all
and Block all
scripts shown
13. clicked Shields arrow to return the Shields panel
14. confirmed blocked scripts count shown (42)
15. clicked again on the block script count
16. clicked Block all
to return show blocked scripts
17. clicked allow/block
on individual scripts
- Confirmed able to toggle
Allow all
andBlock all
scripts - Confirmed able to toggle
allow/block
individual and embedded scripts - Confirmed Shields panel show correct blocked count next to Block scripts setting
step 7 | step 10-11 | step 12 | step 14 | step 17 |
---|---|---|---|---|
Verification
|
Brave | 1.51.80 Chromium: 112.0.5615.49 (Official Build) beta (x86_64) |
---|---|
Revision | bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936} |
OS | macOS Version 11.7.5 (Build 20G1225) |
Case 1: Per-site - Block/Allow Block scripts
setting via Shields panel
- PASSED
Steps:
- installed
1.51.80
- launched Brave
- loaded
https://www.nbcnews.com/now
in a new tab - clicked on
Shields
icon to open Shields panel - toggled
Block scripts
setting toOn
- clicked on the blocked script count link
(38)
- clicked
Allow all
- confirmed
Allowed scripts (37)
andBlocked scripts (3)
shown - clicked
<--- Shields
to return theShields panel
- confirmed blocked scripts count shown
(37)
- clicked again on the block script count
- clicked
Block all
to return show blocked scripts - clicked
allow
/block
on individual scripts
- Confirmed able to toggle scripts via
Allow all
andBlock all
- Confirmed able to toggle
allow
/block
individual and embedded scripts - Confirmed
Shields panel
shows correct blocked count next toBlock scripts
setting
step 5 | step 7 | step 8 | step 10 | step 11 | step 12 | step 13 | Shields panel |
---|---|---|---|---|---|---|---|
Case 2: Global settings - Block/Allow Block scripts
setting via brave://settings/shields
- PASSED
Steps:
- new profile
- launched Brave
- opened
brave://settings/shields
- toggled
Block scripts
setting toOn
- opened
https://www.rt.com
in a new tab - clicked on
Shields
icon to openShields panel
- confirmed
Block scripts
is enabled andcount (9)
shown - clicked through to see the breakdown
- Confirmed able to toggle
Allow all
andBlock all
scripts - Confirmed able to toggle
allow
/block
individual and embedded scripts - Confirmed
Shields panel
shows correct blocked count next toBlock scripts
setting
step 3 | step 4 | step 5 | steps 6-7 | step 8 |
---|---|---|---|---|
Case 3: Upgrade - New Block scripts
UI in the Shields panel
- PASSED
Steps:
- installed
1.50.114
- launched Brave
- visited
huffpost.com
in a new tab - clicked on
Shields icon
to openShields panel
- toggled the
Block scripts
setting toOn
- clicked on the blocked script count link
(8)
- verified
8
blocked scripts shown - closed the browser and renamed the profile to
Brave-Browser-Beta
- installed
1.51.80
- confirmed new UI (
Allow all
) is shown - clicked
Allow all
- confirmed
Allow all
andBlock all
scripts shown - clicked
<--- Shields
to return theShields panel
- confirmed
blocked scripts
count shown(11)
- clicked again on the block script count
- clicked
Block all
to return show blocked scripts - clicked
allow
/block
on individual scripts
- Confirmed able to toggle
Allow all
andBlock all
scripts - Confirmed able to toggle
allow
/block
individual and embedded scripts - Confirmed
Shields panel
show correct blocked count next toBlock scripts
setting
step 7 | step 10-11 | step 12 | step 14 | step 17 |
---|---|---|---|---|
Verification passed on
Brave | 1.51.98 Chromium: 112.0.5615.165 (Official Build) beta (64-bit) |
---|---|
Revision | c262f36e6b1d711ee42d4fbe1343b49960593f18-refs/branch-heads/5615@{#1297} |
OS | Ubuntu 22.04 LTS |
Case 1: Per-site - Block/Allow Block scripts
setting via Shields panel
- PASSED
Steps:
- installed
1.51.98
- launched Brave
- loaded
https://www.nbcnews.com/now
in a new tab - clicked on
Shields
icon to open Shields panel - toggled
Block scripts
setting toOn
- clicked on the blocked script count link
(38)
- clicked
Allow all
- confirmed
Allowed scripts (37)
andBlocked scripts (3)
shown - clicked
<--- Shields
to return theShields panel
- confirmed blocked scripts count shown
(37)
- clicked again on the block script count
- clicked
Block all
to return show blocked scripts - clicked
allow
/block
on individual scripts
- Confirmed able to toggle scripts via
Allow all
andBlock all
- Confirmed able to toggle
allow
/block
individual and embedded scripts - Confirmed
Shields panel
shows correct blocked count next toBlock scripts
setting
Case 2: Global settings - Block/Allow Block scripts
setting via brave://settings/shields
- PASSED
Steps:
- new profile
- launched Brave
- opened
brave://settings/shields
- toggled
Block scripts
setting toOn
- opened
https://www.rt.com
in a new tab - clicked on
Shields
icon to openShields panel
- confirmed
Block scripts
is enabled andcount (9)
shown - clicked through to see the breakdown
- Confirmed able to toggle
Allow all
andBlock all
scripts - Confirmed able to toggle
allow
/block
individual and embedded scripts - Confirmed
Shields panel
shows correct blocked count next toBlock scripts
setting
Case 3: Upgrade - New Block scripts
UI in the Shields panel
- PASSED
Steps:
- installed
1.50.114
- launched Brave
- visited
huffpost.com
in a new tab - clicked on
Shields icon
to openShields panel
- toggled the
Block scripts
setting toOn
- clicked on the blocked script count link
(8)
- verified
8
blocked scripts shown - closed the browser and renamed the profile to
Brave-Browser-Beta
- installed
1.51.98
- confirmed new UI (
Allow all
) is shown - clicked
Allow all
- confirmed
Allow all
andBlock all
scripts shown - clicked
<--- Shields
to return theShields panel
- confirmed
blocked scripts
count shown(11)
- clicked again on the block script count
- clicked
Block all
to return show blocked scripts - clicked
allow
/block
on individual scripts
- Confirmed able to toggle
Allow all
andBlock all
scripts - Confirmed able to toggle
allow
/block
individual and embedded scripts - Confirmed
Shields panel
show correct blocked count next toBlock scripts
setting
Logged #29585 which I found whilst testing this issue. |
WebUI part for #24593 to apply design:
The text was updated successfully, but these errors were encountered: