Bug 241790

Summary: Fix broken --useOSLog option.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Mark Lam 2022-06-20 15:07:24 PDT
Internally, --useOSLog=0 is represented as OSLogType::None.  Options::dumpAllOptionsInALine() dumps this value as "none".  When "none" is later passed back top Options::setOption(), it is rejected because useOSLog's parse function wasn't expecting "none" as an input string.  The fix is to simply add "none" to the list of allowed input strings.
Comment 1 Mark Lam 2022-06-20 15:13:38 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1641
Comment 2 EWS 2022-06-20 17:03:04 PDT
Committed r295677 (251682@main): <https://commits.webkit.org/251682@main>

Reviewed commits have been landed. Closing PR #1641 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-06-20 17:04:14 PDT
<rdar://problem/95558387>