Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p-bakker opened this issue Oct 26, 2021 · 0 comments
Open
Labels
behavior bug Issues considered a bug Ecma Incompatibility Issues about Rhino being incompatible with the EcmaScript spec

Comments

@p-bakker
Copy link
Collaborator

p-bakker commented Oct 26, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
behavior bug Issues considered a bug Ecma Incompatibility Issues about Rhino being incompatible with the EcmaScript spec
Projects
None yet
Development

No branches or pull requests

1 participant