mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 645532 - Make content process xpcshell print newlines. r=mrbkap
This commit is contained in:
parent
7406ce377f
commit
9922293ca0
@ -295,7 +295,11 @@ Dump(JSContext *cx,
|
||||
str = JS_ValueToString(cx, JS_ARGV(cx, vp)[0]);
|
||||
if (!str)
|
||||
return JS_FALSE;
|
||||
JS_FileEscapedString(stdout, str, 0);
|
||||
JSAutoByteString bytes(cx, str);
|
||||
if (!bytes)
|
||||
return JS_FALSE;
|
||||
|
||||
fputs(bytes.ptr(), stdout);
|
||||
fflush(stdout);
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user