Bug 210749

Summary: [JSC] Skip test262 for non-safe-integer range BigIntConstructor
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
keith_miller: review+
Patch for landing none

Description Yusuke Suzuki 2020-04-20 09:21:02 PDT
...
Comment 1 Yusuke Suzuki 2020-04-20 11:02:51 PDT
Created attachment 396993 [details]
Patch
Comment 2 Yusuke Suzuki 2020-04-20 11:03:13 PDT
Comment on attachment 396993 [details]
Patch

This fixes trivial test262 failure.
Comment 3 Keith Miller 2020-04-20 11:05:47 PDT
Comment on attachment 396993 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=396993&action=review

r=me with nit.

> Source/JavaScriptCore/ChangeLog:8
> +        Maybe, the spec is changed at some point, and now BigInt constructor accepts non-safe-integers.

Nit, I would phrase this as: Maybe the spec changed at some point but BigInt constructor accepts non-safe-integers.
Comment 4 Yusuke Suzuki 2020-04-20 11:29:37 PDT
Created attachment 396994 [details]
Patch
Comment 5 Keith Miller 2020-04-20 11:38:08 PDT
Comment on attachment 396994 [details]
Patch

Can we file a bug and put a FIXME in our BigInt constructor?
Comment 6 Yusuke Suzuki 2020-04-20 11:40:05 PDT
(In reply to Keith Miller from comment #5)
> Comment on attachment 396994 [details]
> Patch
> 
> Can we file a bug and put a FIXME in our BigInt constructor?

https://bugs.webkit.org/show_bug.cgi?id=210755 Filed. And added FIXME.
Comment 7 Yusuke Suzuki 2020-04-20 12:03:55 PDT
Tested test262 locally since it is not included in EWS.
Comment 8 Yusuke Suzuki 2020-04-20 12:06:26 PDT
Created attachment 396998 [details]
Patch for landing

Patch for landing
Comment 9 Yusuke Suzuki 2020-04-20 12:11:55 PDT
Committed r260384: <https://trac.webkit.org/changeset/260384>
Comment 10 Radar WebKit Bug Importer 2020-04-20 12:12:17 PDT
<rdar://problem/62069585>