Install.refreshPlugins should autoregister XPCOM components

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
15 years ago
3 years ago

People

(Reporter: ilya.konstantinov+future, Unassigned)

Tracking

Trunk
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
Install.refreshPlugins method should autoregister XPCOM components before
refreshing plugin info, just like PluginArray.refresh (navigator.plugins.refresh
from JS) does.

You can see the PluginArray.refresh implementation at:
http://lxr.mozilla.org/mozilla/dom/src/base/nsPluginArray.cpp#183
and our current implementation in XPInstall at:
http://lxr.mozilla.org/mozilla/xpinstall/src/nsXPIProxy.cpp#47

Basically, we're missing the call to AutoRegister() on the XPCOM component manager.

Fixing this bug would allow us to XPInstall XPCOM components and make them
available right away, without requiring a restart, by simply calling
RefreshPlugins after installation.

(And have I mentioned I made it trivial to fix? :)
(Reporter)

Comment 1

13 years ago
This bug is only relevant for Seamonkey now, as FF/TB installations are done without JS code now. What should I assign it to?
Assignee: xpi-engine → nobody
QA Contact: xpi-engine

Comment 2

9 years ago
This code is dead.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → INCOMPLETE
(Assignee)

Updated

3 years ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.