summaryrefslogtreecommitdiff
path: root/dev/data/manifest-variants.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-18 21:16:39 -0400
committerGitHub <noreply@github.com>2020-09-18 21:16:39 -0400
commit2f4adbab2cbefba1898b4ce6f8ff5e03622cfd34 (patch)
tree3c93a79e9f426b53ad30db0906b3b73d25834afc /dev/data/manifest-variants.json
parente9d6c4cc928516647172c5ba3c938126390adfa2 (diff)
Handlebars sandbox (#612)
* Set up template renderer proxy * Use proxy * Remove unused handlebars script tags * Update manifest
Diffstat (limited to 'dev/data/manifest-variants.json')
-rw-r--r--dev/data/manifest-variants.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index 6d80d73d..587a41f8 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -67,6 +67,12 @@
"page": "bg/settings.html",
"open_in_tab": true
},
+ "sandbox": {
+ "pages": [
+ "bg/template-renderer.html"
+ ],
+ "content_security_policy": "sandbox allow-scripts; script-src 'self' 'unsafe-eval'; object-src 'self'"
+ },
"permissions": [
"<all_urls>",
"storage",
@@ -94,7 +100,8 @@
}
},
"web_accessible_resources": [
- "fg/float.html"
+ "fg/float.html",
+ "bg/template-renderer.html"
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"applications": {