Closed
Bug 1543582
Opened 6 years ago
Closed 6 years ago
tweak MOZ_DBG and operator<< for XPCOM strings
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
References
Details
Attachments
(1 file)
operator<< for XPCOM strings includes quotes around the string contents, but it would be nicer if it was only when calling MOZ_DBG that you get the quotes.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
I was not able to find a way to rely just on function overloading to have one DebugValue implementation for strings and another for all other objects. Hence the enable_if fluff, which gives me more precise control about which functions are available when.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → cam
Status: NEW → ASSIGNED
Type: defect → enhancement
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/581a359135ad
Only include quotes around XPCOM strings in MOZ_DBG, not operator<<. r=froydnj
Comment 4•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in
before you can comment on or make changes to this bug.
Description
•