Log the id and classes of an element in cycle collector dumps

RESOLVED FIXED

Status

()

Core
DOM: Core & HTML
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: mccr8, Assigned: smaug)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Reporter)

Updated

6 years ago
Blocks: 723783
(Assignee)

Updated

6 years ago
Assignee: nobody → bugs
(Assignee)

Comment 1

6 years ago
Created attachment 594415 [details] [diff] [review]
patch
Attachment #594415 - Flags: review?(continuation)
(Reporter)

Comment 2

6 years ago
Comment on attachment 594415 [details] [diff] [review]
patch

Review of attachment 594415 [details] [diff] [review]:
-----------------------------------------------------------------

It looks okay to me, but I don't know anything about this id/class stuff, or these string functions, so you should probably get somebody else to look at it.
Attachment #594415 - Flags: review?(continuation) → feedback+
(Assignee)

Updated

6 years ago
Attachment #594415 - Flags: review?(jonas)
Comment on attachment 594415 [details] [diff] [review]
patch

Review of attachment 594415 [details] [diff] [review]:
-----------------------------------------------------------------

::: content/base/src/nsGenericElement.cpp
@@ +4678,4 @@
>      }
> +
> +    const char* nsuri = nsid < ArrayLength(kNSURIs) ? kNSURIs[nsid] : "";
> +    PR_snprintf(name, sizeof(name), "nsGenericElement%s %s%s%s %s",

Space before the first %s?
Attachment #594415 - Flags: review?(jonas) → review+
(Assignee)

Comment 4

6 years ago
Nope. there is the silly namespace table which has spaces. I didn't want to change it.
(Assignee)

Comment 5

6 years ago
https://hg.mozilla.org/mozilla-central/rev/7d80f315802f
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.