Closed Bug 132377 Opened 23 years ago Closed 15 years ago

[RFE] PromiseSingleFragmentC?String

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: darin.moz, Assigned: jag+mozilla)

Details

would be nice if there was a way to get a nsASingleFragmentC?String from a nsAC?String. this would be an immediate benefit to URL parsing, which currently only knows how to parse single fragment strings. right now, the code uses PromiseFlatCString, even though it only requires PromiseSingleFragmentCString. of course, the URL parsing code could be changed to operate on iterators and the like, but it still seems that PromiseSingleFragmentC?String would be a useful utility in general.
[RFE] is deprecated in favor of severity: enhancement. They have the same meaning.
Severity: normal → enhancement
QA Contact: jag → string
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.