From e2f7de8fea002f15c7cc66ea0d3b565919ec4de3 Mon Sep 17 00:00:00 2001 From: hackademix Date: Wed, 25 Dec 2019 23:09:56 +0100 Subject: Added "ping" (beacon/ping) capability control. --- src/common/Policy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/Policy.js b/src/common/Policy.js index e7818d9..4720532 100644 --- a/src/common/Policy.js +++ b/src/common/Policy.js @@ -274,7 +274,7 @@ var {Permissions, Policy, Sites} = (() => { } - Permissions.ALL = ["script", "object", "media", "frame", "font", "webgl", "fetch", "other"]; + Permissions.ALL = ["script", "object", "media", "frame", "font", "webgl", "fetch", "ping", "other"]; Permissions.IMMUTABLE = { UNTRUSTED: { "script": false, @@ -282,6 +282,7 @@ var {Permissions, Policy, Sites} = (() => { "webgl": false, "fetch": false, "other": false, + "ping": false, }, TRUSTED: { "script": true, -- cgit v1.2.3