[FIXED] The new contextual policies feature does not apply permissions correctly.
Posted: Sat Feb 19, 2022 1:23 pm
NoScript does not apply permissions correctly the first time an allowed page is visited in a tab when using the new contextual policies feature.
Steps to reproduce on Firefox 97.0.1 with NoScript 11.3.2
Steps to reproduce on Firefox 97.0.1 with NoScript 11.3.2
- Starting from a fresh profile go to example.com (any page that uses scripts and is not already included in NoScript's default per-site permissions list)
- Click the NoScript icon then click the custom icon for example.com
- Change the "Enable these capabilities when the top page matches" drop down menu from "ANY SITE" to "...example.com"
- Click the script check box to allow scripts
- Click somewhere outside NoScript's menu and the page should reload
- Note that the scripts on example.com will work as expected
- Open a new tab
- Go to example.com in the new tab
- Despite having been set to allow scripts on example.com NoScript will incorrectly block scripts as well as any other capabilities that were enabled for example.com
despite that NoScript is actually blocking the page scripts.