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: Rebased, restored adblockplusui dependency revision Created March 22, 2017, 7:10 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
« dependencies ('K') | « 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 7d2ecaa3df37a460e0f7bebb8d53f34e9bfd4015..b82e3785af3f7c967e427af09514c9d11038e2fc 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) =>
« dependencies ('K') | « lib/prefs.js ('k') | lib/subscriptionInit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld