Bug 1169722 - Flip CSP and CSP-RO when displaying polcies reports in GCLI. r=sstamm

This commit is contained in:
Christoph Kerschbaumer 2015-05-29 11:33:39 -07:00
parent 84fb7bbf8f
commit ee1dd7bf28

View File

@ -66,8 +66,8 @@ exports.items = [
// encounter the 'report-only' flag, which is not a csp directive.
if (dir === POLICY_REPORT_ONLY) {
outHeader = curPolicy[POLICY_REPORT_ONLY] === true ?
CONTENT_SECURITY_POLICY :
CONTENT_SECURITY_POLICY_REPORT_ONLY;
CONTENT_SECURITY_POLICY_REPORT_ONLY :
CONTENT_SECURITY_POLICY;
continue;
}