Closed
Bug 720292
Opened 13 years ago
Closed 13 years ago
add more cycle collector edge names
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: mccr8, Assigned: mccr8)
Details
Attachments
(1 file)
10.76 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Various classes that don't have edge names that have annoyed me in the past.
Assignee: nobody → continuation
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 590620 [details] [diff] [review] add more edge names Let me know if you have any suggestions. For instance, maybe "mPrototypeBinding->XBLDocumentInfo()" should just be "XBLDocumentInfo". I can also attach some snippets from CC logs of what these objects look like with these changes if you like.
Attachment #590620 -
Flags: review?(bugs)
Comment 3•13 years ago
|
||
Comment on attachment 590620 [details] [diff] [review] add more edge names > for (i = 0; i < elem->mNumAttributes; ++i) { > const nsAttrName& name = elem->mAttributes[i].mName; >- if (!name.IsAtom()) >+ if (!name.IsAtom()) { >+ NS_CYCLE_COLLECTION_NOTE_EDGE_NAME(cb, "mAttributes[i]"); Could this be "mAttributes[i].mName.NodeInfo()"
Attachment #590620 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #3) > Could this be "mAttributes[i].mName.NodeInfo()" Sounds fine to me. Putting it on try server in case of weirdness: https://tbpl.mozilla.org/?tree=Try&rev=a1e4ce92b747
Assignee | ||
Comment 5•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/56ee4d79fd79
Target Milestone: --- → mozilla12
Comment 6•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/56ee4d79fd79
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
•