Index: lib/contentFiltering.js |
=================================================================== |
--- a/lib/contentFiltering.js |
+++ b/lib/contentFiltering.js |
@@ -243,23 +243,16 @@ |
{ |
inline = true; |
} |
let response = {trace, inline, emulatedPatterns}; |
if (trace || inline) |
response.selectors = selectors; |
- // If we can't remove user style sheets using tabs.removeCSS, we'll only keep |
- // adding them, which could cause problems with emulation filters as |
- // described in issue #5864. Instead, we can just ask the content script to |
- // add styles for emulation filters inline. |
- if (!styleSheetRemovalSupported) |
- response.inlineEmulated = true; |
- |
return response; |
}); |
port.on("content.injectSelectors", (message, sender) => |
{ |
updateFrameStyles(sender.page.id, sender.frame.id, message.selectors, |
message.groupName, message.appendOnly); |
}); |