Open
Bug 1425702
Opened 7 years ago
Updated 2 years ago
clear mIsTopLevelContentDocument / mIsContentDocument when a document is removed from a docshell
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: heycam, Unassigned)
Details
Attachments
(2 files)
Currently once these flags are set, they remain set forever.
Reporter | ||
Comment 1•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Priority: -- → P2
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8937299 [details]
Bug 1425702 - Part 1: Add some docs for nsIDocument::{mIsTopLevelContentDocument,mIsContentDocument}.
https://reviewboard.mozilla.org/r/208000/#review214400
Attachment #8937299 -
Flags: review?(bzbarsky) → review+
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8937300 [details]
Bug 1425702 - Part 2: Reset nsIDocument::{mIsTopLevelContentDocument,mIsContentDocument} when a document is removed from its docshell.
https://reviewboard.mozilla.org/r/208002/#review214402
This doesn't look right to me. In particular, ReportUseCounters() uses these members and is called in nsDocument::~nsDocument, which presumably comes after we SetContainer(nullptr).
Attachment #8937300 -
Flags: review?(bzbarsky) → review-
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•