Skip to content

Test Failure: avmplus String.localeCompare() #12317

Open
@Dinnerbone

Description

@Dinnerbone

Testsuite from_avmplus/as3/String/localeCompare_585791/v9

Notes: Specifically SWF 9 and below.

Test Passes? Expected Actual
"m".localeCompare(null) with SWF9 behavior 0 -1
"null".localeCompare(null) with SWF9 ✔️
"o".localeCompare(null) with SWF9 behavior 0 1
"".localeCompare(null) with SWF9 behavior 1 -1
"t".localeCompare(undefined) with SWF9 behavior 0 -1
"undefined".localeCompare(undefined) with SWF9 behavior ✔️
"v".localeCompare(undefined) with SWF9 behavior 0 1
"".localeCompare(undefined) with SWF9 behavior 1 -1

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-avm2Area: AVM2 (ActionScript 3)A-testsArea: Tests & Test Framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions