unsafe-eval is actually needed in CSP otherwise custom user scripts cannot be evaluated

This commit is contained in:
Fabio Manganiello 2020-06-30 12:33:08 +02:00
parent e116cebbbd
commit 3abec7910f

View file

@ -2,6 +2,7 @@
"name": "platypush", "name": "platypush",
"description": "Web extension for interacting with one or more Platypush instances via browser", "description": "Web extension for interacting with one or more Platypush instances via browser",
"version": "0.1.2", "version": "0.1.2",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {
"16": "icons/icon-16.png", "16": "icons/icon-16.png",