Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: devtools-panel.js

Issue 29716584: Issue 6451 - Generate $csp exception filters properly (Closed)
Patch Set: Lowercase the $csp option Created March 7, 2018, 3:10 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devtools-panel.js
diff --git a/devtools-panel.js b/devtools-panel.js
index 8a09fe0069a2e9f1501c0288810864a4d3934d34..7efb35e1ea2535f7318607eaedfe647bda22e2c6 100644
--- a/devtools-panel.js
+++ b/devtools-panel.js
@@ -49,6 +49,9 @@ function generateFilter(request, domainSpecific)
domainSpecific = true;
}
+ if (request.type == "CSP")
+ options.push("csp");
+
if (domainSpecific)
options.push("domain=" + request.docDomain);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld