Closed
Bug 1686850
Opened 5 years ago
Closed 3 years ago
NS_ConvertUTF8toUTF16::get should not provide implicit conversions to WCHAR* even on Windows
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: emk, Unassigned)
References
Details
It will lead mistakes such as https://bugzilla.mozilla.org/show_bug.cgi?id=1686700#c15.
Comment 1•3 years ago
|
||
This seems to more specifically be about whether the source string is the native charset or utf-16. It is intentional right now that nsString.get() can be converted to wchar_t on Windows, so we're unlikely to change that or the fact that NS_ConvertUTF8toUTF16 returns a nsString in the future.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•