Index: messageResponder.js |
=================================================================== |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -42,6 +42,8 @@ |
SpecialSubscription |
} = require("subscriptionClasses"); |
+ const {Services} = Cu.import("resource://gre/modules/Services.jsm"); |
+ |
// Some modules doesn't exist on Firefox. Moreover, |
// require() throws an exception on Firefox in that case. |
// However, try/catch causes the whole function to to be |
@@ -184,7 +186,9 @@ |
if (message.what == "features") |
{ |
return { |
- devToolsPanel: info.platform == "chromium" |
+ devToolsPanel: info.platform == "chromium" || |
+ info.application == "firefox" && |
+ Services.vc.compare(info.applicationVersion, "54") >= 0 |
Manish Jethani
2017/09/15 22:10:21
Since we're going to be getting rid of these Gecko
Sebastian Noack
2017/09/15 22:33:22
Probably we won't get rid of the implementation of
Thomas Greiner
2017/09/18 16:20:02
I'd say it's probably best to stick to what we've
Sebastian Noack
2017/09/18 18:17:28
I've submitted a patch to adblockpluscore, replaci
Manish Jethani
2017/09/19 06:06:59
LGTM, provided we also update the core dependency
Manish Jethani
2017/09/19 06:06:59
Sorry about going off on a bit of a tangent here,
|
}; |
} |