Closed
Bug 307961
Opened 19 years ago
Closed 7 years ago
handle string->int conversion better
Categories
(Core :: XPConnect, enhancement)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: Biesinger, Unassigned)
Details
Currently, if one passes a JS string where IDL expects a character, something strange happens (I didn't check what exactly was passed). Especially in the case of a single-letter string, it'd be nice if the number conversion gave that character, not something else (I suspect it gives 0).
Comment 1•19 years ago
|
||
I have encountered this. In V1.07, '1' == 49, the ASCII code of '1'. However, in V1.5, '1' == 1.
Updated•19 years ago
|
QA Contact: pschwartau → xpconnect
Updated•18 years ago
|
Assignee: dbradley → nobody
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•