Issue #2466 - Part 2: Implement script-src-elem and script-src-attr

This commit is contained in:
Moonchild 2024-02-04 20:15:14 +01:00 committed by roytam1
commit ff01a35bdb
12 changed files with 117 additions and 36 deletions

View file

@ -60,6 +60,8 @@ interface nsIContentSecurityPolicy : nsISerializable
const unsigned short REQUIRE_SRI_FOR = 20;
const unsigned short SANDBOX_DIRECTIVE = 21;
const unsigned short WORKER_SRC_DIRECTIVE = 22;
const unsigned short SCRIPT_SRC_ELEM_DIRECTIVE = 23;
const unsigned short SCRIPT_SRC_ATTR_DIRECTIVE = 24;
/**
* Accessor method for a read-only string version of the policy at a given