content_policy_scheme_whitelist: new user variable
commit766725ae58efe520ca5668934ce4ab0031ef0a4e
authorJohn Foerch <jjfoerch@earthlink.net>
Sun, 10 Oct 2010 18:22:47 +0000 (10 14:22 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Sun, 10 Oct 2010 18:22:47 +0000 (10 14:22 -0400)
tree186adf1863647d142fa9e402a79cac846c7124f0
parent1353c0bcd454c10c102058ddc5224b9dc3ce0c59
content_policy_scheme_whitelist: new user variable

This variable controls which uri schemes are automatically whitelisted.
Its default settings include the schemes 'about' and 'chrome', which in
all practicality, there is no reason to blacklist.  Automatically
whitelisting them simplifies the cases that must be considered in
content_policy_hook functions.
components/content-policy.js