Closed Bug 227653 Opened 22 years ago Closed 16 years ago

Install.refreshPlugins should autoregister XPCOM components

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ilya.konstantinov+future, Unassigned)

Details

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? :)
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
This code is dead.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.