Bug 222164

Summary: [JSC] Do not use toObject for options in new Intl constructors
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ashvayka, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 218829    
Attachments:
Description Flags
Patch
ashvayka: review+
Patch none

Description Yusuke Suzuki 2021-02-19 03:00:25 PST
https://github.com/tc39/ecma402/pull/538
Comment 1 Yusuke Suzuki 2021-02-19 03:00:39 PST
Target => Intl.ListFormat, Intl.DisplayNames, Intl.Segmenter
Comment 2 Yusuke Suzuki 2021-02-19 03:13:42 PST
Created attachment 420951 [details]
Patch
Comment 3 Alexey Shvayka 2021-02-19 03:21:13 PST
Comment on attachment 420951 [details]
Patch

Nice cleanup!
Comment 4 Yusuke Suzuki 2021-02-19 03:29:51 PST
Created attachment 420954 [details]
Patch
Comment 5 Yusuke Suzuki 2021-02-19 11:36:59 PST
Fixed the test locally.
Comment 6 Yusuke Suzuki 2021-02-19 11:39:06 PST
Committed r273153 (234348@main): <https://commits.webkit.org/234348@main>
Comment 7 Radar WebKit Bug Importer 2021-02-19 11:40:16 PST
<rdar://problem/74530966>