Index: lib/cssInjection.js |
=================================================================== |
--- a/lib/cssInjection.js |
+++ b/lib/cssInjection.js |
@@ -164,12 +164,12 @@ |
let trace = devtools.hasPanel(sender.page.id); |
let inline = !userStyleSheetsSupported; |
- if (!checkWhitelisted(sender.page, sender.frame, |
+ if (!checkWhitelisted(sender.page, sender.frame, null, |
RegExpFilter.typeMap.DOCUMENT | |
RegExpFilter.typeMap.ELEMHIDE)) |
{ |
let hostname = extractHostFromFrame(sender.frame); |
- let specificOnly = checkWhitelisted(sender.page, sender.frame, |
+ let specificOnly = checkWhitelisted(sender.page, sender.frame, null, |
RegExpFilter.typeMap.GENERICHIDE); |
selectors = ElemHide.getSelectorsForDomain( |