Tobias Trelle wrote:
> 
> My request for having an autoRegister feature for XPCOM components
> posted in bug 74517
> http://bugzilla.mozilla.org/show_bug.cgi?id=74517
> seems to be fixed by a solution to bug 87913
> http://bugzilla.mozilla.org/show_bug.cgi?id=87913
> by incorporating the autoregister into
> 
>     navigator.plugins.refresh()
> 
> To get back to XPInstall: is the navigator object accesible from
> within a install.js script?
> 
> Tobias Trelle

The navigator object is not available, but an equivalent "refreshPlugins()"
method was added to the Install context in mid-March. I will have to check
to see where the autoReg call was added to see if the Install version will
pick up the change. If autoReg functionality does not get added to
navigator.plugins.refresh() --and I don't think it should-- then XPInstall
should add a refreshComponents() method.

-Dan Veditz

Reply via email to