Closed Bug 339534 Opened 18 years ago Closed 18 years ago

navigator.plugins["RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit)"] is undefined

Categories

(Plugins Graveyard :: RealPlayer (Real), defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: digitales365, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060528 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060528 Minefield/3.0a1

Can't refer to RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit) by using its name. Works as expected in Opera and with other plug-in names.

Reproducible: Always

Steps to Reproduce:
1. Check that you have corresponding Real Player plug-in (go to about:plugins, I have latest Real Player 10.5 (6.0.12.1483))
2. Type javascript:alert(navigator.plugins["RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit)"]); into address bar.
Actual Results:  
undefined

Expected Results:  
[object Plugin]
They have decided to put a space at the end of the plugin name, so it's "RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit) ". If you want to check yourself, open about:plugins and look at the page source (the plugin name is in a <div>...</div>). Maybe you should also try to iterate through the plugins array and check for "^RealPlayer" (regular expression) in navigator.plugins[i].name to avoid this, since i don't know how the situation looks like on other platforms and as you already noticed the situation seems to be different in other browsers.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Component: Plug-ins → RealPlayer (Real)
Product: Core → Plugins
QA Contact: plugins → real-player
Version: Trunk → unspecified
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.