Index: lib/contentPolicy.js |
=================================================================== |
--- a/lib/contentPolicy.js |
+++ b/lib/contentPolicy.js |
@@ -252,26 +252,16 @@ var Policy = exports.Policy = |
if (index >= 0) |
url = url.substring(0, index); |
let result = defaultMatcher.matchesAny(url, RegExpFilter.typeMap.DOCUMENT, getHostname(parentUrl), false, sitekey); |
return (result instanceof WhitelistFilter ? result : null); |
}, |
/** |
- * Checks whether the page loaded in a window is whitelisted for indication in the UI. |
- * @param wnd {nsIDOMWindow} |
- * @return {Filter} matching exception rule or null if not whitelisted |
- */ |
- isWindowWhitelisted: function(wnd) |
- { |
- return this.isWhitelisted(getWindowLocation(wnd)); |
- }, |
- |
- /** |
* Deletes nodes that were previously stored with a |
* RequestNotifier.storeNodesForEntries() call or similar. |
* @param {string} id unique ID of the nodes |
*/ |
deleteNodes: function(id) |
{ |
let messageManager = Cc["@mozilla.org/parentprocessmessagemanager;1"] |
.getService(Ci.nsIMessageBroadcaster); |