Name Description Size Coverage
argument-duration-max.js --- esid: sec-temporal.duration.prototype.add description: Maximum allowed duration features: [Temporal] --- 2079 -
argument-duration-out-of-range.js --- esid: sec-temporal.duration.prototype.add description: Duration-like argument that is out of range features: [Temporal] --- 3474 -
argument-duration-precision-exact-numerical-values.js --- esid: sec-temporal.duration.prototype.add description: > Duration-like argument performs the range check with minimal floating point precision loss features: [Temporal] --- 2879 -
argument-invalid-property.js --- esid: sec-temporal.duration.prototype.add description: temporalDurationLike object must contain at least one correctly spelled property features: [Temporal] --- 834 -
argument-mixed-sign.js --- esid: sec-temporal.duration.prototype.add description: Positive and negative values in the temporalDurationLike argument are not acceptable features: [Temporal] --- 634 -
argument-not-object.js --- esid: sec-temporal.duration.prototype.add description: Passing a primitive other than string to add() throws features: [Symbol, Temporal] --- 1047 -
argument-propertybag-optional-properties.js --- esid: sec-temporal.duration.prototype.add description: > A property bag missing optional properties is equivalent to a property bag with all the optional properties having their default values includes: [temporalHelpers.js] features: [Temporal] --- 990 -
argument-singular-properties.js --- esid: sec-temporal.duration.prototype.add description: Singular properties in the property bag are always ignored features: [Temporal] --- 801 -
argument-string-fractional-units-rounding-mode.js --- esid: sec-temporal.duration.prototype.add description: Strings with fractional duration units are rounded with the correct rounding mode includes: [temporalHelpers.js] features: [Temporal] --- 807 -
argument-string-negative-fractional-units.js --- esid: sec-temporal.duration.prototype.add description: Strings with fractional duration units are treated with the correct sign includes: [temporalHelpers.js] features: [Temporal] --- 837 -
argument-string.js --- esid: sec-temporal.duration.prototype.add description: String arguments are supported. includes: [temporalHelpers.js] features: [Temporal] --- 711 -
balance-negative-result.js --- esid: sec-temporal.duration.prototype.add description: A negative duration result is balanced only up to hours includes: [temporalHelpers.js] features: [Temporal] --- 651 -
balance-negative-time-units.js --- esid: sec-temporal.duration.prototype.add description: Negative time fields are balanced upwards includes: [temporalHelpers.js] features: [Temporal] --- 1518 -
basic.js --- esid: sec-temporal.duration.prototype.add description: Basic behavior includes: [temporalHelpers.js] features: [Temporal] --- 1791 -
blank-duration.js --- esid: sec-temporal.duration.prototype.add description: Behaviour with blank duration features: [Temporal] includes: [temporalHelpers.js] --- 609 -
branding.js --- esid: sec-temporal.duration.prototype.add description: Throw a TypeError if the receiver is invalid features: [Symbol, Temporal] --- 1194 -
browser.js 0 -
builtin.js --- esid: sec-temporal.duration.prototype.add description: > Tests that Temporal.Duration.prototype.add meets the requirements for built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. info: | Built-in functions that are not constructors do not have a "prototype" property unless otherwise specified in the description of a particular function. 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] --- 1623 -
float64-representable-integer.js --- esid: sec-temporal.duration.prototype.add description: Internal representation uses float64-representable integers features: [Temporal] --- 1071 -
infinity-throws-rangeerror.js --- description: Temporal.Duration.prototype.add throws a RangeError if any value in a property bag is Infinity esid: sec-temporal.duration.prototype.add features: [Temporal] --- 1020 -
length.js --- esid: sec-temporal.duration.prototype.add description: Temporal.Duration.prototype.add.length is 1 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] --- 1188 -
name.js --- esid: sec-temporal.duration.prototype.add description: Temporal.Duration.prototype.add.name is "add". 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] --- 1022 -
nanoseconds-is-number-max-safe-integer.js --- esid: sec-temporal.duration.prototype.add description: > AddDuration computes on exact mathematical number values. includes: [temporalHelpers.js] features: [Temporal] --- 1083 -
negative-infinity-throws-rangeerror.js --- description: Temporal.Duration.prototype.add throws a RangeError if any value in a property bag is -Infinity esid: sec-temporal.duration.prototype.add features: [Temporal] --- 1023 -
no-calendar-units.js --- esid: sec-temporal.duration.prototype.add description: > Throws if either the receiver or the argument is a duration with nonzero calendar units features: [Temporal] --- 1773 -
non-integer-throws-rangeerror.js --- esid: sec-temporal.duration.prototype.add description: A non-integer value for any recognized property in the property bag, throws a RangeError features: [Temporal] --- 823 -
not-a-constructor.js --- esid: sec-temporal.duration.prototype.add description: > Temporal.Duration.prototype.add does not implement [[Construct]], is not new-able info: | Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function. includes: [isConstructor.js] features: [Reflect.construct, Temporal] --- 910 -
order-of-operations.js --- esid: sec-temporal.duration.prototype.add description: Properties on an object passed to add() are accessed in the correct order includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 1903 -
precision-exact-mathematical-values.js --- esid: sec-temporal.duration.prototype.add description: > AddDuration computes on exact mathematical number values. includes: [temporalHelpers.js] features: [Temporal] --- 801 -
precision-no-floating-point-loss.js --- esid: sec-temporal.duration.prototype.add description: > BalanceDuration computes floating-point values that are the same as exact math includes: [temporalHelpers.js] features: [Temporal] --- 1158 -
prop-desc.js --- esid: sec-temporal.duration.prototype.add description: The "add" property of Temporal.Duration.prototype includes: [propertyHelper.js] features: [Temporal] --- 663 -
result-out-of-range-1.js --- esid: sec-temporal.duration.prototype.add description: > BalanceDuration throws a RangeError when the result is too large. features: [Temporal] --- 1103 -
result-out-of-range-2.js --- esid: sec-temporal.duration.prototype.add description: > BalanceDuration throws a RangeError when the result is too large. features: [Temporal] --- 593 -
result-out-of-range-3.js --- esid: sec-temporal.duration.prototype.add description: > TemporalDurationFromInternal throws a RangeError when the result is too large. info: | TemporalDurationFromInternal ( internalDuration, largestUnit ) ... 9. Else if largestUnit is microsecond, then a. Set microseconds to floor(nanoseconds / 1000). b. Set nanoseconds to nanoseconds modulo 1000. ... 12. Return ? CreateTemporalDuration(internalDuration.[[Date]].[[Years]], internalDuration.[[Date]].[[Months]], internalDuration.[[Date]].[[Weeks]], internalDuration.[[Date]].[[Days]] + days × sign, hours × sign, minutes × sign, seconds × sign, milliseconds × sign, microseconds × sign, nanoseconds × sign). features: [Temporal] --- 1442 -
shell.js --- description: | Test if a given function is a constructor function. defines: [isConstructor] features: [Reflect.construct] --- 596 -
subclassing-ignored.js --- esid: sec-temporal.duration.prototype.add description: Objects of a subclass are never created as return values. includes: [temporalHelpers.js] features: [Temporal] --- 654 -