Any API to allow extension writers to specify min (and max perhaps) version of Firebug?

25 views
Skip to first unread message

Dhruva Ray

unread,
Aug 16, 2013, 2:25:12 AM8/16/13
to fir...@googlegroups.com
Hi

Is there any API (or convention) to allow Firebug extension engineers to specify the min version of Firebug (possibly max version too)? A declarative way would be ideal with the appropriate error message thrown within the extension Firebug panel.

Please let me know.

Thanks,
Dhruva Ray

Jan Honza Odvarko

unread,
Aug 16, 2013, 7:37:47 AM8/16/13
to fir...@googlegroups.com


On Friday, August 16, 2013 8:25:12 AM UTC+2, Dhruva Ray wrote:
Hi

Is there any API (or convention) to allow Firebug extension engineers to specify the min version of Firebug (possibly max version too)? A declarative way would be ideal with the appropriate error message thrown within the extension Firebug panel.
There was <require> element available inside install.rdf, but abandoned due to much complexity and impact it would have to AMO.
See this thread:
https://groups.google.com/forum/#!topic/mozilla.dev.platform/u9QT2ZucV-c

In any case, you can dynamically check the current Firebug version using:
Firebug.getVersion() method and adjust the extension UI accordingly.


Honza


Dhruva Ray

unread,
Aug 17, 2013, 7:13:35 AM8/17/13
to fir...@googlegroups.com
Thanks Honza for sharing the link. We will use the getVersion() method suggested by you.

Regards,
Dhruva Ray 
Reply all
Reply to author
Forward
0 new messages