Skip to content

Fix symbol impl to have the GlobalSymbolRegistry shared between Realms #1079

@p-bakker

Description

@p-bakker

Current implementation keeps the GlobalSymbolRegistry in the topLevel scope.

However, EcmaScript defines that the GlobalSymbolRegistry needs to be shared by all Realms, which basically translates to: each topLevel scope must share the same GlobalSymbolRegistry

Note: need to see how such a global registery would work in combination with shared sealed scopes

Depends on #1077 (for enabled the cross-realm tests)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ecma IncompatibilityIssues about Rhino being incompatible with the EcmaScript specbehaviorbugIssues considered a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions