Bug 205586 - IDispatch should convert VT_EMPTY as JSVAL_VOID and VT_NULL as JSVAL_NULL. r=adamlock, sr=alecf

This commit is contained in:
dbradley%netscape.com 2003-06-20 04:12:26 +00:00
parent d1bcd398fc
commit f135a145fa

View File

@ -518,6 +518,11 @@ JSBool XPCDispConvert::COMToJS(XPCCallContext& ccx, const VARIANT& src,
}
break;
case VT_EMPTY:
{
dest = JSVAL_VOID;
}
break;
case VT_NULL:
{
dest = JSVAL_NULL;
}