browser.js |
|
0 |
builtin.js |
---
es5id: 10.1_L15
description: >
Tests that Intl.Collator meets the requirements for built-in
objects defined by the introduction of chapter 17 of the
ECMAScript Language Specification.
author: Norbert Lindenberg
--- |
753 |
constructor-options-throwing-getters.js |
---
esid: sec-initializecollator
description: Checks the propagation of exceptions from the options for the Collator constructor.
--- |
682 |
default-options-object-prototype.js |
---
esid: sec-initializecollator
description: >
Monkey-patching Object.prototype does not change the default
options for Collator as a null prototype is used.
info: |
InitializeCollator ( collator, locales, options )
1. If _options_ is *undefined*, then
1. Let _options_ be ObjectCreate(*null*).
--- |
715 |
ignore-invalid-unicode-ext-values.js |
---
es5id: 10.2.3_b
description: >
Tests that Intl.Collator does not accept Unicode locale extension
keys and values that are not allowed.
author: Norbert Lindenberg
includes: [compareArray.js]
--- |
1959 |
instance-proto-and-extensible.js |
---
es5id: 10.1.3
description: >
Tests that objects constructed by Intl.Collator have the specified
internal properties.
author: Norbert Lindenberg
--- |
638 |
legacy-regexp-statics-not-modified.js |
---
es5id: 10.1.1_a
description: >
Tests that constructing a Collator doesn't create or modify
unwanted properties on the RegExp constructor.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
456 |
length.js |
---
esid: sec-intl.collator
description: >
Intl.Collator.length is 0.
info: |
Intl.Collator ( [ 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 }.
includes: [propertyHelper.js]
--- |
1122 |
missing-unicode-ext-value-defaults-to-true.js |
---
es5id: 9.2.5_11_g_ii_2
description: >
Tests that missing Unicode extension values default to true for
boolean keys.
author: Norbert Lindenberg
--- |
1275 |
name.js |
---
esid: sec-Intl.Collator
description: >
Intl.Collator.name is "Collator".
info: |
10.1.2 Intl.Collator ([ 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 }.
includes: [propertyHelper.js]
--- |
856 |
numeric-and-caseFirst.js |
---
es5id: 10.1.1_19_c
description: >
Tests that the options numeric and caseFirst can be set through
either the locale or the options.
author: Norbert Lindenberg
--- |
2334 |
prop-desc.js |
---
esid: sec-intl.collator-intro
description: >
"Collator" property of Intl.
info: |
Intl.Collator (...)
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]
--- |
1037 |
proto-from-ctor-realm.js |
---
esid: sec-intl.collator
description: Default [[Prototype]] value derived from realm of the NewTarget.
info: |
Intl.Collator ( [ locales [ , options ] ] )
1. If NewTarget is undefined, let newTarget be the active function object, else let newTarget be NewTarget.
...
5. Let collator be ? OrdinaryCreateFromConstructor(newTarget, "%CollatorPrototype%", internalSlotsList).
6. Return ? InitializeCollator(collator, locales, options).
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: [cross-realm, Reflect, Symbol]
--- |
2467 |
prototype |
|
|
shell.js |
|
0 |
subclassing.js |
---
es5id: 10.1.2_a
description: Tests that Intl.Collator can be subclassed.
author: Norbert Lindenberg
includes: [compareArray.js]
--- |
940 |
supportedLocalesOf |
|
|
taint-Object-prototype.js |
---
es5id: 10.1.1_10
description: >
Tests that the behavior of a Record is not affected by
adversarial changes to Object.prototype.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
611 |
test-option-ignorePunctuation.js |
---
es5id: 10.1.1_23
description: Tests that the option ignorePunctuation is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
487 |
test-option-localeMatcher.js |
---
es5id: 10.1.1_11
description: Tests that the option localeMatcher is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
416 |
test-option-numeric-and-caseFirst.js |
---
es5id: 10.1.1_13
description: >
Tests that the options numeric and caseFirst are processed
correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
529 |
test-option-sensitivity.js |
---
es5id: 10.1.1_20
description: Tests that the option sensitivity is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
506 |
test-option-usage.js |
---
es5id: 10.1.1_6
description: Tests that the option usage is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
373 |
this-value-ignored.js |
---
es5id: 10.1.1_1
description: Tests that the this-value is ignored in Collator.
author: Norbert Lindenberg
includes: [testIntl.js]
--- |
1068 |
unicode-ext-seq-in-private-tag.js |
---
esid: sec-initializecollator
description: >
Unicode extension sequence-like parts are ignored in private-use tags.
info: |
10.1.1 InitializeCollator ( collator, locales, options )
...
15. For each element key of relevantExtensionKeys in List order, do
a. If key is "co", then
i. Let value be r.[[co]].
ii. If value is null, let value be "default".
iii. Set collator.[[Collation]] to value.
...
10.3.5 Intl.Collator.prototype.resolvedOptions ()
The function returns a new object whose properties and attributes are set as if constructed
by an object literal assigning to each of the following properties the value of the
corresponding internal slot of this Collator object (see 10.4): ...
--- |
1052 |
unicode-ext-seq-with-attribute.js |
---
esid: sec-initializecollator
description: >
Attributes in Unicode extension subtags should be ignored.
info: |
10.1.1 InitializeCollator ( collator, locales, options )
...
15. For each element key of relevantExtensionKeys in List order, do
a. If key is "co", then
i. Let value be r.[[co]].
ii. If value is null, let value be "default".
iii. Set collator.[[Collation]] to value.
...
10.3.5 Intl.Collator.prototype.resolvedOptions ()
The function returns a new object whose properties and attributes are set as if constructed
by an object literal assigning to each of the following properties the value of the
corresponding internal slot of this Collator object (see 10.4): ...
--- |
1268 |
unicode-ext-value-collation.js |
---
es5id: 10.1.1_19_b
description: Tests the special handling of the "co" key in Intl.Collator.
author: Norbert Lindenberg
--- |
1645 |
usage-de.js |
---
esid: sec-initializecollator
description: Checks the behavior of search and sort in German.
includes: [compareArray.js]
locale: [de]
--- |
616 |