Closed
Bug 298558
Opened 20 years ago
Closed 20 years ago
InstallTrigger.getVersion("Plugins/...") returns null even if the plugin is correctly installed.
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 291178
People
(Reporter: tvs, Unassigned)
Details
Attachments
(1 file)
|
145 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
I call InstallTrigger.getVersion() from page's onload handler. When I start
Firefox (by clicking Firefox shortcut) and then open the page, getVersion()
works fine and returns correct plugin version. But when I open the page by
clicking page's shortcut (Firefox starts by assosiation) then getVersion()
returns null.
Reproducible: Always
Steps to Reproduce:
1. Install Flash Player plugin into Firefox
2. Create test.html:
<HTML>
<HEAD>
<script>
alert(InstallTrigger.getVersion("Plugins/Macromedia/Shockwave Flash"));
</script>
</HEAD>
<BODY>
</BODY>
</HTML>
3. Double click test.html in order to open it with Firefox
Actual Results:
'null' message in the alert box.
Expected Results:
correct Flash Player plugin version in the alert box.
page reloading doesn't fix the problem.| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Version: unspecified → 1.0 Branch
| Reporter | ||
Updated•20 years ago
|
Summary: InstallTrigger.getVersion("Plugin/...") returns null even if the plugin is correctly installed. → InstallTrigger.getVersion("Plugins/...") returns null even if the plugin is correctly installed.
Related to/duplicate of Core bug 291178?
| Reporter | ||
Comment 3•20 years ago
|
||
Yes, related. Sorry, I didn't search core bugs before reporting the bug.
Comment 4•20 years ago
|
||
*** This bug has been marked as a duplicate of 291178 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•