Checking in dbradley's patch for bug 265545 (r=jst, sr=me).

git-svn-id: svn://10.0.0.236/trunk@164178 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brendan%mozilla.org 2004-10-22 07:29:44 +00:00
parent 1c75ce268f
commit 4fd0805428

View File

@ -1555,6 +1555,7 @@ XPCConvert::NativeArray2JS(XPCCallContext& ccx,
// root this early
*d = OBJECT_TO_JSVAL(array);
AUTO_MARK_JSVAL(ccx, d);
if(pErr)
*pErr = NS_ERROR_XPC_BAD_CONVERT_NATIVE;