Closed
Bug 311791
Opened 19 years ago
Closed 19 years ago
bfcache doesn't stop plugins correctly
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Keywords: fixed1.8)
Attachments
(1 file)
1.15 KB,
patch
|
bryner
:
review+
bryner
:
superreview+
asa
:
approval1.8rc1+
|
Details | Diff | Splinter Review |
This is an unfortunate consequence of nsPluginHostImpl registering itself with two different CIDs. As a result, you get two instances of it floating around. nsObjectFrame stops the plugin on the instance that's gotten via the plugin manager CID and contract, while presshell (for bfcache) uses the plugin host contract, which means the plugins are not fully stopped...
Assignee | ||
Comment 1•19 years ago
|
||
The upshot is that we stop the plugin itself, but the plugin manager still thinks the plugin is running, which breaks things like trying to unload the plugin if plugin reload happens.
Assignee | ||
Comment 2•19 years ago
|
||
Brian, if you can't get to this in time for it to make 1.8, please let me know ASAP so I can ask someone else for review Sunday morning. If you do get to this tomorrow, could you go ahead and check it in?
Assignee | ||
Updated•19 years ago
|
Attachment #200416 -
Flags: superreview?(bryner)
Attachment #200416 -
Flags: review?(bryner)
Assignee | ||
Comment 3•19 years ago
|
||
I think this is something we should really fix on branch -- we don't want to be creating a second instance of the plugin host (which is effectively what this codepath does), since that makes it very unclear which one of them is actually responsible for the running plugins. This fix is very very safe, and I'm hoping I'll get review by Sunday... :(
Flags: blocking1.8rc1?
Updated•19 years ago
|
Attachment #200416 -
Flags: superreview?(bryner)
Attachment #200416 -
Flags: superreview+
Attachment #200416 -
Flags: review?(bryner)
Attachment #200416 -
Flags: review+
Comment 4•19 years ago
|
||
checked in on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Attachment #200416 -
Flags: approval1.8rc1?
Updated•19 years ago
|
Flags: blocking1.8rc1? → blocking1.8rc1+
Updated•19 years ago
|
Attachment #200416 -
Flags: approval1.8rc1? → approval1.8rc1+
Assignee | ||
Updated•19 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•19 years ago
|
Assignee: bryner → bzbarsky
Status: REOPENED → NEW
Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•