Write regression tests for new NoScript options
Giorgio recently introduced three NoScript options just for us: noscript.cascadePermissions, noscript.restrictSubdocScripting, and noscript.globalHttpsWhitelist.
We intend to use these prefs to make it easier for people to use the security slider. The first two cause sub-scripts to be allowed on top-level sites for which the user allows scripts and blocked on top-level urls where scripting is blocked, and the third pref should allow HTTPS sub-scripts to run if and only if the url bar is also HTTPS.
Because we're the only people widely using these prefs, we should write regression tests to ensure this functionality does not break in future NoScript releases.
I am most concerned about the globalHTTPSWhitelist option, as I've already noticed some bugs. The cases we should test include:
- Do