Hello,
We support multiple versions of Netscape/Mozilla and our xpi needs to react
differently based on the browser version. I developed the installer on
Windows using InstallTrigger.getVersion("browser"), which worked fine with
NS6.2, 7.0, and 7.1. When I went to test the installer on Linux it doesn't
work. InstallTrigger.getVersion("Browser") appears to return null on both
6.2 and 7.0 on Linux, while returning 7.0 for NS7.1 on Linux.
Is there another way I could *reliably* get the browser version? I would
think that with XPCOM incompatibilities between earlier versions this would
be a common requirement.
I was thinking of possibly using the buildID constant but that is not as
clean as getVersion/compareVersion and would seem just as likely to be
broken. Is that always available and correct?
Any other ideas?
Thanks a lot.
-john_______________________________________________ Mozilla-xpinstall mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpinstall
