Closed
Bug 330668
Opened 18 years ago
Closed 11 years ago
Add NS_WARNING to native methods of nsLocalFileWin
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jshin1987, Assigned: jshin1987)
References
Details
Bug 162361 is about to be fixed at long last. Once that is fixed, we need to discourage the use of native nsLocalFile methods on Windows (InitWithNativePath, GetNativePath, etc) by converting major call sites to use UTF-16 methods and adding NS_WARNING to native methods that they are lossy.
Assignee | ||
Comment 1•18 years ago
|
||
Sorry for bug spam. Forgot to set the dependency
Depends on: 162361
Comment 2•18 years ago
|
||
We use AppendNative correctly with ASCII strings and probably shouldn't warn in that case.
Assignee | ||
Comment 3•18 years ago
|
||
Right. we should check whether an ASCII string is passed in a debug build.
Comment 4•11 years ago
|
||
These warnings exist for the most part.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•