Closed Bug 1355543 Opened 7 years ago Closed 3 years ago

Consider lazily loading PluginContent.jsm

Categories

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

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mccr8, Unassigned)

References

Details

(Whiteboard: [overhead:noted])

We load this jsm at startup, to register some event and message listeners. This could possibly be moved into ContentObservers.js and only access PluginContent.jsm via a shim, to avoid loading it. This will be trickier than the other cases I've looked at because it looks for events like pagehide and pageshow that will happen even without plugins, so you'd have to track some kind of state in ContentObservers to know if there was anything worthwhile to do. It is also possible that enough people have Flash installed that this isn't worth fixing, if they'd need to load the .jsm anyways.
See also bug 1348810.
See Also: → 1348810
Priority: -- → P3
Whiteboard: [overhead:noted]
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.