Name Description Size
browser.js 0
constructor-locales-invalid.js --- esid: sec-Intl.DurationFormat description: Checks error cases for the locales argument to the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 3. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_). includes: [testIntl.js] features: [Intl.DurationFormat] --- 634
constructor-locales-valid.js --- esid: sec-Intl.DurationFormat description: Checks cases for the locales argument to the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 3. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_). features: [Intl.DurationFormat] --- 1182
constructor-option-read-order.js --- esid: sec-Intl.DurationFormat description: Checks the order of option read. features: [Intl.DurationFormat] includes: [compareArray.js] --- 1220
constructor-options-defaults.js --- esid: sec-Intl.DurationFormat description: Checks handling of valid options for the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 17. For each row in Table 1, except the header row, in table order, do a. Let styleSlot be the Style Slot value. b. Let displaySlot be the Display Slot value. c. Let unit be the Unit value. d. Let valueList be the Values value. e. Let digitalBase be the Digital Default value. f. Let unitOptions be ? GetUnitOptions(unit, options, style, valueList, digitalBase, prevStyle). g. Set durationFormat.[[<styleSlot>]] to unitOptions.[[Style]]. h. Set durationFormat.[[<displaySlot>]] to unitOptions.[[Display]]. features: [Intl.DurationFormat] includes: [testIntl.js] --- 1992
constructor-options-fractionalDigits-invalid.js --- esid: sec-Intl.DurationFormat description: Tests that the option fractionalDigits is processed correctly. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 18. Set durationFormat.[[FractionalDigits]] to ? GetNumberOption(options, "fractionalDigits", 0, 9, undefined). features: [Intl.DurationFormat] --- 775
constructor-options-fractionalDigits-valid.js --- esid: sec-Intl.DurationFormat description: Tests that the option fractionalDigits is processed correctly. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 18. Set durationFormat.[[FractionalDigits]] to ? GetNumberOption(options, "fractionalDigits", 0, 9, undefined). features: [Intl.DurationFormat] --- 790
constructor-options-invalid.js --- esid: sec-Intl.DurationFormat description: Checks handling of a null options argument to the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 4. Let options be GetOptionsObject(options). features: [Intl.DurationFormat] --- 567
constructor-options-localeMatcher-invalid.js --- esid: sec-Intl.DurationFormat description: Checks handling of invalid value for the localeMatcher option to the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 5. Let matcher be ? GetOption(options, "localeMatcher", "string", « "lookup", "best fit" », "best fit"). features: [Intl.DurationFormat] --- 855
constructor-options-localeMatcher-valid.js --- esid: sec-Intl.DurationFormat description: Tests that the option localeMatcher is processed correctly. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 5. Let matcher be ? GetOption(options, "localeMatcher", "string", « "lookup", "best fit" », "best fit"). features: [Intl.DurationFormat] includes: [testIntl.js] --- 615
constructor-options-numberingSystem-invalid.js --- esid: sec-Intl.DurationFormat description: > Checks error cases for the options argument to the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 6. Let numberingSystem be ? GetOption(options, "numberingSystem", "string", undefined, undefined). 7. If numberingSystem does not match the Unicode Locale Identifier type nonterminal, throw a RangeError exception. features: [Intl.DurationFormat] --- 1065
constructor-options-numberingSystem-valid.js --- esid: sec-Intl.DurationFormat description: > Checks error cases for the options argument to the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 6. Let numberingSystem be ? GetOption(options, "numberingSystem", "string", undefined, undefined). 7. If numberingSystem does not match the Unicode Locale Identifier type nonterminal, throw a RangeError exception. features: [Intl.DurationFormat] --- 927
constructor-options-order.js --- esid: sec-Intl.DurationFormat description: Checks the order of operations on the options argument to the DurationFormat constructor. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) (...) 5. Let matcher be ? GetOption(options, "localeMatcher", "string", « "lookup", "best fit" », "best fit"). 6. Let numberingSystem be ? GetOption(options, "numberingSystem", "string", undefined, undefined). 13. Let style be ? GetOption(options, "style", "string", « "long", "short", "narrow", "digital" », "long"). includes: [compareArray.js] features: [Intl.DurationFormat] --- 1201
constructor-options-style-conflict.js --- esid: sec-isvaliddurationrecord description: Checks that the "long", "short", and "narrow" styles can't be used for units following a unit using the "numeric" or "2-digit" style. info: | GetDurationUnitOptions (unit, options, baseStyle, stylesList, digitalBase, prevStyle) (...) 6. If prevStyle is "numeric" or "2-digit", then a. If style is not "numeric" or "2-digit", then i. Throw a RangeError exception. features: [Intl.DurationFormat] --- 1753
constructor-options-style-invalid.js --- esid: sec-Intl.DurationFormat description: Checks handling of invalid value for the style option to the DurationFormat constructor. info: | InitializeDurationFormat (DurationFormat, locales, options) (...) 13. Let style be ? GetOption(options, "style", "string", « "long", "short", "narrow", "digital" », "long"). 14. Set durationFormat.[[Style]] to style. features: [Intl.DurationFormat] --- 967
constructor-options-style-valid.js --- esid: sec-Intl.DurationFormat description: Checks handling of valid values for the style option to the DurationFormat constructor. info: | InitializeDurationFormat (DurationFormat, locales, options) (...) 13. Let style be ? GetOption(options, "style", "string", « "long", "short", "narrow", "digital" », "short"). 14. Set durationFormat.[[Style]] to style. features: [Intl.DurationFormat] --- 1132
constructor-unit-style-defaults.js --- esid: sec-Intl.DurationFormat description: Verifies that default style settings for units following units with "numeric" or "2-digit" style are honored. info: | GetDurationUnitOptions (unit, options, baseStyle, stylesList, digitalBase, prevStyle) (...) 3. If style is undefined, then (...) i. If prevStyle is "fractional", "numeric" or "2-digit", then (...) 2. Set style to "numeric". (...) 9. If prevStyle is "numeric" or "2-digit", then (...) b. If unit is "minutes" or "seconds", then i. Set style to "2-digit". features: [Intl.DurationFormat] --- 1681
extensibility.js --- esid: sec-Intl.DurationFormat description: Intl.DurationFormat instance object extensibility info: | 17 ECMAScript Standard Built-in Objects: Unless specified otherwise, the [[Extensible]] internal slot of a built-in object initially has the value true. features: [Intl.DurationFormat] --- 604
length.js --- esid: sec-intl.DurationFormat description: > Intl.DurationFormat.length is 0. info: | Intl.DurationFormat ( [ locales [ , options ] ] ) 17 ECMAScript Standard Built-in Objects: 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 }. features: [Intl.DurationFormat] includes: [propertyHelper.js] --- 1170
name.js --- esid: sec-Intl.DurationFormat description: > Intl.DurationFormat.name is "DurationFormat". info: | Intl.DurationFormat ([ locales [ , options ]]) 17 ECMAScript Standard Built-in Objects: 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, the name property of a built-in Function object, if it exists, has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. features: [Intl.DurationFormat] includes: [propertyHelper.js] --- 910
newtarget-undefined.js --- esid: sec-Intl.DurationFormat description: > Verifies the NewTarget check for Intl.DurationFormat. info: | Intl.DurationFormat ([ locales [ , options ]]) (...) 1. If NewTarget is undefined, throw a TypeError exception. features: [Intl.DurationFormat] --- 707
prop-desc.js --- esid: sec-intl.DurationFormat description: > "DurationFormat" property of Intl. info: | Intl.DurationFormat ([ locales [ , options ]]) 7 Requirements for Standard Built-in ECMAScript Objects Unless specified otherwise in this document, the objects, functions, and constructors described in this standard are subject to the generic requirements and restrictions specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language Specification, 9th edition, clause 17, or successor. 17 ECMAScript Standard Built-in Objects: Every other data property described in clauses 18 through 26 and in Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. features: [Intl.DurationFormat] includes: [propertyHelper.js] --- 1100
prototype
prototype.js --- esid: sec-Intl.DurationFormat description: Intl.DurationFormat instance object is created from %DurationFormatPrototype%. info: | Intl.DurationFormat ([ locales [ , options ]]) 2. Let durationFormat be ? OrdinaryCreateFromConstructor(NewTarget, "%DurationFormatPrototype%", « [[InitializedDurationFormat]], [[Locale]], [[DataLocale]], [[NumberingSystem]], [[Style]], [[YearsStyle]], [[YearsDisplay]], [[MonthsStyle]], [[MonthsDisplay]] , [[WeeksStyle]], [[WeeksDisplay]] , [[DaysStyle]], [[DaysDisplay]] , [[HoursStyle]], [[HoursDisplay]] , [[MinutesStyle]], [[MinutesDisplay]] , [[SecondsStyle]], [[SecondsDisplay]] , [[MillisecondsStyle]], [[MillisecondsDisplay]] , [[MicrosecondsStyle]], [[MicrosecondsDisplay]] , [[NanosecondsStyle]], [[NanosecondsDisplay]], [[FractionalDigits]] »). features: [Intl.DurationFormat] --- 1201
shell.js 0
supportedLocalesOf