Skip to content

Test262 TODO: TypedArray.prototype.toLocaleString #703

@rogeralsing

Description

@rogeralsing

Context: Fix Test262 failures for TypedArray.prototype.toLocaleString (including BigInt + resizable array buffer shrink cases).\n\nChanges:\n- Align TypedArray.prototype.toLocaleString with Array.prototype.toLocaleString: invoke element toLocaleString on primitives, pass locales/options, and treat OOB/detached elements as empty string via GetValueForIndex.\n- Remove per-iteration OOB throw in toLocaleString; rely on element access returning undefined after shrink.\n- Added primitive prototype lookup helper in TypedArrayPrototype.\n- Marked todo/TypedArray_prototype_toLocaleString.md + todo/TypedArray_prototype_toLocaleString_BigInt.md DONE.\n\nTests:\n- dotnet test tests/Asynkron.JsEngine.Tests.Test262 -c Release --settings tests/Asynkron.JsEngine.Tests.Test262/BuiltInsTests.runsettings --filter "Name=TypedArray_prototype_toLocaleString"\n- dotnet test tests/Asynkron.JsEngine.Tests.Test262 -c Release --settings tests/Asynkron.JsEngine.Tests.Test262/BuiltInsTests.runsettings --filter "Name=TypedArray_prototype_toLocaleString_BigInt"\n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions