Boris Zbarsky wrote:
> Neil Deakin wrote:
>> When called from JS, the aCharSet argument is optional.
> 
> Is there a way to specify what it defaults to if not passed? Empty 
> string?  Null?  Something else?
> 
It defaults to a JS null, which gets converted into 0, false, etc as needed.

We could later support, to use MSIDL syntax, defaultvalue(20) although 
my understanding is that XPCOM doesn't support default values.

/ Neil
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to