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: Rebased, ignored requests cached by ServiceWorkers and addressed Sebastian's feedback Created March 13, 2018, 6:08 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
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,

Powered by Google App Engine
This is Rietveld