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

Unified Diff: lib/whitelisting.js

Issue 29551724: Noissue - Removed filters.isPageWhitelisted (dead code) (Closed)
Patch Set: Created Sept. 21, 2017, 10:31 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/whitelisting.js
===================================================================
--- a/lib/whitelisting.js
+++ b/lib/whitelisting.js
@@ -87,11 +87,6 @@
return match(page, page.url, typeMask);
};
-port.on("filters.isPageWhitelisted", (message, sender) =>
-{
- return !!checkWhitelisted(sender.page);
-});
-
function revalidateWhitelistingState(page)
{
FilterNotifier.emit(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld