-
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
[Security] Shield feature "Allow scripts once" doesn't work #20503
Comments
Thanks for the report. Have chased down the regression in v1.35.17 Looking into it further.
|
I'm afraid this is likely related to brave/brave-core@6d7031c where, besides adapting tests, we were forced to adapt @iefremov @bridiver If any of you could take a look at this as Brave Shields experts, that would be great. It's possible that the way I adapted |
"Allow scripts once" is a pretty useful feature in shields - could we get it added to either manual QA runs or as an automated test to make sure this regression doesn't happen again? |
Greetings, |
Added |
|
Apparently we don't track blocked embedded scripts. Seems like this was always an issue, and if a website contains such script in the page body, then we still don't allow it when "Allow scripts once" is clicked. Also iframes sometimes don't work with "Allow scripts once" action. |
Closing this issue as brave/brave-core#11928 is already associated with this issue. When QAing the above, I ran into #20744. This will be fixed via brave/brave-core#12023 and will most likely be uplifted along side this one. |
Removing |
Verified
Steps:
Verified
Steps:
Verification PASSED on
|
That looks very promising! I don't know if MAC OS using Brave will/would be effective using Windows 10 + Brave Version 1.34.81 Chromium: 97.0.4692.99 (Official Build) (64-bit) which is the latest version according to ABOUT BRAVE. I'm assuming that the ALLOW SCRIPTS ONCE function will be fixed in an upcoming 1.35.+ version so we'll see. |
Description
Allow scripts once or Allow on individual scripts don't work, all scripts are still blocked
Steps to Reproduce
Actual result:
All scripts are still blocked
Before clicking Allow on www.w3schools.com scripts
After clicking Allow on www.w3schools.com scripts
Expected result:
Currently blocked scripts get loaded if Allow scripts once was clicked or individual scripts get loaded if Allow was clicked
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave | 1.34.80 Chromium: 97.0.4692.71 (Official Build) (64-bit)
Revision | adefa7837d02a07a604c1e6eff0b3a09422ab88d-refs/branch-heads/4692@{#1247}
OS | Windows 10 Version 21H1 (Build 19043.1415)
Version/Channel Information:
Yes
Yes
Not tested
Other Additional Information:
Yes
No
Shield feature unavailable on Chrome
Miscellaneous Information:
No additional info
The text was updated successfully, but these errors were encountered: