Closed
Bug 951110
Opened 11 years ago
Closed 11 years ago
AssertValidDepedentString() should inform readers about dependent *substrings*
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: hsivonen, Assigned: hsivonen)
Details
Attachments
(1 file)
|
1.16 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
NS_ASSERTION(mData[mLength] == 0, "nsTDependentString must wrap only null-terminated strings");
has unfriendly assertion text.
| Assignee | ||
Comment 1•11 years ago
|
||
Assertion text like this would have saved me some trouble.
Attachment #8348658 -
Flags: review?(benjamin)
Updated•11 years ago
|
Attachment #8348658 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•