basic.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Tests that Intl.Segmenter has a supportedLocalesOf property, and it works as expected.
features: [Intl.Segmenter]
--- |
1019 |
branding.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: >
Verifies there's no branding check for Intl.Segmenter.supportedLocalesOf().
info: |
Intl.Segmenter.supportedLocalesOf ( locales [, options ])
features: [Intl.Segmenter]
--- |
874 |
browser.js |
|
0 |
length.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: >
Checks the "length" property of Intl.Segmenter.supportedLocalesOf().
info: |
The value of the length property of the supportedLocalesOf method is 1.
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, has a length property whose value is an integer.
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.Segmenter]
--- |
1252 |
locales-empty.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Checks handling of an empty locales argument to the supportedLocalesOf function.
info: |
Intl.Segmenter.supportedLocalesOf ( locales [, options ])
3. Return ? SupportedLocales(availableLocales, requestedLocales, options).
includes: [compareArray.js]
features: [Intl.Segmenter]
--- |
882 |
locales-invalid.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Checks error cases for the locales argument to the supportedLocalesOf function.
info: |
Intl.Segmenter.supportedLocalesOf ( locales [, options ])
2. Let requestedLocales be CanonicalizeLocaleList(locales).
includes: [testIntl.js]
features: [Intl.Segmenter]
--- |
868 |
locales-specific.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Checks handling of specific locales arguments to the supportedLocalesOf function.
info: |
Intl.Segmenter.supportedLocalesOf ( locales [, options ])
3. Return ? SupportedLocales(availableLocales, requestedLocales, options).
includes: [compareArray.js]
locale: [sr, sr-Thai-RS, de, zh-CN]
features: [Intl.Segmenter]
--- |
1024 |
name.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: >
Checks the "name" property of Intl.Segmenter.supportedLocalesOf().
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.Segmenter]
--- |
1352 |
options-localeMatcher-invalid.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Checks handling of invalid values for the localeMatcher option to the supportedLocalesOf function.
info: |
SupportedLocales ( availableLocales, requestedLocales, options )
1. If options is not undefined, then
b. Let matcher be ? GetOption(options, "localeMatcher", "string", «"lookup", "best fit"», "best fit").
features: [Intl.Segmenter]
--- |
1170 |
options-null.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Checks handling of a null options argument to the supportedLocalesOf function.
info: |
SupportedLocales ( availableLocales, requestedLocales, options )
1. If options is not undefined, then
a. Let options be ? ToObject(options).
features: [Intl.Segmenter]
--- |
865 |
options-toobject.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Checks handling of non-object options arguments to the supportedLocalesOf function.
info: |
SupportedLocales ( availableLocales, requestedLocales, options )
1. If options is not undefined, then
a. Let options be ? ToObject(options).
features: [Intl.Segmenter]
--- |
1225 |
options-undefined.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Checks handling of an undefined options argument to the supportedLocalesOf function.
info: |
SupportedLocales ( availableLocales, requestedLocales, options )
1. If options is not undefined, then
b. Let matcher be ? GetOption(options, "localeMatcher", "string", «"lookup", "best fit"», "best fit").
features: [Intl.Segmenter]
--- |
1227 |
prop-desc.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: >
Checks the "supportedLocalesOf" property of the Segmenter prototype object.
info: |
Intl.Segmenter.supportedLocalesOf ( locales [, options ])
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 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.Segmenter]
--- |
1282 |
result-type.js |
---
esid: sec-Intl.Segmenter.supportedLocalesOf
description: Verifies the type of the return value of Intl.Segmenter.supportedLocalesOf().
info: |
Intl.Segmenter.supportedLocalesOf ( locales [, options ])
includes: [propertyHelper.js]
features: [Intl.Segmenter]
--- |
1149 |
shell.js |
|
0 |