Closed
Bug 767635
Opened 12 years ago
Closed 3 years ago
Simplify nsObjectLoadingContent plugin start/stop (InitializePluginInstance/SyncStartPluginInstance/PlayPlugin/AsyncStartPluginInstance/StopPluginInstance/DoStopPlugin/DoDelayedStop) code
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: johns, Assigned: johns)
References
Details
We likely don't need seven functions to start and stop a plugin, and some of this code was written to handle complexity that no longer exists
The sad thing is that the current state of starting/stopping plugins is already a big simplification over the previous code (pre-90268). I think a lot of the remaining complexity is from our being unsure about changing certain nsObjectLoadingContent behavior, which your rewrite should help with.
Assignee | ||
Comment 2•12 years ago
|
||
Another issue with this -
We tear down plugin prototypes in the plugin stop code, which, in a delayed plugin stop, may be after the <object> tag has moved on. Could cause a race condition with trashing a reloaded-plugins proto. This code also all needs comments to explain how we hook/unhook the proto.
Assignee | ||
Updated•12 years ago
|
Blocks: 810082
Comment 3•12 years ago
|
||
This is blocking bug 810082 from landing in FF18, which is a requirement for using CTP for Flash in that version of Firefox. Any updates here?
tracking-firefox18:
--- → +
tracking-firefox19:
--- → +
Assignee | ||
Comment 4•12 years ago
|
||
A few high priority things distracted me here, I should have a patch here in the next day or so
Assignee | ||
Comment 5•12 years ago
|
||
Another issue for this is that nsPluginInstanceOwner is associated with the content, and if we're allowing delayed stops, multiple plugins could refer to the same content, which needs to be sanity checked (and made a non-weak pointer probably)
Assignee | ||
Comment 6•12 years ago
|
||
This should also-also address the nsPluginHost code that pulls instances out from under us and then tries to respawn them by reflowing...
Assignee | ||
Comment 7•12 years ago
|
||
This is no longer blocking bug 810082, and probably wont be uplifted.
Comment 8•3 years ago
|
||
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•