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: Created March 7, 2018, 2:14 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..2dfa1b0de1b67f19a1075389208f78eabb6f6c89 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");
Thomas Greiner 2018/03/07 14:34:44 Detail: I know that filter options are case insens
kzar 2018/03/07 15:11:40 Done.
+
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