From 09f68b7dff6e186638d4180df5a0d6c7dfd3e3f9 Mon Sep 17 00:00:00 2001 From: John Foerch Date: Wed, 15 Dec 2010 16:43:20 -0500 Subject: [PATCH] content_policy_scheme_whitelist: add 'data' and 'javascript' --- components/content-policy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/content-policy.js b/components/content-policy.js index b027d1e..1aab836 100644 --- a/components/content-policy.js +++ b/components/content-policy.js @@ -17,7 +17,7 @@ function content_policy () { .wrappedJSObject; this.conkeror.define_hook("content_policy_hook", "RUN_HOOK_UNTIL_SUCCESS"); this.conkeror.define_variable("content_policy_scheme_whitelist", - { about: true, chrome: true, "moz-icon": true }, + { about: true, chrome: true, data: true, javascript: true, "moz-icon": true }, "Requests whose scheme is in this structure (with a true value) "+ "will be whitelisted before calling content_policy_hook."); this.conkeror.content_policy_listener = this; -- 2.11.4.GIT