Closed
Bug 254216
Opened 20 years ago
Closed 6 years ago
string IDL type behaves differently when used as return param and as [size_is(foo),retval]out
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: vlad, Unassigned)
Details
We have right now in nsIScriptableInputStream.idl: string read(in unsigned long aCount); and in nsIBinaryInputStream.idl: void readBytes(in PRUint32 aLength, [size_is(aLength), retval] out string aString); both end up as "char **retval" in the C++ side, but xpconnect isn't stripping the 8th bit for the readBytes case (as it does for all other "string"s, either in or return value). nsIBinaryInputStream isn't frozen, so if this behaviour were to be fixed, the signature of readBytes could be changed to something that doesn't strip the 8th bit.
Updated•18 years ago
|
Assignee: dbradley → nobody
Updated•18 years ago
|
QA Contact: pschwartau → xpconnect
Comment 1•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•