| Summary: | We need to PreferNumber when calling toPrimitive for coercion to BigInt | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Shvayka <ashvayka> | ||||||
| Component: | JavaScriptCore | Assignee: | Alexey Shvayka <ashvayka> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Trivial | CC: | ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Alexey Shvayka
2021-11-04 12:32:13 PDT
Created attachment 443333 [details]
Patch
Comment on attachment 443333 [details]
Patch
Should we change JSValue::toBigInt too?
Created attachment 443335 [details]
Patch
Change JSValue::toBigInt() and ensure it's covered by tests.
Committed r285317 (243889@main): <https://commits.webkit.org/243889@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443335 [details]. |