Closed Bug 989967 Opened 10 years ago Closed 8 years ago

Support plugins bundled in restart-less extensions

Categories

(Core Graveyard :: Plug-ins, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gfritzsche, Unassigned)

References

Details

Apparently we never supported plugins bundled in restart-less extensions.
For a better transition for the click-to-play-by-default changes we should support that.
Blocks: fxdesktoptriage
No longer blocks: fxdesktopbacklog
The plugin directory list is being built here:
http://hg.mozilla.org/mozilla-central/annotate/382f676d0ed9/toolkit/xre/nsXREDirProvider.cpp#l741

We probably either need to fix LoadExtensionBundleDirectories() being only called on startup or add special handling for restartless extension paths there.
I'm not sure I'd mess with directory providers at all here: rather when the EM "starts" a restartless addon, it should enumerate the plugins/ directory (asynchronously), call a method nsIPluginHost.registerPlugin(...) and when it disabled/uninstalls the addon unregister those plugins.
Blocks: fxdesktopbacklog
No longer blocks: fxdesktoptriage
Whiteboard: p=0
Flags: firefox-backlog?
No longer blocks: fxdesktopbacklog
Flags: firefox-backlog? → firefox-backlog+
Whiteboard: p=0 → p=8
Assignee: georg.fritzsche → nobody
Points: --- → 8
Whiteboard: p=8
NPAPI deprecation is 8 months out. We're not going to fix this in the meantime.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.