Closed
Bug 959452
Opened 9 years ago
Closed 9 years ago
add lldb summaries for nsAString and nsACString
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: heycam, Assigned: heycam)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
1.37 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8359585 -
Flags: review?(ehsan)
Comment 1•9 years ago
|
||
Comment on attachment 8359585 [details] [diff] [review] patch Review of attachment 8359585 [details] [diff] [review]: ----------------------------------------------------------------- ::: python/lldbutils/lldbutils/general.py @@ +3,5 @@ > + > +def summarize_string(valobj, internal_dict): > + data = valobj.GetChildMemberWithName("mData") > + length = valobj.GetChildMemberWithName("mLength").GetValueAsUnsigned(0) > + return utils.format_string(data, min(length, 100)) Again, I don't think we should clamp the string.
Attachment #8359585 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 2•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/cd6c3a4beacd
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cd6c3a4beacd
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•8 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•