Index: lib/appSupport.js |
=================================================================== |
--- a/lib/appSupport.js |
+++ b/lib/appSupport.js |
@@ -862,7 +862,7 @@ |
if (!host) |
return; |
- if (Policy.isWhitelisted(location.spec)) |
+ if (Policy.isWindowWhitelisted(exports.getBrowser(window).contentWindow)) |
Wladimir Palant
2014/08/14 19:58:15
Please revert the changes to this file. Sitekeys s
Thomas Greiner
2014/08/29 15:57:29
Done.
|
UI.removeWhitelist(window); |
else |
UI.toggleFilter(Filter.fromText("@@||" + host + "^$document")); |
@@ -902,7 +902,7 @@ |
if (!host) |
return; |
- if (host && Policy.isWhitelisted(location.spec)) |
+ if (host && Policy.isWindowWhitelisted(exports.getBrowser(window).contentWindow)) |
action = "enable_site"; |
else if (host) |
action = "disable_site"; |