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+

Mark Lam
Reported 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.
Attachments
proposed patch. (5.15 KB, patch)
2021-03-30 16:05 PDT, Mark Lam
saam: review+
Mark Lam
Comment 1 2021-03-30 16:05:38 PDT
Created attachment 424710 [details] proposed patch.
Mark Lam
Comment 2 2021-03-30 16:13:13 PDT
Thanks for the review. Landed in r275247: <http://trac.webkit.org/r275247>.
Radar WebKit Bug Importer
Comment 3 2021-03-30 16:14:26 PDT
Note You need to log in before you can comment on or make changes to this bug.