Backed out changeset 650ad3cd7e52 because of xpcshell test failure

This commit is contained in:
Ehsan Akhgari 2010-11-29 18:15:24 -05:00
parent b3ca74b9eb
commit da9d854ade

View File

@ -449,11 +449,7 @@ Dump(JSContext *cx, uintN argc, jsval *vp)
if (!str)
return JS_FALSE;
JSAutoByteString bytes(cx, str);
if (!bytes)
return JS_FALSE;
fputs(bytes.ptr(), gOutFile);
JS_FileEscapedString(gOutFile, str, 0);
fflush(gOutFile);
return JS_TRUE;
}