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

Unified Diff: lib/devtools.js

Issue 29680696: [$csp4 adblockpluschrome] Issue 5241 - Add support for Content Security Policy filters (Closed)
Patch Set: Make use of stringifyUrl and remove unused WhitelistFilter Created March 14, 2018, 10:45 a.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
« lib/csp.js ('K') | « lib/csp.js ('k') | lib/requestBlocker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/devtools.js
diff --git a/lib/devtools.js b/lib/devtools.js
index 167a7650e990cb3819b50d719a3e25501caf9e5f..3e08366bb92077383a63d535f3a6d34549a9a891 100644
--- a/lib/devtools.js
+++ b/lib/devtools.js
@@ -27,7 +27,8 @@ const {FilterNotifier} = require("filterNotifier");
const {extractHostFromFrame} = require("url");
const {port} = require("messaging");
-const nonRequestTypes = ["DOCUMENT", "ELEMHIDE", "GENERICBLOCK", "GENERICHIDE"];
+const nonRequestTypes = ["DOCUMENT", "ELEMHIDE",
+ "GENERICBLOCK", "GENERICHIDE", "CSP"];
// Mapping of inspected tabs to their devpanel page
// and recorded items. We can't use a PageMap here,
« lib/csp.js ('K') | « lib/csp.js ('k') | lib/requestBlocker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld