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 |
}; |
} |