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

Unified Diff: lib/csp.js

Issue 29737602: Issue 4580 - Make filter/request logging use plain tabIds, prepare for multi-tab requests (Closed)
Patch Set: Created April 2, 2018, 12:27 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 | « no previous file | lib/cssInjection.js » ('j') | lib/devtools.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/csp.js
===================================================================
--- a/lib/csp.js
+++ b/lib/csp.js
@@ -58,9 +58,9 @@
return;
}
- devtools.logRequest(page, urlString, "CSP", hostname, thirdParty, null,
- specificOnly, cspMatch);
- FilterNotifier.emit("filter.hitCount", cspMatch, 0, 0, page);
+ devtools.logRequest([details.tabId], urlString, "CSP", hostname,
+ thirdParty, null, specificOnly, cspMatch);
+ FilterNotifier.emit("filter.hitCount", cspMatch, 0, 0, [details.tabId]);
if (cspMatch instanceof WhitelistFilter)
return;
« no previous file with comments | « no previous file | lib/cssInjection.js » ('j') | lib/devtools.js » ('J')

Powered by Google App Engine
This is Rietveld