mirror of https://github.com/tc39/test262.git
See https://github.com/tc39/proposal-temporal/pull/2316 which eliminated an observable call to Array.prototype[Symbol.iterator]() in the case where a calendar's 'fields' property was undefined. The best way I've thought of to test this is to monkeypatch the Array.prototype[Symbol.iterator]() method to make it throw. In some cases, where we are actually expected to iterate the return value from a Temporal.TimeZone's getPossibleInstantsFor() method, we have to provide a custom method for that as well, that returns a non-Array iterable so we don't call the patched Array.prototype[Symbol.iterator](). This normative change reached consensus at the July 2022 TC39 plenary meeting. |
||
---|---|---|
.. | ||
argument-calendar-fields-undefined.js | ||
argument-number.js | ||
argument-object-insufficient-data.js | ||
argument-plaindate.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-multiple-time-zone.js | ||
argument-string-time-separators.js | ||
argument-string-time-zone-annotation.js | ||
argument-string-unknown-annotation.js | ||
argument-string-with-utc-designator.js | ||
argument-wrong-type.js | ||
argument-zoneddatetime-negative-epochnanoseconds.js | ||
argument-zoneddatetime-timezone-getoffsetnanosecondsfor-non-integer.js | ||
argument-zoneddatetime-timezone-getoffsetnanosecondsfor-not-callable.js | ||
argument-zoneddatetime-timezone-getoffsetnanosecondsfor-out-of-range.js | ||
argument-zoneddatetime-timezone-getoffsetnanosecondsfor-wrong-type.js | ||
basic.js | ||
builtin.js | ||
calendar-datefromfields-called-with-null-prototype-fields.js | ||
calendar-fields-iterable.js | ||
calendar-ignored.js | ||
calendar-temporal-object.js | ||
cast.js | ||
infinity-throws-rangeerror.js | ||
leap-second.js | ||
length.js | ||
name.js | ||
not-a-constructor.js | ||
prop-desc.js | ||
read-time-fields-before-datefromfields.js | ||
use-internal-slots.js | ||
year-zero.js |