summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/CapsCSP.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/CapsCSP.js b/src/common/CapsCSP.js
index 4b8fde6..6621c95 100644
--- a/src/common/CapsCSP.js
+++ b/src/common/CapsCSP.js
@@ -11,16 +11,16 @@ function CapsCSP(baseCSP = new CSP()) {
blockedTypes.add("worker");
if (!blockedTypes.has("object")) {
// data: URIs loaded in objects may run scripts
- blockedTypes.add({name: "object", value: "http: https:"});
+ blockedTypes.add({name: "object", value: "http:"});
}
}
-
+
if (!blockHttp) {
// HTTP is blocked in onBeforeRequest, let's allow it only and block
// for instance data: and blob: URIs
for (let type of this.dataUriTypes) {
if (blockedTypes.delete(type)) {
- blockedTypes.add({name: type, value: "http: https:"});
+ blockedTypes.add({name: type, value: "http:"});
}
}
}