test262/test
Philip Chimento 1f59bf5911 Temporal: Add tests for fast path in ToTemporalTimeZone
Normally, a plain object passed into an API that takes a Temporal.TimeZone
has its 'timeZone' property checked (observably) with a Has operation
followed by a Get operation if the property is present. In the normative
change https://github.com/tc39/proposal-temporal/pull/2392 which reached
consensus at the September 2022 TC39 meeting, this was changed so that
this check is skipped for objects which have the Temporal.TimeZone
internal slots.

This adds tests to all entry points that pass a user-supplied object to
ToTemporalTimeZone, with a "poisoned" timeZone object which has the
correct internal slots but a 'timeZone' accessor property whose getter
throws. A correct implementation should not cause this getter to throw.
2022-10-18 14:38:38 +02:00
..
annexB Add exhaustive test for String.prototype.substr with various number inputs 2022-09-20 09:57:12 -07:00
built-ins Temporal: Add tests for fast path in ToTemporalTimeZone 2022-10-18 14:38:38 +02:00
harness Temporal: Add TemporalHelpers.crossDateLineTimeZone 2022-10-03 12:24:00 +02:00
intl402 Temporal: Add tests for fast path in ToTemporalCalendar 2022-10-18 14:38:38 +02:00
language add async-functions feature to files which should have it 2022-10-17 11:21:23 +02:00
staging Temporal: Improve existing tests for ZDT#toString timeZoneName option 2022-10-11 12:19:49 +02:00