Closed
Bug 725210
Opened 13 years ago
Closed 13 years ago
Add internal observer notification for last PB docshell going away
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: jdm, Assigned: jdm)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
jdm
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #595318 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #595319 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•13 years ago
|
Attachment #595318 -
Attachment is obsolete: true
Attachment #595318 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•13 years ago
|
Comment 3•13 years ago
|
||
Comment on attachment 595319 [details] [diff] [review]
Add observer notification for last PB docshell going away.
Seems ok, but do you need to stabilize the count around going back to session restored stuff, so that we don't end up bouncing off zero for the subframes?
Attachment #595319 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 4•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/01259925085c
I added an assert to the function to be safe, but I think the counting should be ok.
Assignee | ||
Comment 5•13 years ago
|
||
Assignee | ||
Comment 6•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #595319 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs landing]
Comment 7•13 years ago
|
||
Can this land, Josh?
Assignee | ||
Comment 8•13 years ago
|
||
Yes, I just haven't got around to it.
Comment 9•13 years ago
|
||
Whiteboard: [needs landing]
Target Milestone: --- → mozilla14
Comment 10•13 years ago
|
||
Attachment #611548 -
Flags: review?(josh)
Assignee | ||
Comment 11•13 years ago
|
||
I don't think the whole window close + gc dance should be necessary; this is meant to fire after the last docshell leaves private mode. Why doesn't setting the privateWindow flag to false trigger it?
Comment 12•13 years ago
|
||
Because the value is decremented when the docshell gets destroyed, and that happens only when a CC is run after the window has been closed.
Do you have any better suggestions?
Assignee | ||
Comment 13•13 years ago
|
||
Comment on attachment 611548 [details] [diff] [review]
Test case
It makes me sad that this is necessary, but ok.
Attachment #611548 -
Flags: review?(josh) → review+
Comment 14•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9065e98ffb5d
leaving open for the test
Comment 15•13 years ago
|
||
Flags: in-testsuite+
Comment 16•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•