Closed
Bug 205503
Opened 22 years ago
Closed 14 years ago
Better type conversion for IDispatch
Categories
(Core :: XPConnect, enhancement)
Tracking
()
RESOLVED
INVALID
mozilla1.7alpha
People
(Reporter: dbradley, Assigned: dbradley)
References
Details
The IDispatch conversion logic could provide better type conversion support by
using VariantChangeType. Currently we rely on the IDispatch system to do type
conversion. This limits some conversions, such as the string "True" being
converted to a boolean. To date this hasn't caused any problems. I just noticed
this in expanding the test case logic.
We already have the type information for the parameters, so it shouldn't be hard
to implement.
| Assignee | ||
Comment 1•22 years ago
|
||
I just want to clarify. This bug may make it seem like no conversion is done.
But many are currently perform, such as string to number and visa versa. What
isn't done is the string "True" to bool and back, as well as numeric conversion
to SCode, and some other lesser used types.
Status: NEW → ASSIGNED
| Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.5alpha → mozilla1.5beta
| Assignee | ||
Comment 3•22 years ago
|
||
Moving out, speak up if you believe this needs to be considered for 1.5b
Target Milestone: mozilla1.5beta → mozilla1.6alpha
Updated•19 years ago
|
QA Contact: pschwartau → xpconnect
Comment 5•14 years ago
|
||
The IDispatch API was removed in bug 662000.
-> INVALID
[Filter bugspam on idispatchinvalid]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•