mirror of https://github.com/tc39/test262.git
34805283d9
Normally, a plain object passed into an API that takes a Temporal.Calendar has its 'calendar' 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.Calendar internal slots. This adds tests to all entry points that pass a user-supplied object to ToTemporalCalendar, with a "poisoned" calendar object which has the correct internal slots but a 'calendar' accessor property whose getter throws. A correct implementation should not cause this getter to throw. |
||
---|---|---|
.. | ||
argument-calendar-fields-undefined.js | ||
argument-number.js | ||
argument-object.js | ||
argument-plaindate.js | ||
argument-plainyearmonth.js | ||
argument-propertybag-calendar-case-insensitive.js | ||
argument-propertybag-calendar-instance-does-not-get-calendar-property.js | ||
argument-propertybag-calendar-leap-second.js | ||
argument-propertybag-calendar-number.js | ||
argument-propertybag-calendar-string.js | ||
argument-propertybag-calendar-wrong-type.js | ||
argument-propertybag-calendar-year-zero.js | ||
argument-string-calendar-annotation.js | ||
argument-string-critical-unknown-annotation.js | ||
argument-string-invalid.js | ||
argument-string-multiple-time-zone.js | ||
argument-string-time-separators.js | ||
argument-string-time-zone-annotation.js | ||
argument-string-trailing-junk.js | ||
argument-string-unknown-annotation.js | ||
argument-string-with-utc-designator.js | ||
argument-string.js | ||
argument-wrong-type.js | ||
builtin.js | ||
calendar-datefromfields-called-with-null-prototype-fields.js | ||
calendar-fields-iterable.js | ||
calendar-temporal-object.js | ||
calendar-yearmonthfromfields-called-with-options-undefined.js | ||
infinity-throws-rangeerror.js | ||
leap-second.js | ||
length.js | ||
limits.js | ||
name.js | ||
not-a-constructor.js | ||
options-invalid.js | ||
options-object.js | ||
options-undefined.js | ||
options-wrong-type.js | ||
order-of-operations.js | ||
overflow-constrain.js | ||
overflow-invalid-string.js | ||
overflow-reject.js | ||
overflow-undefined.js | ||
overflow-wrong-type.js | ||
prop-desc.js | ||
subclassing-ignored.js | ||
year-zero.js |