Closed
Bug 989224
Opened 12 years ago
Closed 12 years ago
Note orphaned FragmentOrElements in CC logs
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: khuey, Assigned: khuey)
Details
(Whiteboard: [MemShrink])
Attachments
(1 file)
|
1.10 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
It would be nice if this were obvious, rather than having to walk the parent chain manually.
It seems like <xbl:content> is never in a document, so I filtered those out.
Attachment #8398381 -
Flags: review?(bzbarsky)
Comment 1•12 years ago
|
||
Odd to filter out xbl:content. Consistency, please.
Comment 2•12 years ago
|
||
Note that I have a script, dom_grouper.py, that does this analysis, though the output isn't particularly great.
Comment 3•12 years ago
|
||
Comment on attachment 8398381 [details] [diff] [review]
Patch
r=me assuming the idea here is to make it easier to debug by pointing out DOM nodes being held by random script. If that's the goal, it makes sense to filter out xbl:content, but then please document that's why it's being done.
Attachment #8398381 -
Flags: review?(bzbarsky) → review+
Comment 4•12 years ago
|
||
There can be also many other kinds of orphan nodes than those owned by JS.
event.target for example.
| Assignee | ||
Comment 5•12 years ago
|
||
Our experience is that nodes orphaned by C++ are much rarer than nodes orphaned directly by JS.
xbl:content nodes are never exposed to JS (afaict) so I think it's reasonable to ignore them, especially since they always seem to be "orphaned".
| Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•