Skip to content

test262 intl402 small constructors — 80 fails (RelativeTimeFormat/Segmenter/Collator/ListFormat/PluralRules/DisplayNames) #5585

Description

@proggeramlug

Current state — 80 failing. Snapshot from the 2026-06-27 full sweep (perry 0.5.1206, node v26.3.0). This supersedes the original body; the complete current failing-test list is inline below — no re-run needed to start.

Small Intl constructors — mostly arg-validation negatives (Expected a TypeError), supported-locales plumbing, and Collator canonical-equivalence collation. Grouped; see the per-constructor breakdown below.

Failure reasons

n reason
6 Uncaught exception: Expected a TypeError to be thrown but no exception
5 Uncaught exception: instanceof check - undefined
4 TypeError: Cannot convert undefined or null to object
4 Uncaught exception: Expected SameValue(«5», «3») to be true
3 TypeError: value is not a function
3 Uncaught exception: Expected one call from true Expected SameValue(«0»
3 Uncaught exception: Expected SameValue(«"[object Object]"», «"[object
3 Uncaught exception: Expected SameValue(«"in 1,000 seconds"», «"za 1000
3 Uncaught exception: formatToParts(1000, second): length Expected SameV
2 Uncaught exception: Expected SameValue(«"undefined"», «"function"») to
2 Uncaught exception: Expected SameValue(«"foo, bar"», «"foo y bar"») to
2 Uncaught exception: undefined: parts[1].value Expected SameValue(«", "

By area

Segmenter 21 · RelativeTimeFormat 18 · Collator 15 · ListFormat 12 · DisplayNames 8 · PluralRules 6

All 80 failing tests (path — reason)

full list — click to expand
intl402/Collator/ignore-invalid-unicode-ext-values.js    Uncaught exception: Locale en-US-u-co-standard is affected by key co; value standard. Expe
intl402/Collator/prototype/compare/compare-function-name.js    Uncaught exception: name descriptor value should be ; name value should be
intl402/Collator/prototype/compare/length.js    TypeError: Cannot convert undefined or null to object
intl402/Collator/prototype/compare/name.js    TypeError: Cannot convert undefined or null to object
intl402/Collator/prototype/compare/non-normative-basic.js    Uncaught exception: Actual [A, C, E, H, J, L, N, V, X, Z, b, d, f, g, i, k, m, w, y] and e
intl402/Collator/prototype/compare/non-normative-phonebook.js    Uncaught exception: Actual [A, Ab, Af, b, od, off, Ä, ö] and expected [A, Ab, Ä, Af, b, od
intl402/Collator/prototype/compare/non-normative-sensitivity.js    Uncaught exception: Actual [Aa] and expected [Aa, aA, áÁ, Aã] should have the same content
intl402/Collator/prototype/compare/prop-desc.js    Uncaught exception: Expected SameValue(«"undefined"», «"function"») to be true
intl402/Collator/prototype/resolvedOptions/ignorePunctuation-default.js    Uncaught exception: Thai default ignorePunctuation to true Expected SameValue(«false», «tr
intl402/Collator/prototype/resolvedOptions/resolved-case-first-unicode-extensions-and-options.js    Uncaught exception: Resolved locale for locale=en-u-kf-lower with caseFirst=upper Expected
intl402/Collator/prototype/resolvedOptions/resolved-collation-unicode-extensions-and-options.js    Uncaught exception: Resolved collation for locale=de-u-co-phonebk with collation=pinyin Ex
intl402/Collator/prototype/resolvedOptions/resolved-numeric-unicode-extensions-and-options.js    Uncaught exception: Resolved locale for locale=en-u-kn-false with numeric=true Expected Sa
intl402/Collator/unicode-ext-seq-with-attribute.js    Uncaught exception: Expected SameValue(«"de-u-co-phonebk"», «"de-u-attrval-co-phonebk"») t
intl402/Collator/unicode-ext-value-collation.js    Uncaught exception: Collation for "invalid" should be default, but is invalid. Expected Sa
intl402/Collator/usage-de.js    Uncaught exception: Actual [AE, Ä] and expected [Ä, AE] should have the same contents. sor
intl402/DisplayNames/ctor-custom-prototype.js    Uncaught exception: Expected SameValue(«[object Intl.DisplayNames]», «[object Object]») to
intl402/DisplayNames/locales-symbol-length.js    Uncaught exception: Actual [] and expected [length, 0] should have the same contents.
intl402/DisplayNames/options-fallback-valid.js    Uncaught exception: instanceof check - undefined
intl402/DisplayNames/options-languagedisplay-valid.js    Uncaught exception: instanceof check - undefined
intl402/DisplayNames/options-localeMatcher-valid.js    Uncaught exception: instanceof check - undefined
intl402/DisplayNames/options-random-properties-unchecked.js    Uncaught exception: Expected true but got false
intl402/DisplayNames/options-style-valid.js    Uncaught exception: instanceof check - undefined
intl402/DisplayNames/options-type-valid.js    Uncaught exception: instanceof check - language
intl402/ListFormat/constructor/constructor/newtarget-undefined.js    Uncaught exception: Expected a TypeError to be thrown but no exception was thrown at all
intl402/ListFormat/constructor/constructor/subclassing.js    TypeError: value is not a function
intl402/ListFormat/constructor/supportedLocalesOf/options-toobject.js    Uncaught exception: Expected one call from true Expected SameValue(«0», «1») to be true
intl402/ListFormat/prototype/format/es-es-long.js    Uncaught exception: Expected SameValue(«"foo, bar"», «"foo y bar"») to be true
intl402/ListFormat/prototype/format/es-es-short.js    Uncaught exception: Expected SameValue(«"foo, bar"», «"foo y bar"») to be true
intl402/ListFormat/prototype/format/iterable-invalid.js    Uncaught exception: Expected SameValue(«5», «3») to be true
intl402/ListFormat/prototype/format/iterable-iteratorclose.js    Uncaught exception: Expected SameValue(«5», «3») to be true
intl402/ListFormat/prototype/formatToParts/es-es-long.js    Uncaught exception: undefined: parts[1].value Expected SameValue(«", "», «" y "») to be tr
intl402/ListFormat/prototype/formatToParts/es-es-short.js    Uncaught exception: undefined: parts[1].value Expected SameValue(«", "», «" y "») to be tr
intl402/ListFormat/prototype/formatToParts/iterable-invalid.js    Uncaught exception: Expected SameValue(«5», «3») to be true
intl402/ListFormat/prototype/formatToParts/iterable-iteratorclose.js    Uncaught exception: Expected SameValue(«5», «3») to be true
intl402/ListFormat/prototype/toStringTag/toString.js    Uncaught exception: Expected SameValue(«"[object Object]"», «"[object Intl.ListFormat]"») 
intl402/PluralRules/can-be-subclassed.js    TypeError: Bind must be called on a function
intl402/PluralRules/constructor-option-read-order.js    (no output)
intl402/PluralRules/prototype/resolvedOptions/plural-categories-order.js    Uncaught exception: Actual [one, other] and expected [zero, one, two, few, many, other] sh
intl402/PluralRules/prototype/select/notation.js    Uncaught exception: standard notation: 1000000 Expected SameValue(«"other"», «"many"») to 
intl402/PluralRules/prototype/selectRange/invoked-as-func.js    Uncaught exception: Expected a TypeError to be thrown but no exception was thrown at all
intl402/PluralRules/undefined-newtarget-throws.js    Uncaught exception: Intl.PluralRules throws when called as a function Expected a TypeError
intl402/RelativeTimeFormat/constructor/constructor/newtarget-undefined.js    Uncaught exception: Expected a TypeError to be thrown but no exception was thrown at all
intl402/RelativeTimeFormat/constructor/constructor/options-toobject-prototype.js    Uncaught exception: options argument true should yield the correct value for "style" Expec
intl402/RelativeTimeFormat/constructor/constructor/subclassing.js    TypeError: value is not a function
intl402/RelativeTimeFormat/constructor/supportedLocalesOf/options-toobject.js    Uncaught exception: Expected one call from true Expected SameValue(«0», «1») to be true
intl402/RelativeTimeFormat/prototype/format/en-us-numeric-auto.js    Uncaught exception: Expected SameValue(«"in 0 seconds"», «"now"») to be true
intl402/RelativeTimeFormat/prototype/format/en-us-style-short.js    Uncaught exception: Expected SameValue(«"in 1,000 seconds"», «"in 1,000 sec."») to be true
intl402/RelativeTimeFormat/prototype/format/pl-pl-style-long.js    Uncaught exception: Expected SameValue(«"in 1,000 seconds"», «"za 1000 sekund"») to be tru
intl402/RelativeTimeFormat/prototype/format/pl-pl-style-narrow.js    Uncaught exception: Expected SameValue(«"in 1,000 seconds"», «"za 1000 s"») to be true
intl402/RelativeTimeFormat/prototype/format/pl-pl-style-short.js    Uncaught exception: Expected SameValue(«"in 1,000 seconds"», «"za 1000 sek."») to be true
intl402/RelativeTimeFormat/prototype/format/unit-invalid.js    Uncaught exception: symbol Expected a TypeError but got a RangeError
intl402/RelativeTimeFormat/prototype/formatToParts/en-us-numeric-auto.js    Uncaught exception: formatToParts(0, second): length Expected SameValue(«3», «1») to be tr
intl402/RelativeTimeFormat/prototype/formatToParts/en-us-style-short.js    Uncaught exception: formatToParts(1000, second): parts[4].value Expected SameValue(«" seco
intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-long.js    Uncaught exception: formatToParts(1000, second): length Expected SameValue(«5», «3») to be
intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-narrow.js    Uncaught exception: formatToParts(1000, second): length Expected SameValue(«5», «3») to be
intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-short.js    Uncaught exception: formatToParts(1000, second): length Expected SameValue(«5», «3») to be
intl402/RelativeTimeFormat/prototype/formatToParts/unit-invalid.js    Uncaught exception: symbol Expected a TypeError but got a RangeError
intl402/RelativeTimeFormat/prototype/resolvedOptions/resolved-numbering-system-unicode-extensions-and-options.js    Uncaught exception: Resolved numberingSystem for locale=en-u-nu-arab with numberingSystem=
intl402/RelativeTimeFormat/prototype/toStringTag/toString.js    Uncaught exception: Expected SameValue(«"[object Object]"», «"[object Intl.RelativeTimeFor
intl402/Segmenter/constructor/constructor/newtarget-undefined.js    Uncaught exception: Expected a TypeError to be thrown but no exception was thrown at all
intl402/Segmenter/constructor/constructor/options-localeMatcher-valid.js    Uncaught exception: instanceof check - undefined
intl402/Segmenter/constructor/constructor/subclassing.js    TypeError: value is not a function
intl402/Segmenter/constructor/supportedLocalesOf/options-toobject.js    Uncaught exception: Expected one call from true Expected SameValue(«0», «1») to be true
intl402/Segmenter/ctor-custom-prototype.js    Uncaught exception: Expected SameValue(«[object Intl.Segmenter]», «[object Object]») to be
intl402/Segmenter/prototype/segment/containing/branding.js    Uncaught exception: Expected SameValue(«"undefined"», «"function"») to be true
intl402/Segmenter/prototype/segment/containing/breakable-input.js    Uncaught exception: granularity: undefined input: 123  containing(0) index Expected SameVa
intl402/Segmenter/prototype/segment/containing/index-throws.js    Uncaught exception: Expected a TypeError to be thrown but no exception was thrown at all
intl402/Segmenter/prototype/segment/containing/iswordlike.js    Uncaught exception: granularity: undefined input: Hello world! containing(0) index >= 0 Ex
intl402/Segmenter/prototype/segment/containing/length.js    TypeError: Cannot convert undefined or null to object
intl402/Segmenter/prototype/segment/containing/name.js    TypeError: Cannot convert undefined or null to object
intl402/Segmenter/prototype/segment/containing/one-index.js    Uncaught exception: granularity: undefined index: 1 index Expected SameValue(«1», «undefin
intl402/Segmenter/prototype/segment/containing/out-of-bound-index.js    Uncaught exception: Expected SameValue(«undefined», «[object Object]») to be true
intl402/Segmenter/prototype/segment/containing/prop-desc.js    Uncaught exception: typeof %Segments.prototype%.containing  is function Expected SameValue
intl402/Segmenter/prototype/segment/containing/unbreakable-input.js    TypeError: containing is not a function
intl402/Segmenter/prototype/segment/containing/word-iswordlike.js    Uncaught exception: granularity: word input: Hello world! containing(0) index >= 0 Expecte
intl402/Segmenter/prototype/segment/containing/zero-index.js    Uncaught exception: Expected SameValue(«0», «undefined») to be true
intl402/Segmenter/prototype/segment/name_of_symbol_iterator.js    Uncaught exception: Expected SameValue(«"[Symbol.iterator]"», «"values"») to be true
intl402/Segmenter/prototype/segment/next-mix-with-containing.js    Uncaught exception: containing(0) before the loop. segment Expected SameValue(«"A"», «unde
intl402/Segmenter/prototype/segment/segment-tostring.js    Uncaught exception: Expected a TypeError to be thrown but no exception was thrown at all
intl402/Segmenter/prototype/toStringTag/toString.js    Uncaught exception: Expected SameValue(«"[object Object]"», «"[object Intl.Segmenter]"») t

Reproduce

scripts/test262_subset.py --root vendor/test262 --dir intl402/RelativeTimeFormat intl402/Segmenter intl402/Collator intl402/ListFormat intl402/PluralRules intl402/DisplayNames --jobs 6

Each path above is under vendor/test262/test/. Assemble harness + case the way the runner does (see test-compat/test262/README.md) to run one under perry compile directly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    parityCompatibility gap with Node.js, ECMAScript, or the supported ecosystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions