Automated feature flag update

This commit is contained in:
Rick Waldron 2021-08-05 18:44:17 -04:00
parent 1c722a8158
commit e6c21464f5
45 changed files with 45 additions and 45 deletions

View File

@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw from ToTemporalDat
info: |
...
4. Set date to ? ToTemporalDate(date).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw from ToTemporalDur
info: |
...
5. Set duration to ? ToTemporalDuration(duration).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.dateadd
description: Temporal.Calendar.prototype.dateAdd should throw from ToTemporalOverflow.
info: |
7. Let overflow be ? ToTemporalOverflow(options).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw from GetOptionsObj
info: |
...
6. Set options to ? GetOptionsObject(options).
features: [Temporal]
features: [BigInt, Symbol, Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");
let invalidOptionsList =

View File

@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateAdd should throw if calendar does n
info: |
1. Let calendar be the this value.
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -5,7 +5,7 @@ esid: sec-temporal.calendar.prototype.datefromfields
description: Temporal.Calendar.prototype.dateFromFields should throw Error from ISODateFromFields.
info: |
6. Let result be ? ISODateFromFields(fields, options).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601")

View File

@ -5,7 +5,7 @@ esid: sec-temporal.calendar.prototype.datefromfields
description: Temporal.Calendar.prototype.dateFromFields should throw TypeError while fields is not object.
info: |
4. If Type(fields) is not Object, throw a TypeError exception.
features: [Temporal]
features: [Symbol, Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601")

View File

@ -5,7 +5,7 @@ esid: sec-temporal.calendar.prototype.datefromfields
description: Temporal.Calendar.prototype.dateFromFields should throw TypeError from GetOptionsObject.
info: |
4. If Type(fields) is not Object, throw a TypeError exception.
features: [Temporal]
features: [Symbol, Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601")

View File

@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dateFromFields should throw TypeError w
info: |
1. Let calendar be the this value.
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601")
let badCal = {dateFromFields: cal.dateFromFields};

View File

@ -12,7 +12,7 @@ info: |
5. Set options to ? GetOptionsObject(options).
6. Let result be ? ISODateFromFields(fields, options).
7. Return ? CreateTemporalDate(result.[[Year]], result.[[Month]], result.[[Day]], calendar).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601")

View File

@ -11,7 +11,7 @@ info: |
5. Set options to ? GetOptionsObject(options).
6. Let result be ? ISODateFromFields(fields, options).
7. Return ? CreateTemporalDate(result.[[Year]], result.[[Month]], result.[[Day]], calendar).
features: [Temporal]
features: [Symbol, Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601")

View File

@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.dateuntil
description: Temporal.Calendar.prototype.dateUntil throw RangeError on ToLargestTemporalUnit with invalide or disallowed unit
info: |
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");

View File

@ -8,7 +8,7 @@ info: |
1. Let calendar be the this value.
4. Set one to ? ToTemporalDate(one).
5. Set two to ? ToTemporalDate(two).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -6,7 +6,7 @@ esid: sec-temporal.calendar.prototype.dateuntil
description: Temporal.Calendar.prototype.dateUntil throw TypeError on GetOptionsObject
info: |
6. Set options to ? GetOptionsObject(options).
features: [Temporal]
features: [Symbol, Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.dateUntil throw TypeError on RequireInt
info: |
1. Let calendar be the this value.
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");
let badCal = { dateUntil: cal.dateUntil };

View File

@ -10,7 +10,7 @@ info: |
does not have an [[InitializedTemporalDate]] or
[[InitializedTemporalYearMonth]] internal slot, then
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -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.
info: |
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfWeek throws RangeError on
ToTemporalDate when temporalDateLike is invalid string.
info: |
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfWeek throws TypeError
when the internal lot is not presented.
info: |
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfYear throws RangeError on
ToTemporalDate when temporalDateLike is invalid string.
info: |
4. Let temporalDate be ? ToTemporalDate(temporalDateLike).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -6,7 +6,7 @@ description: Temporal.Calendar.prototype.dayOfYear throws TypeError
when the internal lot is not presented.
info: |
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -13,7 +13,7 @@ info: |
3. Assert: calendar.[[Identifier]] is "iso8601".
4. Let fieldNames be ? IterableToListOfType(fields, « String »).
5. Return ! CreateArrayFromList(fieldNames).
features: [Temporal]
features: [Symbol, Symbol.iterator, Temporal, computed-property-names, generators]
includes: [compareArray.js]
---*/
let cal = new Temporal.Calendar("iso8601")

View File

@ -10,7 +10,7 @@ info: |
4. If Type(temporalDateLike) is Object and temporalDateLike has an
[[InitializedTemporalMonthDay]] internal slot, then
a. Throw a TypeError exception.
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -10,7 +10,7 @@ info: |
does not have an [[InitializedTemporalDate]] or
[[InitializedTemporalYearMonth]] internal slot, then
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -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.
info: |
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -10,7 +10,7 @@ info: |
does not have an [[InitializedTemporalDate]] or
[[InitializedTemporalYearMonth]] internal slot, then
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -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.
info: |
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -10,7 +10,7 @@ info: |
does not have an [[InitializedTemporalDate]] or
[[InitializedTemporalYearMonth]] internal slot, then
a. Set temporalDateLike to ? ToTemporalDate(temporalDateLike).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -7,7 +7,7 @@ description: Temporal.Calendar.prototype.year throws TypeError on
RequireInternalSlot if object has no internal slot.
info: |
2. Perform ? RequireInternalSlot(calendar, [[InitializedTemporalCalendar]]).
features: [Temporal]
features: [Temporal, arrow-function]
---*/
let cal = new Temporal.Calendar("iso8601");

View File

@ -4,7 +4,7 @@
esid: sec-temporal.now.instant
description: Temporal.Now.instant does not implement [[Construct]]
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');

View File

@ -5,7 +5,7 @@ esid: sec-temporal.now.instant
description: >
Temporal.Now.instant returns an Instant describing the current moment in time
(as corroborated by `Date.now`)
features: [Temporal, BigInt]
features: [BigInt, Temporal]
---*/
var nowBefore = Date.now();

View File

@ -5,7 +5,7 @@
esid: sec-temporal.now.plaindatetime
description: Behavior when provided calendar value is a function
includes: [compareArray.js]
features: [Temporal]
features: [Proxy, Temporal]
---*/
const actual = [];

View File

@ -4,7 +4,7 @@
/*---
esid: sec-temporal.now.plaindatetime
description: Forwards error thrown by checking presence of "calendar" property
features: [Temporal]
features: [Proxy, Temporal]
---*/
var calendar = new Proxy({}, {

View File

@ -3,7 +3,7 @@
/*---
esid: sec-temporal.now.plaindatetime
description: Forwards error thrown by checking presence of nested "calendar" property
features: [Temporal]
features: [Proxy, Temporal]
---*/
var calendar = {

View File

@ -5,7 +5,7 @@
esid: sec-temporal.now.plaindatetime
description: Observable interactions with the provided calendar-like object
includes: [compareArray.js]
features: [Temporal]
features: [Proxy, Temporal]
---*/
const actual = [];

View File

@ -13,7 +13,7 @@ info: |
a. If _temporalCalendarLike_ has an [[InitializedTemporalDate]], [[InitializedTemporalDateTime]], [[InitializedTemporalMonthDay]], [[InitializedTemporalYearMonth]], or [[InitializedTemporalZonedDateTime]] internal slot, then
i. Return _temporalCalendarLike_.[[Calendar]].
includes: [compareArray.js, temporalHelpers.js]
features: [Temporal]
features: [Temporal, arrow-function]
---*/
TemporalHelpers.checkToTemporalCalendarFastPath((temporalObject, calendar) => {

View File

@ -4,7 +4,7 @@
esid: sec-temporal.now.plaindatetime
description: Temporal.Now.plainDateTime does not implement [[Construct]]
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');

View File

@ -4,7 +4,7 @@
/*---
esid: sec-temporal.now.plaindatetime
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]
---*/

View File

@ -4,7 +4,7 @@
/*---
esid: sec-temporal.now.plaindatetime
description: Rejects non-numeric nanosecond values reported by TimeZone-like object
features: [Temporal]
features: [Symbol, Temporal, arrow-function]
---*/
const invalidValues = [

View File

@ -4,7 +4,7 @@
/*---
esid: sec-temporal.now.plaindatetime
description: RangeError thrown if time zone reports an offset that is out of range
features: [Temporal]
features: [Temporal, arrow-function]
includes: [temporalHelpers.js]
---*/

View File

@ -4,7 +4,7 @@
/*---
esid: sec-temporal.now.plaindatetime
description: TypeError thrown if time zone reports an offset that is not a Number
features: [Temporal]
features: [Symbol, Temporal, arrow-function]
includes: [temporalHelpers.js]
---*/

View File

@ -3,7 +3,7 @@
/*---
esid: sec-temporal.now.plaindatetime
description: Forwards error thrown by checking presence of nested "timeZone" property
features: [Temporal]
features: [Proxy, Temporal]
---*/
var timeZone = {

View File

@ -3,7 +3,7 @@
/*---
esid: sec-temporal.now.plaindatetime
description: Forwards error thrown by checking presence of "timeZone" property
features: [Temporal]
features: [Proxy, Temporal]
---*/
var timeZone = new Proxy({}, {

View File

@ -5,7 +5,7 @@
esid: sec-temporal.now.plaindatetime
description: Observable interactions with the provided timezone-like object
includes: [compareArray.js]
features: [Temporal]
features: [Proxy, Temporal]
---*/
const actual = [];

View File

@ -11,7 +11,7 @@ info: |
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
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');