basic.js |
---
esid: sec-temporal.duration
description: Basic constructor tests.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
799 |
browser.js |
|
0 |
builtin.js |
---
esid: sec-temporal.duration
description: Tests that Temporal.Duration meets the requirements for built-in objects
info: |
Unless specified otherwise, a built-in object that is callable as a function is a built-in
function object with the characteristics described in 10.3. Unless specified otherwise, the
[[Extensible]] internal slot of a built-in object initially has the value true.
Unless otherwise specified every built-in function and every built-in constructor has the
Function prototype object [...] as the value of its [[Prototype]] internal slot.
features: [Temporal]
--- |
1272 |
call-builtin.js |
---
esid: sec-temporal.duration
description: Constructor should not call built-in functions.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
683 |
compare |
|
|
constructor.js |
---
esid: sec-temporal.duration
description: Temporal.Duration constructor cannot be called as a function
info: |
1. If NewTarget is undefined, throw a TypeError exception.
features: [Temporal]
--- |
508 |
days-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
704 |
fractional-throws-rangeerror.js |
---
description: Temporal.Duration throws a RangeError if any value is fractional
esid: sec-temporal.duration
features: [Temporal]
--- |
1565 |
from |
|
|
hours-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
707 |
infinity-throws-rangeerror.js |
---
description: Temporal.Duration throws a RangeError if any value is Infinity
esid: sec-temporal.duration
includes: [compareArray.js, temporalHelpers.js]
features: [Temporal]
--- |
6400 |
length.js |
---
esid: sec-temporal.duration
description: Temporal.Duration.length is 0
info: |
Every built-in function object, including constructors, has a "length" property whose value is
an integer. Unless otherwise specified, this value is equal to the largest number of named
arguments shown in the subclause headings for the function description. Optional parameters
(which are indicated with brackets: [ ]) or rest parameters (which are shown using the form
«...name») are not included in the default argument count.
Unless otherwise specified, the "length" property of a built-in function object has the
attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Temporal]
--- |
1146 |
max.js |
---
esid: sec-temporal.duration
description: Maximum values of arguments to the Duration constructor
includes: [temporalHelpers.js]
features: [Temporal]
--- |
2005 |
microseconds-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
719 |
milliseconds-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
716 |
minutes-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
710 |
mixed.js |
---
esid: sec-temporal.duration
description: Constructor with mixed signs.
features: [Temporal]
--- |
1223 |
months-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
698 |
name.js |
---
esid: sec-temporal.duration
description: Temporal.Duration.name is "Duration"
info: |
Every built-in function object, including constructors, that is not identified as an anonymous
function has a "name" property whose value is a String. Unless otherwise specified, this value
is the name that is given to the function in this specification.
Unless otherwise specified, the "name" property of a built-in function object, if it exists,
has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Temporal]
--- |
989 |
nanoseconds-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
722 |
negative-infinity-throws-rangeerror.js |
---
description: Temporal.Duration throws a RangeError if any value is -Infinity
esid: sec-temporal.duration
includes: [compareArray.js, temporalHelpers.js]
features: [Temporal]
--- |
6421 |
out-of-range.js |
---
esid: sec-temporal.duration
description: Various arguments to the Duration constructor that are out of range
features: [Temporal]
--- |
3496 |
prop-desc.js |
---
esid: sec-temporal.duration
description: The "Duration" property of Temporal
includes: [propertyHelper.js]
features: [Temporal]
--- |
593 |
prototype |
|
|
seconds-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
713 |
shell.js |
|
0 |
subclass.js |
---
esid: sec-temporal.duration
description: Test for Temporal.Duration subclassing.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
828 |
weeks-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
701 |
years-undefined.js |
---
esid: sec-temporal.duration
description: Undefined arguments should be treated as zero.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
697 |