Closed Bug 323470 Opened 19 years ago Closed 11 years ago

allow ToInteger, ToFloat to be used on ns[C]Substring

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bryner, Unassigned)

References

Details

These methods are useful on substrings and can be moved up to the substring class.
Depends on: 323471
I just realized that this is not exactly trivial.  The conversion uses PR_strtod, which assumes it can read up to the first unrecognized character (or NULL).  PR_strtod is quite complicated... I'm not really looking forward to trying to modify it.  Removing history importer dependency, I'll work around it there.
Assignee: bryner → nobody
No longer blocks: 322369
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.