Closed Bug 1493977 Opened 7 years ago Closed 7 years ago

Restore support for Append((char_type*)nullptr)

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hsivonen, Unassigned)

Details

From bug 1493934, it looks like bug 1484938 removed support for treating nullptr in place of a zero-terminated string as the empty string when appending. m-c unit tests don't appear to exercise this case, so maybe we could get away with not restoring nullptr support.
froydnj, should I restore nullptr support?
Flags: needinfo?(nfroyd)
I think disallowing Append(nullptr) is fine.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(nfroyd)
Resolution: --- → WORKSFORME
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.