mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
parent
ec4bbcb6f1
commit
f1f9dde29e
4 changed files with 17 additions and 2 deletions
|
|
@ -25,12 +25,15 @@ using namespace mozilla;
|
|||
|
||||
/* Keeps track of whether or not CSP is enabled */
|
||||
bool CSPService::sCSPEnabled = true;
|
||||
/* Keeps track of whether or not CSP reporting is enabled */
|
||||
bool CSPService::sCSPReportingEnabled = true;
|
||||
|
||||
static LazyLogModule gCspPRLog("CSP");
|
||||
|
||||
CSPService::CSPService()
|
||||
{
|
||||
Preferences::AddBoolVarCache(&sCSPEnabled, "security.csp.enable");
|
||||
Preferences::AddBoolVarCache(&sCSPReportingEnabled, "security.csp.reporting.enabled");
|
||||
}
|
||||
|
||||
CSPService::~CSPService()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue