Closed
Bug 1682121
Opened 3 years ago
Closed 3 years ago
Add a ToJSValue overload for nsACString
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•3 years ago
|
||
I wrote this for bug 1682003, but I split it off it because I don't
really need it (I need it on one place where I know I have valid
utf-8).
I think this is a sensible thing to do though. This throws on invalid
utf-8 via:
This would allow doing stuff like resolving promises using nsCStrings
slightly more conveniently / efficiently than using NS_ConvertUTF*.
Updated•3 years ago
|
Severity: -- → N/A
Type: defect → enhancement
Priority: -- → P3
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1ff4a99632d3 Add a ToJSValue overload for nsACString. r=hsivonen
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•