Note: There are a few cases of duplicates in user autocompletion which are being worked on.
Last Comment Bug 227653 - Install.refreshPlugins should autoregister XPCOM components
: Install.refreshPlugins should autoregister XPCOM components
Status: RESOLVED INCOMPLETE
:
Product: Core Graveyard
Classification: Graveyard
Component: Installer: XPInstall Engine (show other bugs)
: Trunk
: x86 Linux
-- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-12-06 10:01 PST by Ilya Konstantinov
Modified: 2015-12-11 07:21 PST (History)
3 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description User image Ilya Konstantinov 2003-12-06 10:01:08 PST
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? :)
Comment 1 User image Ilya Konstantinov 2006-01-07 14:19:00 PST
This bug is only relevant for Seamonkey now, as FF/TB installations are done without JS code now. What should I assign it to?
Comment 2 User image Benjamin Smedberg [:bsmedberg] 2009-08-23 05:25:14 PDT
This code is dead.

Note You need to log in before you can comment on or make changes to this bug.