Jon Smirl wrote:
> 
> What happens with a Javascript program passes in null vs "" to an XPIDL
> AString?
> 
> I can express NULL via a side channel in my program. I was just wondering
> how NULL was going to be dealt with.

Currently...
 null -> the string "null"
 ""   -> the string ""

The code is at:
http://lxr.mozilla.org/seamonkey/source/js/src/xpconnect/src/xpcconvert.cpp#537

This is not really what we want. Here is the bug:
http://bugzilla.mozilla.org/show_bug.cgi?id=69468

John.

> 
> --
> 
> Jon Smirl
> [EMAIL PROTECTED]

Reply via email to