Name Description Size
basic.js --- esid: sec-temporal.duration description: Basic constructor tests. includes: [temporalHelpers.js] features: [Temporal] --- 874
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] --- 1347
call-builtin.js --- esid: sec-temporal.duration description: Constructor should not call built-in functions. includes: [temporalHelpers.js] features: [Temporal] --- 758
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] --- 583
days-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 779
fractional-throws-rangeerror.js --- description: Temporal.Duration throws a RangeError if any value is fractional esid: sec-temporal.duration features: [Temporal] --- 1640
from
get-prototype-from-constructor-throws.js --- esid: sec-temporal.instant description: > OrdinaryCreateFromConstructor returns with an abrupt completion. info: | CreateTemporalDuration ( years, months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds [ , newTarget ] ) ... 3. Let object be ? OrdinaryCreateFromConstructor(newTarget, "%Temporal.Duration.prototype%", « [[InitializedTemporalDuration]], [[Years]], [[Months]], [[Weeks]], [[Days]], [[Hours]], [[Minutes]], [[Seconds]], [[Milliseconds]], [[Microseconds]], [[Nanoseconds]] »). ... OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] ) ... 2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto). ... GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 2. Let proto be ? Get(constructor, "prototype"). ... features: [Temporal] --- 1485
hours-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 782
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] --- 6475
invalid-type.js --- esid: sec-temporal.duration description: > ToNumber conversion throws. info: | Temporal.Duration ( [ years [ , months [ , weeks [ , days [ , hours [ , minutes [ , seconds [ , milliseconds [ , microseconds [ , nanoseconds ] ] ] ] ] ] ] ] ] ] ) ... 2. If years is undefined, let y be 0; else let y be ? ToIntegerIfIntegral(years). 3. If months is undefined, let mo be 0; else let mo be ? ToIntegerIfIntegral(months). 4. If weeks is undefined, let w be 0; else let w be ? ToIntegerIfIntegral(weeks). 5. If days is undefined, let d be 0; else let d be ? ToIntegerIfIntegral(days). 6. If hours is undefined, let h be 0; else let h be ? ToIntegerIfIntegral(hours). 7. If minutes is undefined, let m be 0; else let m be ? ToIntegerIfIntegral(minutes). 8. If seconds is undefined, let s be 0; else let s be ? ToIntegerIfIntegral(seconds). 9. If milliseconds is undefined, let ms be 0; else let ms be ? ToIntegerIfIntegral(milliseconds). 10. If microseconds is undefined, let mis be 0; else let mis be ? ToIntegerIfIntegral(microseconds). 11. If nanoseconds is undefined, let ns be 0; else let ns be ? ToIntegerIfIntegral(nanoseconds). ... ToIntegerIfIntegral ( argument ) 1. Let number be ? ToNumber(argument). ... features: [Temporal] --- 2483
large-number.js --- esid: sec-temporal.duration description: > Throws RangeError when any duration component is a too large finite number. features: [Temporal] --- 2242
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] --- 1221
lower-limit.js --- includes: [temporalHelpers.js] esid: sec-temporal.duration description: Minimum value is zero. features: [Temporal] --- 599
max.js --- esid: sec-temporal.duration description: Maximum values of arguments to the Duration constructor includes: [temporalHelpers.js] features: [Temporal] --- 2080
microseconds-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 794
milliseconds-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 791
minutes-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 785
mixed.js --- esid: sec-temporal.duration description: Constructor with mixed signs. features: [Temporal] --- 1298
months-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 773
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] --- 1064
nanoseconds-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 797
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] --- 6496
out-of-range.js --- esid: sec-temporal.duration description: Various arguments to the Duration constructor that are out of range features: [Temporal] --- 3571
prop-desc.js --- esid: sec-temporal.duration description: The "Duration" property of Temporal includes: [propertyHelper.js] features: [Temporal] --- 668
prototype
seconds-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 788
shell.js 0
subclass.js --- esid: sec-temporal.duration description: Test for Temporal.Duration subclassing. includes: [temporalHelpers.js] features: [Temporal] --- 903
weeks-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 776
years-undefined.js --- esid: sec-temporal.duration description: Undefined arguments should be treated as zero. includes: [temporalHelpers.js] features: [Temporal] --- 772