Changeset 260384 in webkit
- Timestamp:
- Apr 20, 2020 12:11:46 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r260362 r260384 1 2020-04-20 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Skip test262 for non-safe-integer range BigIntConstructor 4 https://bugs.webkit.org/show_bug.cgi?id=210749 5 6 Reviewed by Keith Miller. 7 8 We skip test262 test/built-ins/BigInt/constructor-integer.js for now. As it is shown in old test262 JSTests/test262/expectations.yaml, 9 this test was failing before BigInt flag is enabled. And new BigInt patch changes error message while we are failing in the same way. 10 While we implemented BigInt, this test is based on spec change introduced[1], and we are not implementing this. So we mark it skipped, 11 as it is skipped before BigInt is enabled. 12 13 [1]: https://github.com/tc39/proposal-bigint/pull/138 14 15 * test262/config.yaml: 16 1 17 2020-04-20 Keith Miller <keith_miller@apple.com> 2 18 -
trunk/JSTests/test262/config.yaml
r260349 r260384 158 158 - test/intl402/RelativeTimeFormat/prototype/format/en-us-numeric-auto.js 159 159 - test/intl402/RelativeTimeFormat/prototype/formatToParts/en-us-numeric-auto.js 160 161 # Spec is changed. https://github.com/tc39/proposal-bigint/pull/138 162 - test/built-ins/BigInt/constructor-integer.js -
trunk/Source/JavaScriptCore/ChangeLog
r260377 r260384 1 2020-04-20 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Skip test262 for non-safe-integer range BigIntConstructor 4 https://bugs.webkit.org/show_bug.cgi?id=210749 5 6 Reviewed by Keith Miller. 7 8 * runtime/BigIntConstructor.cpp: 9 (JSC::callBigIntConstructor): 10 1 11 2020-04-20 Keith Miller <keith_miller@apple.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/BigIntConstructor.cpp
r260331 r260384 121 121 122 122 if (primitive.isDouble()) { 123 // FIXME: Accept larger integers than safe-integers. 124 // https://bugs.webkit.org/show_bug.cgi?id=210755 123 125 double number = primitive.asDouble(); 124 126 if (trunc(number) != number || std::abs(number) > maxSafeInteger())
Note: See TracChangeset
for help on using the changeset viewer.