A response served with Content-Security-Policy: sandbox allow-scripts
gets an opaque origin, so Shields has no site to scope a per-site exception
to. The reported bug: it writes the toggle into the global defaults instead,
so turning Block scripts off on one sandboxed page turns scripts on
everywhere.
Open the sandboxed page (control: same page, no CSP header).
Shields was never touched for this origin, so this
reading follows the global Block Scripts default.
Scripts BLOCKED here.
brave://settings/shields: turn the global Block Scripts
default on.Fixed: still BLOCKED, global default untouched.
Bug: now ALLOWED, and
brave://settings/shields shows Block Scripts off.
The sandboxed page lacks
allow-top-navigation, so its links do nothing; use the back button.
Restore the global default when done.