Closed Bug 1348810 Opened 7 years ago Closed 3 years ago

Firefox greedily instantiates PluginContent instances for each tab, which all add their own decoder-doctor-notification observer

Categories

(Core Graveyard :: Plug-ins, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

https://dxr.mozilla.org/mozilla-central/rev/1b9293be51637f841275541d8991314ca56561a5/browser/base/content/content.js#688-689

https://dxr.mozilla.org/mozilla-central/rev/1b9293be51637f841275541d8991314ca56561a5/browser/modules/PluginContent.jsm#86

Besides the "TODO" in content.js, we already have a singleton observer for the decoder notification in ContentObservers.jsm that ends up sending a message to the parent. Can we reuse that, maybe?
Summary: Firefox greedily instantiates PluginContent instances which all create their own decoder-doctor-notification observer → Firefox greedily instantiates PluginContent instances for each tab, which all add their own decoder-doctor-notification observer
See Also: → 1355543
Component: General → Plug-ins
Product: Firefox → Core
I'm still skeptical that the decoder doctor is useful in this case at all.
Priority: -- → P3
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.