Skip to content

Releases: tc39/test262

WEB_FEATURES_MANIFEST for 63829c6d925e24a3f5f307b08754aaa1c412c6a6

07 Mar 00:22
63829c6

Choose a tag to compare

web-features-manifest-for-63829c6d925e24a3f5f307b08754aaa1c412c6a6

Tests to verify that the reference year table for chinese/dangi calen…

WEB_FEATURES_MANIFEST for be2339ba83fa0e3e4fd406c1bf4bf38f4d6d14bb

06 Mar 12:56

Choose a tag to compare

Address review comments

Note that Temporal.ZonedDateTime.prototype.toLocaleString does not
accept a timeZone option.

WEB_FEATURES_MANIFEST for 8b30689e85979cf2fd198c78ea9a532fb0385f28

06 Mar 16:20

Choose a tag to compare

[Temporal] D.round, .total, .compare op order when relativeTo PD or ZDT

for X = prototype/round, prototype/total, compare, add test cases
to `Duration/X/order-of-operations.js` that make sure that property
bag properties aren't read when the relativeTo argument is a
PlainDate or ZonedDateTime.

WEB_FEATURES_MANIFEST for 79d2a6924f03104f9a2f148ada23db327f550d3a

05 Mar 09:22

Choose a tag to compare

Temporal: Add Duration.round() case triggering temporal_rs bug

I'm not sure of the exact circumstances that trigger this bug, but it
seems to be balancing a duration to a larger unit while also rounding to
an increment, with relativeTo.

Discovered using snapshot testing.
V8/Boa bug: https://github.com/boa-dev/temporal/issues/689

WEB_FEATURES_MANIFEST for 74ffb0f8bea4ec395062b3872d23c3407ac32f34

05 Mar 09:26

Choose a tag to compare

Temporal: Tests for parsing Y-M-D[u-ca=CALENDAR] as YearMonth/MonthDay

JSC fails these test cases.

WEB_FEATURES_MANIFEST for 1a51ced90ea552ffd90450d234ebb426f134fa93

05 Mar 23:38
1a51ced

Choose a tag to compare

[Temporal] Add tests for overflow reject in NonISODateAdd (#4968)

* [Temporal] Add tests for overflow reject in NonISODateAdd

Check mapping of numerical months across leap years. This catches bugs in
implementations where numeric months are not correctly mapped across leap
years, allowing additions and subtractions that should throw with overflow
reject.

I think these are the only methods that can trigger
`overflow: "reject"` in NonISODateAdd.

This addresses https://github.com/tc39/test262/issues/4905

* Add numerical leap month tests for chinese and dangi.

* Remove superfluous arguments to .from

WEB_FEATURES_MANIFEST for 72ec758c9b6351b5baa299e0a162c2b7fe497cc6

04 Mar 11:05

Choose a tag to compare

Temporal: Ensure year field in PlainMonthDay not used for range check

When constructing PlainMonthDay from a property bag, or applying partial
fields to PlainMonthDay, as a special case for the iso8601 calendar, the
year field should only be used for applying the overflow parameter, not
for range checking.

Discovered using snapshot testing.
V8/Boa bug: https://github.com/boa-dev/temporal/issues/688

WEB_FEATURES_MANIFEST for 454ba1fd3e98de507713079076e8ffd3f3f629e1

04 Mar 11:00

Choose a tag to compare

Temporal: Test that strings with >9 decimal places are rejected

Up to 9 decimal places are supported. 10 are not. Test this with both a
nonzero and zero tenth decimal digit, and in both times and UTC offsets
where applicable.

This was a bug in V8 and Boa.
See https://github.com/boa-dev/temporal/issues/677

WEB_FEATURES_MANIFEST for fa9e42d1a832a6fb1df3cb46fe6780cdd18c8e5e

03 Mar 15:55

Choose a tag to compare

web-features-manifest-for-fa9e42d1a832a6fb1df3cb46fe6780cdd18c8e5e

Temporal: Use TemporalHelpers.assertPlainDate in Japanese pre-Meiji test

WEB_FEATURES_MANIFEST for ab1590d83d0ca04d9df620a6cbbd542b8325c83a

03 Mar 17:23

Choose a tag to compare

web-features-manifest-for-ab1590d83d0ca04d9df620a6cbbd542b8325c83a

Remove invalid test (tests outside valid Chinese calendar range)