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

Unified Diff: chrome/content/ui/sendReport.js

Issue 29333159: Issue 3407 - Remove Policy.isWindowWhitelisted() method and its callers (Closed)
Patch Set: Removed unrelated change Created Jan. 4, 2016, 7:34 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 | chrome/content/ui/sidebar.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/sendReport.js
===================================================================
--- a/chrome/content/ui/sendReport.js
+++ b/chrome/content/ui/sendReport.js
@@ -913,17 +913,17 @@ var issuesDataSource =
}
else
return false;
},
collectData: function(wnd, windowURI, callback)
{
this.contentWnd = wnd;
- this.whitelistFilter = Policy.isWindowWhitelisted(wnd);
+ this.whitelistFilter = Policy.isWhitelisted(windowURI.spec);
Thomas Greiner 2016/01/05 15:12:24 In line 591 we implement a fallback for when `wind
Wladimir Palant 2016/01/05 15:22:48 No, we will rather have to fix line 591 as part of
Thomas Greiner 2016/01/05 16:19:55 Fine with me then.
if (!this.whitelistFilter && this.isEnabled)
{
// Find disabled filters in active subscriptions matching any of the requests
let disabledMatcher = new CombinedMatcher();
for (let subscription of FilterStorage.subscriptions)
{
if (subscription.disabled)
« no previous file with comments | « no previous file | chrome/content/ui/sidebar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld