test262/test/built-ins/Temporal/Now/plainTimeISO
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
..
length.js
prop-desc.js Test Temporal.Now. 2022-01-24 13:36:43 -05:00
return-value.js Test Temporal.Now. 2022-01-24 13:36:43 -05:00
timezone-getoffsetnanosecondsfor-non-integer.js
timezone-getoffsetnanosecondsfor-not-callable.js Fix not-callable getOffsetNansecondsFor tests 2021-11-30 14:36:59 -05:00
timezone-getoffsetnanosecondsfor-out-of-range.js
timezone-getoffsetnanosecondsfor-wrong-type.js
timezone-instance-does-not-get-timeZone-property.js Temporal: Add tests for fast path in ToTemporalTimeZone 2022-10-18 14:38:38 +02:00
timezone-string-datetime.js Add more variations of ISO strings to "timezone-string-datetime" tests 2022-01-19 13:47:43 -05:00
timezone-string-leap-second.js Regularize leap second tests 2022-05-03 08:18:02 +02:00
timezone-string-year-zero.js Regularize year zero tests 2022-05-03 08:18:02 +02:00
timezone-string.js Temporal: Add tests for casting a time zone ID string to a Temporal.TimeZone 2022-08-01 13:48:11 -07:00
timezone-wrong-type.js Test wrong types in conversions to Temporal types 2022-04-21 12:14:10 -07:00
timezone.js Temporal: Add TemporalHelpers.timeZoneObserver 2022-10-05 16:53:52 +02:00
toPlainTime-override.js Temporal: Add TemporalHelpers.timeZoneObserver 2022-10-05 16:53:52 +02:00