Closed Bug 440166 Opened 17 years ago Closed 3 years ago

Why do getAsInt8() and setAsInt8() use Uint8 instead of Int8?

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 226403

People

(Reporter: jmsachs, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Build Identifier: current (1.9?) see lines 94 and 144 of nsIVariant.idl Is this one of those "oops, sorry but we froze the interface so we need to stick with it" bugs? Sure, it's not a huge workaround, but if you're not going to fix it, you should at least put a note in the .idl file saying "Note: this uses a Uint8 argument even though the method name is Int8() Reproducible: Always Steps to Reproduce: 1. 2. 3.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.