mirror of
https://github.com/tc39/test262.git
synced 2025-05-30 19:50:28 +02:00
Temporal: Edit test descriptions that refer to Calendar and TimeZone objects
This commit is contained in:
parent
372527e572
commit
0a1cb1307f
@ -272,8 +272,7 @@ var TemporalHelpers = {
|
|||||||
/*
|
/*
|
||||||
* assertUnreachable(description):
|
* assertUnreachable(description):
|
||||||
*
|
*
|
||||||
* Helper for asserting that code is not executed. This is useful for
|
* Helper for asserting that code is not executed.
|
||||||
* assertions that methods of user calendars and time zones are not called.
|
|
||||||
*/
|
*/
|
||||||
assertUnreachable(description) {
|
assertUnreachable(description) {
|
||||||
let message = "This code should not be executed";
|
let message = "This code should not be executed";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.duration.compare
|
esid: sec-temporal.duration.compare
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.duration.prototype.round
|
esid: sec-temporal.duration.prototype.round
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.duration.prototype.total
|
esid: sec-temporal.duration.prototype.total
|
||||||
description: Fast path for converting other Temporal objects to Temporal.Calendar by reading internal slots
|
description: >
|
||||||
|
Fast path for converting other Temporal objects to calendar ID by reading
|
||||||
|
internal slots
|
||||||
info: |
|
info: |
|
||||||
sec-temporal.duration.prototype.total step 4:
|
sec-temporal.duration.prototype.total step 4:
|
||||||
4. Let _relativeTo_ be ? ToRelativeTemporalObject(_options_).
|
4. Let _relativeTo_ be ? ToRelativeTemporalObject(_options_).
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.duration.prototype.total
|
esid: sec-temporal.duration.prototype.total
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.instant.prototype.tostring
|
esid: sec-temporal.instant.prototype.tostring
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.instant.prototype.tozoneddatetimeiso
|
esid: sec-temporal.instant.prototype.tozoneddatetimeiso
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindateiso
|
esid: sec-temporal.now.plaindateiso
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaindatetimeiso
|
esid: sec-temporal.now.plaindatetimeiso
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.plaintimeiso
|
esid: sec-temporal.now.plaintimeiso
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.zoneddatetimeiso
|
esid: sec-temporal.now.zoneddatetimeiso
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.plaindate.prototype.tozoneddatetime
|
esid: sec-temporal.plaindate.prototype.tozoneddatetime
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.plaindatetime.prototype.tozoneddatetime
|
esid: sec-temporal.plaindatetime.prototype.tozoneddatetime
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.compare
|
esid: sec-temporal.zoneddatetime.compare
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.from
|
esid: sec-temporal.zoneddatetime.from
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.prototype.until
|
esid: sec-temporal.zoneddatetime.prototype.until
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.prototype.withtimezone
|
esid: sec-temporal.zoneddatetime.prototype.withtimezone
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
description: Conversion of ISO date-time strings to time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: >
|
description: >
|
||||||
Appropriate error thrown when argument cannot be converted to a valid string
|
Appropriate error thrown when argument cannot be converted to a valid string
|
||||||
or object for TimeZone
|
for time zone
|
||||||
features: [BigInt, Symbol, Temporal]
|
features: [BigInt, Symbol, Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.instant.prototype.tozoneddatetimeiso
|
esid: sec-temporal.instant.prototype.tozoneddatetimeiso
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.now.zoneddatetimeiso
|
esid: sec-temporal.now.zoneddatetimeiso
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.plaindate.prototype.tozoneddatetime
|
esid: sec-temporal.plaindate.prototype.tozoneddatetime
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.plaindatetime.prototype.tozoneddatetime
|
esid: sec-temporal.plaindatetime.prototype.tozoneddatetime
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.from
|
esid: sec-temporal.zoneddatetime.from
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.prototype.equals
|
esid: sec-temporal.zoneddatetime.prototype.equals
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.prototype.until
|
esid: sec-temporal.zoneddatetime.prototype.until
|
||||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user