Skip to content

Consider using globalThis in harness code #31996

@Ms2ger

Description

@Ms2ger

We've historically used self, as that's available in all Web globals. We're now starting to add tests for ShadowRealms, which don't support self, but now globalThis exists. We could change the harness code to support both - maybe even with a fallback to self to keep pre-2020 browsers working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions