rem: return getMsg (MSN_FMT_VALUE_LONG, [type, v.jsClassName, value]); 
add: if (v.jsClassName == "XPCWrappedNative_NoHelper") /* translate this long, unintuitive, and common class name into * something more palatable. */ return getMsg (MSN_FMT_VALUE_LONG, [type, MSG_CLASS_XPCOBJ, value]); else return getMsg (MSN_FMT_VALUE_LONG, [type, v.jsClassName, value]); 
context: function formatValue (v, summary){    if (!v)        throw new BadMojo (ERR_REQUIRED_PARAM, "v");        var type;    var value;            switch (v.jsType)    {        case jsdIValue.TYPE_BOOLEAN:            type = MSG_TYPE_BOOLEAN;            value = String(v.booleanValue);            break;        case jsdIValue.TYPE_DOUBLE:            type = MSG_TYPE_DOUBLE;            value = v.doubleValue;            break;        case jsdIValue.TYPE_INT:            type = MSG_TYPE_INT;            value = v.intValue;            break;        case jsdIValue.TYPE_FUNCTION:            type = MSG_TYPE_FUNCTION;            value = v.jsFunctionName;            break;        case jsdIValue.TYPE_NULL:            type = MSG_TYPE_NULL;            value = MSG_TYPE_NULL;            break;        case jsdIValue.TYPE_OBJECT:            if (!summary)            {                type = MSG_TYPE_OBJECT;                value = getMsg(MSN_FMT_OBJECT, String(v.propertyCount));            }            else            {                type = (v.jsClassName) ? v.jsClassName : MSG_TYPE_OBJECT;                value = "{" + String(v.propertyCount) + "}";            }            break;        case jsdIValue.TYPE_STRING:            type = MSG_TYPE_STRING;            value = v.stringValue;            break;        case jsdIValue.TYPE_VOID:            type = MSG_TYPE_VOID;            value = MSG_TYPE_VOID;                        break;        default:            type = MSG_TYPE_UNKNOWN;            value = MSG_TYPE_UNKNOWN;            break;    }    if (summary)        return getMsg (MSN_FMT_VALUE_SHORT, [type, value]);    if (v.jsClassName)        return getMsg (MSN_FMT_VALUE_LONG, [type, v.jsClassName, value]);    return getMsg (MSN_FMT_VALUE_MED, [type, value]);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/8b27bf568ca555c3d7e32d55ff44ccf699aae130/venkman-debugger.js/clean/extensions/venkman/resources/content/venkman-debugger.js