Bug 223963

Summary: Add disableForwardingVPrintfStdErrToOSLog() and use it in the jsc shell.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, ews-watchlist, keith_miller, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. saam: review+

Description Mark Lam 2021-03-30 15:59:36 PDT
This prevents automatic forwarding of vprintf_stderr_common() to os_log_with_args(), which results in duplicate output when using the jsc shell.  As a result, ASSERT fail messages and crash stack traces will be more readable.
Comment 1 Mark Lam 2021-03-30 16:05:38 PDT
Created attachment 424710 [details]
proposed patch.
Comment 2 Mark Lam 2021-03-30 16:13:13 PDT
Thanks for the review.  Landed in r275247: <http://trac.webkit.org/r275247>.
Comment 3 Radar WebKit Bug Importer 2021-03-30 16:14:26 PDT
<rdar://problem/76027030>