return JS_FALSE;
return JS_TRUE;
InstallTriggerGlobalStartSoftwareUpdate(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval){  nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);  PRBool       nativeRet;  nsAutoString b0;  PRInt32      b1 = 0;  *rval = JSVAL_FALSE;  if (nsnull == nativeThis  &&  (JS_FALSE == CreateNativeObject(cx, obj, &nativeThis)) )    return JS_FALSE;  if ( argc >= 1 )  {    ConvertJSValToStr(b0, cx, argv[0]);    if (argc >= 2 && !JS_ValueToInt32(cx, argv[1], (int32 *)&b1))    {        JS_ReportError(cx, "StartSoftwareUpdate() 2nd parameter must be a number");        return JS_FALSE;    }    nsIScriptContext *scriptContext = GetScriptContextFromJSContext(cx);    if (scriptContext)    {        nsIScriptGlobalObject *globalObject =            scriptContext->GetGlobalObject();        if (globalObject)        {             if(NS_OK != nativeThis->StartSoftwareUpdate(globalObject, b0, b1, &nativeRet))             {                  return JS_FALSE;             }        }        else           return JS_FALSE;    }    else        return JS_FALSE;    *rval = BOOLEAN_TO_JSVAL(nativeRet);  }  else  {    JS_ReportError(cx, "Function StartSoftwareUpdate requires 2 parameters");    return JS_FALSE;  }  return JS_TRUE;}