Closed
Bug 62916
Opened 24 years ago
Closed 23 years ago
[RFE]install needs to be able to refresh plugins
Categories
(Core Graveyard :: Installer: XPInstall Engine, enhancement, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: dveditz, Assigned: slogan)
References
Details
(Whiteboard: [xpiprd])
Attachments
(2 files)
11.64 KB,
patch
|
Details | Diff | Splinter Review | |
1.51 KB,
text/plain
|
Details |
Must be able to do the equivalent of "navigator.plugins.refresh(true)" from an
install script after having installed a plugin.
Reporter | ||
Updated•24 years ago
|
Reporter | ||
Comment 1•24 years ago
|
||
We need the refresh feature to work before we can support this in the install
script.
Depends on: 61388
Reporter | ||
Updated•24 years ago
|
Whiteboard: [xpiprd]
Comment 2•24 years ago
|
||
navigator.plugins.refresh(true);
elicites the following in install.log:
** Line: 53 navigator is not defined
Install **FAILED** with error -229
Reporter | ||
Comment 3•24 years ago
|
||
We are not planning on supporting the "navigator" object in the install script
(see bug 7022 for discussion). We will be implementing an "equivalent of" that,
details to be determined but probably something straightforward like
Install.refreshPlugins().
navigator.plugins.refresh is now supported in the plugin code. Reassigning to
the owner of the selected component.
Assignee: dveditz → dbragg
Oops, sorry, I should have probably not reassigned it. Rolling back.
Assignee: dbragg → dveditz
Reporter | ||
Comment 6•24 years ago
|
||
Reporter | ||
Comment 7•24 years ago
|
||
A few new files are included in the patch. Not included are the required
changes to the Mac projects -- I promise I will not forget those when checking
in.
Keywords: patch
Reporter | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9 → mozilla0.8.1
Comment 9•24 years ago
|
||
ok, sr=mscott
I'm going home now. If you need more super reviews tonight, aim me at home.
Reporter | ||
Comment 10•24 years ago
|
||
fix checked-in 3/13/2001
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 11•24 years ago
|
||
Build: 2001-03-20-09-Mtrunk(WIN), 2001-03-20-08-trunk(MAC),
2001-03-20-13-Mtrunk(LINUX)
This is working on all platforms.
http://jimbob/jars/a_refreshplugins_win.xpi
http://jimbob/jars/a_refreshplugins_mac.xpi
http://jimbob/jars/a_refreshplugins_linux.xpi
Marking Verified!
Status: RESOLVED → VERIFIED
Comment 12•23 years ago
|
||
Unfortunately, this doesn't work. Try installing any plugin and then calling
navigator.plugins.refresh(1) from the XPInstall script. The plugin and the
corresponding mime types array are NOT refreshed. Re-opening. Note that since
this was on the 0.8.1 radar, and dveditz checked in a fix, this is clearly a
regression.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 13•23 years ago
|
||
nominating mozilla0.9.2 since this appears to be a real serious regression that
blocks EA.
Re-assigning to syd in dveditz's absence.
Keywords: mozilla0.9.2
Target Milestone: mozilla0.8.1 → mozilla0.9.2
Comment 14•23 years ago
|
||
This is actually fixed as Dan and Jimmy had indicated. The function to call to
refresh the plugins from within the xpinstall context is:
refreshPlugins();
it'll return an error value as well (0 if successfull). I'll attach a sample
.js script.
Status: NEW → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
Comment 16•23 years ago
|
||
No code changes made. This still works as verified from 3/20/2001. Marking
Verified.
Status: RESOLVED → VERIFIED
Comment 17•22 years ago
|
||
[RFE] is deprecated in favor of severity: enhancement. They have the same meaning.
Severity: major → enhancement
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•