Closed Bug 550668 Opened 14 years ago Closed 14 years ago

nsIPluginTag should expose fullpath

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached patch Patch for 1.9.2 (obsolete) — Splinter Review
Before bug 488181, it was possible for e.g. components to get the full path for individual plugins. As noted in comment 9 there, one could use pluginreg.dat for that, but parsing it is a complex task. On the other hand, the data is just there in an attribute of the nsPluginTag class.
This information is useful for Debian, where we added an extra component that dumps extensions and plugin informations to dump to bug reports we get from users. Having the full path allows to also know what package the plugins are from if they come from a package.
"navigator.plugins" uses another class, which means the proposed change would not make the full path available to web pages.
Attachment #430819 - Attachment is patch: true
Attachment #430819 - Attachment mime type: application/octet-stream → text/plain
Attachment #430819 - Flags: review?(jst)
Attached patch Patch for trunkSplinter Review
Same patch, but for trunk, where nsPluginTag moved in a separate file.
Assignee: nobody → mh+mozilla
Attachment #430820 - Flags: review?(jst)
Attachment #430819 - Flags: review?(jst) → review+
Attachment #430820 - Flags: review?(jst) → review+
Keywords: checkin-needed
Status: NEW → ASSIGNED
Pushed to trunk, this needs approval before it can land on branch: http://hg.mozilla.org/mozilla-central/rev/c7a4f2c4ba7a
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
I'm starting to wonder if the 1.9.2 change shouldn't add a nsIPluginTag_1_9_2 interface, actually.
Yes. The current patch would break binary components using this interface.
(to be clear: it's an incompatible change for binary components compiled against the current interface on 1.9.2. The trunk patch is fine)
Implement a nsIPluginTag_1_9_2 interface
Attachment #430819 - Attachment is obsolete: true
Attachment #439880 - Flags: review?(jst)
Comment on attachment 439880 [details] [diff] [review]
Patch v2 for 1.9.2

At this point, it's just pointless to add to 1.9.2.
Attachment #439880 - Flags: review?(jst)
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: