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

Unified Diff: lib/requestBlocker.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Patch Set: Tidy up hasRecord and some notification logic Created March 31, 2017, 3:36 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
Index: lib/requestBlocker.js
diff --git a/lib/requestBlocker.js b/lib/requestBlocker.js
index 101a619ce844bd0f5d5513488a3c242a315ba082..472c57b5ae751e866f0912619c9d07641693fb89 100644
--- a/lib/requestBlocker.js
+++ b/lib/requestBlocker.js
@@ -40,11 +40,13 @@ function onBeforeRequestAsync(page, url, type, docDomain,
FilterNotifier.emit("filter.hitCount", filter, 0, 0, page);
if (devtools)
+ {
devtools.logRequest(
page, url, type, docDomain,
thirdParty, sitekey,
specificOnly, filter
);
+ }
}
ext.webRequest.onBeforeRequest.addListener((url, type, page, frame) =>

Powered by Google App Engine
This is Rietveld