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: Stop using commonjs Created Feb. 21, 2017, 5:08 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
« no previous file with comments | « lib/prefs.js ('k') | lib/subscriptionInit.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/requestBlocker.js
diff --git a/lib/requestBlocker.js b/lib/requestBlocker.js
index a36c8bdcdb5982ddc44a0d53d2bb86ac689ccebc..6ef4144bd80ec657442f4f22de708ffa2cc3823a 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) =>
« no previous file with comments | « lib/prefs.js ('k') | lib/subscriptionInit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld