mirror of https://github.com/tc39/test262.git
Automated feature flag update
This commit is contained in:
parent
1c722a8158
commit
e6c21464f5
|
@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw from ToTemporalDat
|
||||||
info: |
|
info: |
|
||||||
...
|
...
|
||||||
4. Set date to ? ToTemporalDate(date).
|
4. Set date to ? ToTemporalDate(date).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw from ToTemporalDur
|
||||||
info: |
|
info: |
|
||||||
...
|
...
|
||||||
5. Set duration to ? ToTemporalDuration(duration).
|
5. Set duration to ? ToTemporalDuration(duration).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.dateadd
|
||||||
description: Temporal.Calendar.prototype.dateAdd should throw from ToTemporalOverflow.
|
description: Temporal.Calendar.prototype.dateAdd should throw from ToTemporalOverflow.
|
||||||
info: |
|
info: |
|
||||||
7. Let overflow be ? ToTemporalOverflow(options).
|
7. Let overflow be ? ToTemporalOverflow(options).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw from GetOptionsObj
|
||||||
info: |
|
info: |
|
||||||
...
|
...
|
||||||
6. Set options to ? GetOptionsObject(options).
|
6. Set options to ? GetOptionsObject(options).
|
||||||
features: [Temporal]
|
features: [BigInt, Symbol, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
let invalidOptionsList =
|
let invalidOptionsList =
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw if calendar does n
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ esid: sec-temporal.calendar.prototype.datefromfields
|
||||||
description: Temporal.Calendar.prototype.dateFromFields should throw Error from ISODateFromFields.
|
description: Temporal.Calendar.prototype.dateFromFields should throw Error from ISODateFromFields.
|
||||||
info: |
|
info: |
|
||||||
6. Let result be ? ISODateFromFields(fields, options).
|
6. Let result be ? ISODateFromFields(fields, options).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601")
|
let cal = new Temporal.Calendar("iso8601")
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ esid: sec-temporal.calendar.prototype.datefromfields
|
||||||
description: Temporal.Calendar.prototype.dateFromFields should throw TypeError while fields is not object.
|
description: Temporal.Calendar.prototype.dateFromFields should throw TypeError while fields is not object.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(fields) is not Object, throw a TypeError exception.
|
4. If Type(fields) is not Object, throw a TypeError exception.
|
||||||
features: [Temporal]
|
features: [Symbol, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601")
|
let cal = new Temporal.Calendar("iso8601")
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ esid: sec-temporal.calendar.prototype.datefromfields
|
||||||
description: Temporal.Calendar.prototype.dateFromFields should throw TypeError from GetOptionsObject.
|
description: Temporal.Calendar.prototype.dateFromFields should throw TypeError from GetOptionsObject.
|
||||||
info: |
|
info: |
|
||||||
4. If Type(fields) is not Object, throw a TypeError exception.
|
4. If Type(fields) is not Object, throw a TypeError exception.
|
||||||
features: [Temporal]
|
features: [Symbol, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601")
|
let cal = new Temporal.Calendar("iso8601")
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dateFromFields should throw TypeError w
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601")
|
let cal = new Temporal.Calendar("iso8601")
|
||||||
let badCal = {dateFromFields: cal.dateFromFields};
|
let badCal = {dateFromFields: cal.dateFromFields};
|
||||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
||||||
5. Set options to ? GetOptionsObject(options).
|
5. Set options to ? GetOptionsObject(options).
|
||||||
6. Let result be ? ISODateFromFields(fields, options).
|
6. Let result be ? ISODateFromFields(fields, options).
|
||||||
7. Return ? CreateTemporalDate(result.[[Year]], result.[[Month]], result.[[Day]], calendar).
|
7. Return ? CreateTemporalDate(result.[[Year]], result.[[Month]], result.[[Day]], calendar).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601")
|
let cal = new Temporal.Calendar("iso8601")
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
||||||
5. Set options to ? GetOptionsObject(options).
|
5. Set options to ? GetOptionsObject(options).
|
||||||
6. Let result be ? ISODateFromFields(fields, options).
|
6. Let result be ? ISODateFromFields(fields, options).
|
||||||
7. Return ? CreateTemporalDate(result.[[Year]], result.[[Month]], result.[[Day]], calendar).
|
7. Return ? CreateTemporalDate(result.[[Year]], result.[[Month]], result.[[Day]], calendar).
|
||||||
features: [Temporal]
|
features: [Symbol, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601")
|
let cal = new Temporal.Calendar("iso8601")
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.dateuntil
|
||||||
description: Temporal.Calendar.prototype.dateUntil throw RangeError on ToLargestTemporalUnit with invalide or disallowed unit
|
description: Temporal.Calendar.prototype.dateUntil throw RangeError on ToLargestTemporalUnit with invalide or disallowed unit
|
||||||
info: |
|
info: |
|
||||||
7. Let largestUnit be ? ToLargestTemporalUnit(options, « "hour", "minute", "second", "millisecond", "microsecond", "nanosecond" », "auto", "day").
|
7. Let largestUnit be ? ToLargestTemporalUnit(options, « "hour", "minute", "second", "millisecond", "microsecond", "nanosecond" », "auto", "day").
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
4. Set one to ? ToTemporalDate(one).
|
4. Set one to ? ToTemporalDate(one).
|
||||||
5. Set two to ? ToTemporalDate(two).
|
5. Set two to ? ToTemporalDate(two).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.dateuntil
|
||||||
description: Temporal.Calendar.prototype.dateUntil throw TypeError on GetOptionsObject
|
description: Temporal.Calendar.prototype.dateUntil throw TypeError on GetOptionsObject
|
||||||
info: |
|
info: |
|
||||||
6. Set options to ? GetOptionsObject(options).
|
6. Set options to ? GetOptionsObject(options).
|
||||||
features: [Temporal]
|
features: [Symbol, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateUntil throw TypeError on RequireInt
|
||||||
info: |
|
info: |
|
||||||
1. Let calendar be the this value.
|
1. Let calendar be the this value.
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
let badCal = { dateUntil: cal.dateUntil };
|
let badCal = { dateUntil: cal.dateUntil };
|
||||||
|
|
|
@ -10,7 +10,7 @@ info: |
|
||||||
does not have an [[InitializedTemporalDate]] or
|
does not have an [[InitializedTemporalDate]] or
|
||||||
[[InitializedTemporalYearMonth]] internal slot, then
|
[[InitializedTemporalYearMonth]] internal slot, then
|
||||||
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.day
|
||||||
description: Temporal.Calendar.prototype.day throws TypeError on RequireInternalSlot if object has no internal slot.
|
description: Temporal.Calendar.prototype.day throws TypeError on RequireInternalSlot if object has no internal slot.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfWeek throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfWeek throws TypeError
|
||||||
when the internal lot is not presented.
|
when the internal lot is not presented.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfYear throws RangeError on
|
||||||
ToTemporalDate when temporalDateLike is invalid string.
|
ToTemporalDate when temporalDateLike is invalid string.
|
||||||
info: |
|
info: |
|
||||||
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfYear throws TypeError
|
||||||
when the internal lot is not presented.
|
when the internal lot is not presented.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ info: |
|
||||||
3. Assert: calendar.[[Identifier]] is "iso8601".
|
3. Assert: calendar.[[Identifier]] is "iso8601".
|
||||||
4. Let fieldNames be ? IterableToListOfType(fields, « String »).
|
4. Let fieldNames be ? IterableToListOfType(fields, « String »).
|
||||||
5. Return ! CreateArrayFromList(fieldNames).
|
5. Return ! CreateArrayFromList(fieldNames).
|
||||||
features: [Temporal]
|
features: [Symbol, Symbol.iterator, Temporal, computed-property-names, generators]
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601")
|
let cal = new Temporal.Calendar("iso8601")
|
||||||
|
|
|
@ -10,7 +10,7 @@ info: |
|
||||||
4. If Type(temporalDateLike) is Object and temporalDateLike has an
|
4. If Type(temporalDateLike) is Object and temporalDateLike has an
|
||||||
[[InitializedTemporalMonthDay]] internal slot, then
|
[[InitializedTemporalMonthDay]] internal slot, then
|
||||||
a. Throw a TypeError exception.
|
a. Throw a TypeError exception.
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ info: |
|
||||||
does not have an [[InitializedTemporalDate]] or
|
does not have an [[InitializedTemporalDate]] or
|
||||||
[[InitializedTemporalYearMonth]] internal slot, then
|
[[InitializedTemporalYearMonth]] internal slot, then
|
||||||
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.month
|
||||||
description: Temporal.Calendar.prototype.month throws TypeError on RequireInternalSlot if object has no internal slot.
|
description: Temporal.Calendar.prototype.month throws TypeError on RequireInternalSlot if object has no internal slot.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ info: |
|
||||||
does not have an [[InitializedTemporalDate]] or
|
does not have an [[InitializedTemporalDate]] or
|
||||||
[[InitializedTemporalYearMonth]] internal slot, then
|
[[InitializedTemporalYearMonth]] internal slot, then
|
||||||
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.monthCode
|
||||||
description: Temporal.Calendar.prototype.monthCode throws TypeError on RequireInternalSlot if object has no internal slot.
|
description: Temporal.Calendar.prototype.monthCode throws TypeError on RequireInternalSlot if object has no internal slot.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ info: |
|
||||||
does not have an [[InitializedTemporalDate]] or
|
does not have an [[InitializedTemporalDate]] or
|
||||||
[[InitializedTemporalYearMonth]] internal slot, then
|
[[InitializedTemporalYearMonth]] internal slot, then
|
||||||
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.year throws TypeError on
|
||||||
RequireInternalSlot if object has no internal slot.
|
RequireInternalSlot if object has no internal slot.
|
||||||
info: |
|
info: |
|
||||||
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
let cal = new Temporal.Calendar("iso8601");
|
let cal = new Temporal.Calendar("iso8601");
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
esid: sec-temporal.now.instant
|
esid: sec-temporal.now.instant
|
||||||
description: Temporal.Now.instant does not implement [[Construct]]
|
description: Temporal.Now.instant does not implement [[Construct]]
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
features: [Reflect.construct, Temporal]
|
features: [Reflect.construct, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(isConstructor(Temporal.Now.instant), false, 'isConstructor(Temporal.Now.instant) must return false');
|
assert.sameValue(isConstructor(Temporal.Now.instant), false, 'isConstructor(Temporal.Now.instant) must return false');
|
||||||
|
|
|
@ -5,7 +5,7 @@ esid: sec-temporal.now.instant
|
||||||
description: >
|
description: >
|
||||||
Temporal.Now.instant returns an Instant describing the current moment in time
|
Temporal.Now.instant returns an Instant describing the current moment in time
|
||||||
(as corroborated by `Date.now`)
|
(as corroborated by `Date.now`)
|
||||||
features: [Temporal, BigInt]
|
features: [BigInt, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var nowBefore = Date.now();
|
var nowBefore = Date.now();
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Behavior when provided calendar value is a function
|
description: Behavior when provided calendar value is a function
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
features: [Temporal]
|
features: [Proxy, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const actual = [];
|
const actual = [];
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Forwards error thrown by checking presence of "calendar" property
|
description: Forwards error thrown by checking presence of "calendar" property
|
||||||
features: [Temporal]
|
features: [Proxy, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var calendar = new Proxy({}, {
|
var calendar = new Proxy({}, {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Forwards error thrown by checking presence of nested "calendar" property
|
description: Forwards error thrown by checking presence of nested "calendar" property
|
||||||
features: [Temporal]
|
features: [Proxy, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var calendar = {
|
var calendar = {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Observable interactions with the provided calendar-like object
|
description: Observable interactions with the provided calendar-like object
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
features: [Temporal]
|
features: [Proxy, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const actual = [];
|
const actual = [];
|
||||||
|
|
|
@ -13,7 +13,7 @@ info: |
|
||||||
a. If _temporalCalendarLike_ has an [[InitializedTemporalDate]], [[InitializedTemporalDateTime]], [[InitializedTemporalMonthDay]], [[InitializedTemporalYearMonth]], or [[InitializedTemporalZonedDateTime]] internal slot, then
|
a. If _temporalCalendarLike_ has an [[InitializedTemporalDate]], [[InitializedTemporalDateTime]], [[InitializedTemporalMonthDay]], [[InitializedTemporalYearMonth]], or [[InitializedTemporalZonedDateTime]] internal slot, then
|
||||||
i. Return _temporalCalendarLike_.[[Calendar]].
|
i. Return _temporalCalendarLike_.[[Calendar]].
|
||||||
includes: [compareArray.js, temporalHelpers.js]
|
includes: [compareArray.js, temporalHelpers.js]
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
TemporalHelpers.checkToTemporalCalendarFastPath((temporalObject, calendar) => {
|
TemporalHelpers.checkToTemporalCalendarFastPath((temporalObject, calendar) => {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Temporal.Now.plainDateTime does not implement [[Construct]]
|
description: Temporal.Now.plainDateTime does not implement [[Construct]]
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
features: [Reflect.construct, Temporal]
|
features: [Reflect.construct, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(isConstructor(Temporal.Now.plainDateTime), false, 'isConstructor(Temporal.Now.plainDateTime) must return false');
|
assert.sameValue(isConstructor(Temporal.Now.plainDateTime), false, 'isConstructor(Temporal.Now.plainDateTime) must return false');
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: RangeError thrown if time zone reports an offset that is not an integer number of nanoseconds
|
description: RangeError thrown if time zone reports an offset that is not an integer number of nanoseconds
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
includes: [temporalHelpers.js]
|
includes: [temporalHelpers.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Rejects non-numeric nanosecond values reported by TimeZone-like object
|
description: Rejects non-numeric nanosecond values reported by TimeZone-like object
|
||||||
features: [Temporal]
|
features: [Symbol, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const invalidValues = [
|
const invalidValues = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: RangeError thrown if time zone reports an offset that is out of range
|
description: RangeError thrown if time zone reports an offset that is out of range
|
||||||
features: [Temporal]
|
features: [Temporal, arrow-function]
|
||||||
includes: [temporalHelpers.js]
|
includes: [temporalHelpers.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: TypeError thrown if time zone reports an offset that is not a Number
|
description: TypeError thrown if time zone reports an offset that is not a Number
|
||||||
features: [Temporal]
|
features: [Symbol, Temporal, arrow-function]
|
||||||
includes: [temporalHelpers.js]
|
includes: [temporalHelpers.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Forwards error thrown by checking presence of nested "timeZone" property
|
description: Forwards error thrown by checking presence of nested "timeZone" property
|
||||||
features: [Temporal]
|
features: [Proxy, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var timeZone = {
|
var timeZone = {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Forwards error thrown by checking presence of "timeZone" property
|
description: Forwards error thrown by checking presence of "timeZone" property
|
||||||
features: [Temporal]
|
features: [Proxy, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var timeZone = new Proxy({}, {
|
var timeZone = new Proxy({}, {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
esid: sec-temporal.now.plaindatetime
|
esid: sec-temporal.now.plaindatetime
|
||||||
description: Observable interactions with the provided timezone-like object
|
description: Observable interactions with the provided timezone-like object
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
features: [Temporal]
|
features: [Proxy, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const actual = [];
|
const actual = [];
|
||||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
||||||
implement the [[Construct]] internal method unless otherwise specified in
|
implement the [[Construct]] internal method unless otherwise specified in
|
||||||
the description of a particular function.
|
the description of a particular function.
|
||||||
includes: [isConstructor.js]
|
includes: [isConstructor.js]
|
||||||
features: [Reflect.construct, Temporal]
|
features: [Reflect.construct, Temporal, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(isConstructor(Temporal.Now.timeZone), false, 'isConstructor(Temporal.Now.timeZone) must return false');
|
assert.sameValue(isConstructor(Temporal.Now.timeZone), false, 'isConstructor(Temporal.Now.timeZone) must return false');
|
||||||
|
|
Loading…
Reference in New Issue