Add support for CSP v3 "worker-src" directive

This commit is contained in:
wolfbeast 2018-03-03 11:21:43 +01:00 committed by Roy Tam
commit 0665a343a5
23 changed files with 469 additions and 47 deletions

View file

@ -61,6 +61,7 @@ interface nsIContentSecurityPolicy : nsISerializable
const unsigned short BLOCK_ALL_MIXED_CONTENT = 19;
const unsigned short REQUIRE_SRI_FOR = 20;
const unsigned short SANDBOX_DIRECTIVE = 21;
const unsigned short WORKER_SRC_DIRECTIVE = 22;
/**
* Accessor method for a read-only string version of the policy at a given