Name Description Size
browser.js 0
canonicalize-locale-list-take-locale.js --- esid: sec-intl.locale description: > Verifies CanonicalizeLocaleList will take Intl.Locale as locales. info: | CanonicalizeLocaleList ( locales ) 3. If Type(locales) is String or locales has an [[InitializedLocale]] internal slot, then a. Let O be CreateArrayFromList(« locales »). c. iii. If Type(kValue) is Object and kValue has an [[InitializedLocale]] internal slot, then 1. Let tag be kValue.[[Locale]]. iv. Else, 1. Let tag be ? ToString(kValue). features: [Intl.Locale] --- 1618
constructor-apply-options-canonicalizes-twice.js --- esid: sec-apply-options-to-tag description: > ApplyOptionsToTag canonicalises the language tag two times. info: | 10.1.1 ApplyOptionsToTag( tag, options ) ... 9. Set tag to CanonicalizeUnicodeLocaleId(tag). 10. If language is not undefined, ... b. Set tag to tag with the substring corresponding to the unicode_language_subtag production of the unicode_language_id replaced by the string language. ... 13. Return CanonicalizeUnicodeLocaleId(tag). features: [Intl.Locale] --- 1051
constructor-getter-order.js --- esid: sec-intl.locale description: > Checks the order of evaluations of arguments and options for the Locale constructor. features: [Intl.Locale] includes: [compareArray.js] --- 2477
constructor-locale-object.js --- esid: sec-intl.locale description: > Verifies canonicalization of specific tags. info: | ApplyOptionsToTag( tag, options ) 10. Return CanonicalizeLanguageTag(tag). features: [Intl.Locale] --- 1276
constructor-newtarget-undefined.js --- esid: sec-intl.locale description: > Verifies the NewTarget check for Intl.Locale. info: | Intl.Locale( tag [, options] ) 1. If NewTarget is undefined, throw a TypeError exception. features: [Intl.Locale] --- 623
constructor-non-iana-canon.js --- esid: sec-intl.locale description: > Verifies canonicalization, minimization and maximization of specific tags. info: | ApplyOptionsToTag( tag, options ) 10. Return CanonicalizeLanguageTag(tag). Intl.Locale.prototype.maximize () 3. Let maximal be the result of the Add Likely Subtags algorithm applied to loc.[[Locale]]. Intl.Locale.prototype.minimize () 3. Let minimal be the result of the Remove Likely Subtags algorithm applied to loc.[[Locale]]. features: [Intl.Locale] --- 3385
constructor-options-calendar-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 15. If calendar is not undefined, then a. If calendar does not match the [(3*8alphanum) *("-" (3*8alphanum))] sequence, throw a RangeError exception. 16. Set opt.[[ca]] to calendar. features: [Intl.Locale] --- 970
constructor-options-calendar-valid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 14. Let calendar be ? GetOption(options, "calendar", "string", undefined, undefined). ... features: [Intl.Locale] --- 1257
constructor-options-canonicalized.js --- esid: sec-resolvelocale description: > Values provided as properties of the options-argument to the Locale constructor are converted to canonical form. info: | ResolveLocale ( availableLocales, requestedLocales, options, relevantExtensionKeys, localeData ) ... 9.i.iii.1. Let optionsValue be the string optionsValue after performing the algorithm steps to transform Unicode extension values to canonical syntax per Unicode Technical Standard #35 LDML § 3.2.1 Canonical Unicode Locale Identifiers, treating key as ukey and optionsValue as uvalue productions. 9.i.iii.2. Let optionsValue be the string optionsValue after performing the algorithm steps to replace Unicode extension values with their canonical form per Unicode Technical Standard #35 LDML § 3.2.1 Canonical Unicode Locale Identifiers, treating key as ukey and optionsValue as uvalue productions. ... features: [Intl.Locale] --- 2391
constructor-options-casefirst-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 22. Let kf be ? GetOption(options, "caseFirst", "string", « "upper", "lower", "false" », undefined). ... GetOption ( options, property, type, values, fallback ) ... 2. d. If values is not undefined, then i. If values does not contain an element equal to value, throw a RangeError exception. ... features: [Intl.Locale] --- 1029
constructor-options-casefirst-valid.js --- esid: sec-intl.locale description: > Checks valid cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 22. Let kf be ? GetOption(options, "caseFirst", "string", « "upper", "lower", "false" », undefined). 23. Set opt.[[kf]] to kf. ... 30. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ... ApplyUnicodeExtensionToTag( tag, options, relevantExtensionKeys ) ... 8. Let locale be the String value that is tag with all Unicode locale extension sequences removed. 9. Let newExtension be ! CanonicalizeUnicodeExtension(attributes, keywords). 10. If newExtension is not the empty String, then a. Let locale be ! InsertUnicodeExtension(locale, newExtension). ... CanonicalizeUnicodeExtension( attributes, keywords ) ... 4. Repeat for each element entry of keywords in List order, a. Let keyword be entry.[[Key]]. b. If entry.[[Value]] is not the empty String, then i. Let keyword be the string-concatenation of keyword, "-", and entry.[[Value]]. c. Append keyword to fullKeywords. ... features: [Intl.Locale] --- 2199
constructor-options-collation-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 18. If collation is not undefined, then a. If collation does not match the [(3*8alphanum) *("-" (3*8alphanum))] sequence, throw a RangeError exception. features: [Intl.Locale] --- 888
constructor-options-collation-valid.js --- esid: sec-intl.locale description: > Checks valid cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 17. Let collation be ? GetOption(options, "collation", "string", undefined, undefined). ... 19. Set opt.[[co]] to collation. ... 30. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ... ApplyUnicodeExtensionToTag( tag, options, relevantExtensionKeys ) ... 8. Let locale be the String value that is tag with all Unicode locale extension sequences removed. 9. Let newExtension be ! CanonicalizeUnicodeExtension(attributes, keywords). 10. If newExtension is not the empty String, then a. Let locale be ! InsertUnicodeExtension(locale, newExtension). ... CanonicalizeUnicodeExtension( attributes, keywords ) ... 4. Repeat for each element entry of keywords in List order, a. Let keyword be entry.[[Key]]. b. If entry.[[Value]] is not the empty String, then i. Let keyword be the string-concatenation of keyword, "-", and entry.[[Value]]. c. Append keyword to fullKeywords. ... features: [Intl.Locale] --- 2147
constructor-options-firstDayOfWeek-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... x. Let fw be ? GetOption(options, "firstDayOfWeek", "string", undefined, undefined). x. If fw is not undefined, then x. Set fw to !WeekdayToString(fw). x. If fw does not match the type sequence (from UTS 35 Unicode Locale Identifier, section 3.2), throw a RangeError exception. ... features: [Intl.Locale,Intl.Locale-info] --- 1050
constructor-options-firstDayOfWeek-valid.js --- esid: sec-intl.locale description: > Checks valid cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... x. Let fw be ? GetOption(options, "firstDayOfWeek", "string", undefined, undefined). x. If fw is not undefined, then x. Set fw to !WeekdayToString(fw). x. If fw does not match the type sequence (from UTS 35 Unicode Locale Identifier, section 3.2), throw a RangeError exception. x. Set opt.[[fw]] to fw. ... x. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ... x. Set locale.[[FirstDayOfWeek]] to r.[[fw]]. ... features: [Intl.Locale,Intl.Locale-info] --- 2574
constructor-options-hourcycle-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 20. Let hc be ? GetOption(options, "hourCycle", "string", « "h11", "h12", "h23", "h24" », undefined). ... GetOption ( options, property, type, values, fallback ) ... 2. d. If values is not undefined, then i. If values does not contain an element equal to value, throw a RangeError exception. ... features: [Intl.Locale] --- 1049
constructor-options-hourcycle-valid.js --- esid: sec-intl.locale description: > Checks valid cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 20. Let hc be ? GetOption(options, "hourCycle", "string", « "h11", "h12", "h23", "h24" », undefined). 21. Set opt.[[hc]] to hc. ... 30. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ... ApplyUnicodeExtensionToTag( tag, options, relevantExtensionKeys ) ... 8. Let locale be the String value that is tag with all Unicode locale extension sequences removed. 9. Let newExtension be ! CanonicalizeUnicodeExtension(attributes, keywords). 10. If newExtension is not the empty String, then a. Let locale be ! InsertUnicodeExtension(locale, newExtension). ... CanonicalizeUnicodeExtension( attributes, keywords ) ... 4. Repeat for each element entry of keywords in List order, a. Let keyword be entry.[[Key]]. b. If entry.[[Value]] is not the empty String, then i. Let keyword be the string-concatenation of keyword, "-", and entry.[[Value]]. c. Append keyword to fullKeywords. ... features: [Intl.Locale] --- 2352
constructor-options-language-grandfathered.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | ApplyOptionsToTag( tag, options ) ... 3. Let language be ? GetOption(options, "language", "string", undefined, undefined). 4. If language is not undefined, then a. If language does not match the language production, throw a RangeError exception. b. If language matches the grandfathered production, throw a RangeError exception. ... features: [Intl.Locale] --- 1033
constructor-options-language-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) ... 4. If language is not undefined, then a. If language does not match the language production, throw a RangeError exception. ... features: [Intl.Locale] --- 1841
constructor-options-language-valid-undefined.js --- esid: sec-intl.locale description: > Verify valid language option values (undefined) info: | Intl.Locale( tag [, options] ) 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. ... IsStructurallyValidLanguageTag ( locale ) The IsStructurallyValidLanguageTag abstract operation verifies that the locale argument (which must be a String value) represents a well-formed Unicode BCP 47 Locale Identifier" as specified in Unicode Technical Standard 35 section 3.2, or successor, features: [Intl.Locale] --- 1338
constructor-options-language-valid.js --- esid: sec-intl.locale description: > Verify valid language option values (various) info: | Intl.Locale( tag [, options] ) 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) ... 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. 3. Let language be ? GetOption(options, "language", "string", undefined, undefined). 4. If language is not undefined, then a. If language does not match the unicode_language_subtag production, throw a RangeError exception. IsStructurallyValidLanguageTag ( locale ) The IsStructurallyValidLanguageTag abstract operation verifies that the locale argument (which must be a String value) represents a well-formed Unicode BCP 47 Locale Identifier" as specified in Unicode Technical Standard 35 section 3.2, or successor, features: [Intl.Locale] --- 2163
constructor-options-numberingsystem-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 28. If numberingSystem is not undefined, then a. If numberingSystem does not match the [(3*8alphanum) *("-" (3*8alphanum))] sequence, throw a RangeError exception. features: [Intl.Locale] --- 1093
constructor-options-numberingsystem-valid.js --- esid: sec-intl.locale description: > Checks valid cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 27. Let numberingSystem be ? GetOption(options, "numberingSystem", "string", undefined, undefined). ... 29. Set opt.[[nu]] to numberingSystem. ... 30. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ... ApplyUnicodeExtensionToTag( tag, options, relevantExtensionKeys ) ... 8. Let locale be the String value that is tag with all Unicode locale extension sequences removed. 9. Let newExtension be ! CanonicalizeUnicodeExtension(attributes, keywords). 10. If newExtension is not the empty String, then a. Let locale be ! InsertUnicodeExtension(locale, newExtension). ... CanonicalizeUnicodeExtension( attributes, keywords ) ... 4. Repeat for each element entry of keywords in List order, a. Let keyword be entry.[[Key]]. b. If entry.[[Value]] is not the empty String, then i. Let keyword be the string-concatenation of keyword, "-", and entry.[[Value]]. c. Append keyword to fullKeywords. ... features: [Intl.Locale] --- 2216
constructor-options-numeric-undefined.js --- esid: sec-intl.locale description: Verifies the behavior of an undefined numeric option to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 24. Let kn be ? GetOption(options, "numeric", "boolean", undefined, undefined). 25. If kn is not undefined, set kn to ! ToString(kn). ... 30. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ... ApplyUnicodeExtensionToTag( tag, options, relevantExtensionKeys ) ... 8. Let locale be the String value that is tag with all Unicode locale extension sequences removed. 9. Let newExtension be ! CanonicalizeUnicodeExtension(attributes, keywords). 10. If newExtension is not the empty String, then a. Let locale be ! InsertUnicodeExtension(locale, newExtension). ... CanonicalizeUnicodeExtension( attributes, keywords ) ... 4. Repeat for each element entry of keywords in List order, a. Let keyword be entry.[[Key]]. b. If entry.[[Value]] is not the empty String, then i. Let keyword be the string-concatenation of keyword, "-", and entry.[[Value]]. c. Append keyword to fullKeywords. ... features: [Intl.Locale] --- 1904
constructor-options-numeric-valid.js --- esid: sec-intl.locale description: > Checks valid cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 24. Let kn be ? GetOption(options, "numeric", "boolean", undefined, undefined). 25. If kn is not undefined, set kn to ! ToString(kn). ... 30. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ... ApplyUnicodeExtensionToTag( tag, options, relevantExtensionKeys ) ... 8. Let locale be the String value that is tag with all Unicode locale extension sequences removed. 9. Let newExtension be ! CanonicalizeUnicodeExtension(attributes, keywords). 10. If newExtension is not the empty String, then a. Let locale be ! InsertUnicodeExtension(locale, newExtension). ... CanonicalizeUnicodeExtension( attributes, keywords ) ... 4. Repeat for each element entry of keywords in List order, a. Let keyword be entry.[[Key]]. b. If entry.[[Value]] is not the empty String, then i. Let keyword be the string-concatenation of keyword, "-", and entry.[[Value]]. c. Append keyword to fullKeywords. ... features: [Intl.Locale] --- 2216
constructor-options-region-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) ... 8. If region is not undefined, then a. If region does not match the region production, throw a RangeError exception. ... features: [Intl.Locale] --- 1399
constructor-options-region-valid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) ... 7. Let region be ? GetOption(options, "region", "string", undefined, undefined). ... 9. If tag matches neither the privateuse nor the grandfathered production, then ... d. If region is not undefined, then i. If tag does not contain a region production, then 1. Set tag to the concatenation of the language production of tag, the substring corresponding to the "-" script production if present, "-", region, and the rest of tag. ii. Else, 1. Set tag to tag with the substring corresponding to the region production replaced by the string region. features: [Intl.Locale] --- 2261
constructor-options-script-invalid.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) ... 6. If script is not undefined, then a. If script does not match the script production, throw a RangeError exception. ... features: [Intl.Locale] --- 1236
constructor-options-script-valid-undefined.js --- esid: sec-intl.locale description: > Verify valid script option values (undefined) info: | Intl.Locale( tag [, options] ) 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) ... 5. Let script be ? GetOption(options, "script", "string", undefined, undefined). ... 9. If tag matches neither the privateuse nor the grandfathered production, then ... c. If script is not undefined, then i. If tag does not contain a script production, then 1. Set tag to the concatenation of the language production of tag, "-", script, and the rest of tag. ii. Else, 1. Set tag to tag with the substring corresponding to the script production replaced by the string script. features: [Intl.Locale] --- 1557
constructor-options-script-valid.js --- esid: sec-intl.locale description: > Verify valid language option values (various) info: | Intl.Locale( tag [, options] ) 9. Else, a. Let tag be ? ToString(tag). 10. If options is undefined, then 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ApplyOptionsToTag( tag, options ) ... 5. Let script be ? GetOption(options, "script", "string", undefined, undefined). ... 9. If tag matches neither the privateuse nor the grandfathered production, then ... c. If script is not undefined, then i. If tag does not contain a script production, then 1. Set tag to the concatenation of the language production of tag, "-", script, and the rest of tag. ii. Else, 1. Set tag to tag with the substring corresponding to the script production replaced by the string script. features: [Intl.Locale] --- 2021
constructor-options-throwing-getters.js --- esid: sec-Intl.Locale description: Checks the propagation of exceptions from the options for the Locale constructor. features: [Intl.Locale] --- 749
constructor-parse-twice.js --- esid: sec-intl.locale description: > Verifies the handling of options with grandfathered tags. info: | Intl.Locale( tag [, options] ) 12. Set tag to ? ApplyOptionsToTag(tag, options). 14. Let calendar be ? GetOption(options, "calendar", "string", undefined, undefined). 16. Set opt.[[ca]] to calendar. 30. Let r be ! ApplyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys). ApplyOptionsToTag( tag, options ) ... 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. IsStructurallyValidLanguageTag ( locale ) The IsStructurallyValidLanguageTag abstract operation verifies that the locale argument (which must be a String value) represents a well-formed Unicode BCP 47 Locale Identifier" as specified in Unicode Technical Standard 35 section 3.2, or successor, features: [Intl.Locale] --- 1907
constructor-tag-tostring.js --- esid: sec-intl.locale description: > Checks error cases for the string conversion of the locale argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 8. If Type(tag) is Object and tag has an [[InitializedLocale]] internal slot, then 9. Else, a. Let tag be ? ToString(tag). features: [Intl.Locale] --- 1343
constructor-tag.js --- esid: sec-intl.locale description: > Verifies canonicalization of specific tags. info: | ApplyOptionsToTag( tag, options ) 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. ... 13. Return CanonicalizeLanguageTag(tag). features: [Intl.Locale] --- 1694
constructor-unicode-ext-invalid.js --- esid: sec-intl.locale description: > Verifies treatment of specific structurally invalid tags. info: | ApplyOptionsToTag( tag, options ) 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. features: [Intl.Locale] --- 819
constructor-unicode-ext-valid.js --- esid: sec-intl.locale description: > Verifies canonicalization of specific tags. info: | ApplyOptionsToTag( tag, options ) 10. Return CanonicalizeLanguageTag(tag). features: [Intl.Locale] --- 1376
extensions-grandfathered.js --- esid: sec-intl.locale description: > Verifies handling of options with grandfathered tags. info: | ApplyOptionsToTag( tag, options ) ... 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. IsStructurallyValidLanguageTag ( locale ) The IsStructurallyValidLanguageTag abstract operation verifies that the locale argument (which must be a String value) represents a well-formed Unicode BCP 47 Locale Identifier" as specified in Unicode Technical Standard 35 section 3.2, or successor, features: [Intl.Locale] --- 1919
extensions-private.js --- esid: sec-intl.locale description: > Verifies handling of options with privateuse tags. info: | ApplyOptionsToTag( tag, options ) ... 9. If tag matches neither the privateuse nor the grandfathered production, then ... features: [Intl.Locale] --- 575
function-prototype.js --- esid: sec-intl.locale description: > The value of the [[Prototype]] internal slot of the Intl.Locale constructor is the intrinsic object %FunctionPrototype%. features: [Intl.Locale] --- 505
getters-grandfathered.js --- esid: sec-intl.locale description: > Verifies getters with grandfathered tags. info: | get Intl.Locale.prototype.baseName 5. Return the substring of locale corresponding to the language ["-" script] ["-" region] *("-" variant) subsequence of the unicode_language_id grammar. get Intl.Locale.prototype.language 5. Return the substring of locale corresponding to the unicode_language_subtag production. get Intl.Locale.prototype.script 6. Return the substring of locale corresponding to the unicode_script_subtag production. get Intl.Locale.prototype.region 6. Return the substring of locale corresponding to the unicode_region_subtag production. features: [Intl.Locale] --- 1325
getters-missing.js --- esid: sec-intl.locale description: > Verifies getters with missing tags. info: | get Intl.Locale.prototype.baseName 5. Return the substring of locale corresponding to the language ["-" script] ["-" region] *("-" variant) subsequence of the langtag grammar. get Intl.Locale.prototype.language 4. Return the substring of locale corresponding to the language production. get Intl.Locale.prototype.script 6. If locale does not contain the ["-" script] sequence, return undefined. 7. Return the substring of locale corresponding to the script production. get Intl.Locale.prototype.region 6. If locale does not contain the ["-" region] sequence, return undefined. 7. Return the substring of locale corresponding to the region production. features: [Intl.Locale] --- 1916
getters.js --- esid: sec-intl.locale description: > Verifies getters with normal tags. info: | Intl.Locale.prototype.toString () 3. Return loc.[[Locale]]. get Intl.Locale.prototype.baseName 5. Return the substring of locale corresponding to the language ["-" script] ["-" region] *("-" variant) subsequence of the langtag grammar. get Intl.Locale.prototype.language 4. Return the substring of locale corresponding to the language production. get Intl.Locale.prototype.script 7. Return the substring of locale corresponding to the script production. get Intl.Locale.prototype.region 7. Return the substring of locale corresponding to the region production. get Intl.Locale.prototype.calendar 3. Return loc.[[Calendar]]. get Intl.Locale.prototype.collation 3. Return loc.[[Collation]]. get Intl.Locale.prototype.hourCycle 3. Return loc.[[HourCycle]]. get Intl.Locale.prototype.caseFirst This property only exists if %Locale%.[[RelevantExtensionKeys]] contains "kf". 3. Return loc.[[CaseFirst]]. get Intl.Locale.prototype.numeric This property only exists if %Locale%.[[RelevantExtensionKeys]] contains "kn". 3. Return loc.[[Numeric]]. get Intl.Locale.prototype.numberingSystem 3. Return loc.[[NumberingSystem]]. features: [Intl.Locale] --- 4008
instance-extensibility.js --- esid: sec-intl.locale description: > Intl.Locale 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.Locale] --- 569
instance.js --- esid: sec-intl.locale description: > Intl.Locale instance object created from %LocalePrototype%. info: | Intl.Locale( tag [, options] ) 6. Let locale be ? OrdinaryCreateFromConstructor(NewTarget, %LocalePrototype%, internalSlotsList). features: [Intl.Locale] --- 631
invalid-tag-throws-boolean.js --- esid: sec-intl.locale description: > Verifies the type check on the tag argument to Intl.Locale. info: | Intl.Locale( tag [, options] ) 7. If Type(tag) is not String or Object, throw a TypeError exception. features: [Intl.Locale] --- 663
invalid-tag-throws-null.js --- esid: sec-intl.locale description: > Verifies the type check on the tag argument to Intl.Locale. info: | Intl.Locale( tag [, options] ) 7. If Type(tag) is not String or Object, throw a TypeError exception. features: [Intl.Locale] --- 562
invalid-tag-throws-number.js --- esid: sec-intl.locale description: > Verifies the type check on the tag argument to Intl.Locale. info: | Intl.Locale( tag [, options] ) 7. If Type(tag) is not String or Object, throw a TypeError exception. features: [Intl.Locale] --- 863
invalid-tag-throws-symbol.js --- esid: sec-intl.locale description: > Verifies the type check on the tag argument to Intl.Locale. info: | Intl.Locale( tag [, options] ) 7. If Type(tag) is not String or Object, throw a TypeError exception. features: [Intl.Locale, Symbol] --- 584
invalid-tag-throws-undefined.js --- esid: sec-intl.locale description: > Verifies the type check on the tag argument to Intl.Locale. info: | Intl.Locale( tag [, options] ) 7. If Type(tag) is not String or Object, throw a TypeError exception. features: [Intl.Locale] --- 676
invalid-tag-throws.js --- esid: sec-intl.locale description: > Checks error cases for the options argument to the Locale constructor. info: | Intl.Locale( tag [, options] ) ... 11. Else a. Let options be ? ToObject(options). 12. Set tag to ? ApplyOptionsToTag(tag, options). ... ApplyOptionsToTag( tag, options ) ... 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. ... includes: [testIntl.js] features: [Intl.Locale] --- 1009
length.js --- esid: sec-intl.locale description: > Checks the "length" property of the Locale constructor. info: | 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 2019 Language Specification, 10th edition, clause 17, or successor. The Locale constructor is a standard built-in property of the Intl object. 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: [Intl.Locale] --- 1431
likely-subtags-grandfathered.js --- esid: sec-intl.locale description: > Verifies canonicalization, minimization and maximization of specific tags. info: | ApplyOptionsToTag( tag, options ) 2. If IsStructurallyValidLanguageTag(tag) is false, throw a RangeError exception. 9. Set tag to CanonicalizeLanguageTag(tag). CanonicalizeLanguageTag( tag ) The CanonicalizeLanguageTag abstract operation returns the canonical and case-regularized form of the locale argument (which must be a String value that is a structurally valid Unicode BCP 47 Locale Identifier as verified by the IsStructurallyValidLanguageTag abstract operation). IsStructurallyValidLanguageTag ( locale ) The IsStructurallyValidLanguageTag abstract operation verifies that the locale argument (which must be a String value) represents a well-formed Unicode BCP 47 Locale Identifier" as specified in Unicode Technical Standard 35 section 3.2, or successor, Intl.Locale.prototype.maximize () 3. Let maximal be the result of the Add Likely Subtags algorithm applied to loc.[[Locale]]. Intl.Locale.prototype.minimize () 3. Let minimal be the result of the Remove Likely Subtags algorithm applied to loc.[[Locale]]. features: [Intl.Locale] --- 7753
likely-subtags.js --- esid: sec-intl.locale description: > Verifies canonicalization, minimization and maximization of specific tags. info: | Intl.Locale.prototype.maximize () 3. Let maximal be the result of the Add Likely Subtags algorithm applied to loc.[[Locale]]. Intl.Locale.prototype.minimize () 3. Let minimal be the result of the Remove Likely Subtags algorithm applied to loc.[[Locale]]. features: [Intl.Locale] --- 3478
name.js --- esid: sec-intl.locale description: > Checks the "name" property of the Locale constructor. info: | 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 2019 Language Specification, 10th edition, clause 17, or successor. 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: [Intl.Locale] --- 1192
prop-desc.js --- esid: sec-intl.locale description: > "Locale" property of Intl. info: | Intl.Locale (...) 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. includes: [propertyHelper.js] features: [Intl.Locale] --- 1062
proto-from-ctor-realm.js --- esid: sec-Intl.Locale description: Default [[Prototype]] value derived from realm of the NewTarget. info: | Intl.Locale ( tag [ , options] ) ... 6. Let locale be ? OrdinaryCreateFromConstructor(NewTarget, %LocalePrototype%, internalSlotsList). ... 38. Return locale. OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] ) ... 2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto). 3. Return ObjectCreate(proto, internalSlotsList). GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 3. Let proto be ? Get(constructor, 'prototype'). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Set proto to realm's intrinsic object named intrinsicDefaultProto. 5. Return proto. features: [Intl.Locale, cross-realm, Reflect, Symbol] --- 2358
prototype
reject-duplicate-variants-in-tlang.js --- esid: sec-isstructurallyvalidlanguagetag description: > Verifies that just as duplicate variants in a tag ("en-emodeng-emodeng") make the tag structurally invalid, so too do duplicate variants in the tlang component of an otherwise structurally valid tag ("de-t-emodeng-emodeng"), make it structurally invalid. info: | if a `transformed_extensions` component that contains a `tlang` component is present, then the `tlang` component contains no duplicate `unicode_variant_subtag` subtags. features: [Intl.Locale] --- 2003
reject-duplicate-variants.js --- esid: sec-isstructurallyvalidlanguagetag description: > Verifies that duplicate variants in a tag ("en-emodeng-emodeng") make the tag structurally invalid. info: | the `unicode_language_id` within _locale_ contains no duplicate `unicode_variant_subtag` subtags features: [Intl.Locale] --- 1536
shell.js 0
subclassing.js --- esid: sec-Intl.Locale description: Checks that Locale can be subclassed. info: | Intl.Locale( tag [, options] ) 6. Let locale be ? OrdinaryCreateFromConstructor(NewTarget, %LocalePrototype%, internalSlotsList). features: [Intl.Locale] --- 868