Closed Bug 836841 Opened 12 years ago Closed 4 years ago

make makeNicePluginName accessible from more places

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: keeler, Unassigned)

References

Details

makeNicePluginName (in browser-plugins.js) is a utility function that strips off unnecessary version numbers and other confusing things form plugin names (for example, it also changes "Shockwave Flash" to the more recognizable "Adobe Flash").
Previously, only browser-plugins.js needed this function, but with the changes coming in bug 775857 and bug 821892, it needs to be more widely available. One option is to put it into an idl (e.g. nsIPluginHost.idl) so any privileged javascript can call it. This would certainly work, but that would mean implementing it in C++. Maybe there's a more lightweight solution?

We're in the process of removing support for plugins (bug 1677160), so I think this bug is irrelevant now.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.