Closed
Bug 866569
Opened 12 years ago
Closed 11 years ago
Unlink nsXULPrototypeNodes more completely
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: mccr8, Assigned: mccr8)
Details
Attachments
(1 file, 1 obsolete file)
953 bytes,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
nsXULPrototypeElement::Unlink() doesn't clear the node info or children, for no reason I can see. I've had this in my stack of ICC patches for a while, and it seems okay. Breaking down things like this probably helps with incrementalization.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → continuation
Assignee | ||
Updated•12 years ago
|
Summary: Unlink nsXULPrototypeNodes more aggressively → Unlink nsXULPrototypeNodes more completely
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 742904 [details] [diff] [review]
unlink more completely
Does this look okay to you? I have a vague worry that the nsXULDocument or whatever will try to look at its nodes after it is unlinked but before it is destroyed. Nothing shows up on try, but try doesn't always find XUL regressions. ;)
Attachment #742904 -
Flags: feedback?(bugs)
Comment 3•12 years ago
|
||
Comment on attachment 742904 [details] [diff] [review]
unlink more completely
Unlinking mNodeInfo is somewhat surprising (nodeinfo tends to be a thing which is alive until dtor), but unlinking children sounds ok.
Attachment #742904 -
Flags: feedback?(bugs) → feedback+
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #742904 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #786344 -
Flags: review?(bugs)
Updated•11 years ago
|
Attachment #786344 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Thanks for the quick review!
https://hg.mozilla.org/integration/mozilla-inbound/rev/ef8348f88821
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•