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

Introduce new Context.ANNEX_B flag and move relevant functionality behind this flag #1057

Open
p-bakker opened this issue Oct 14, 2021 · 0 comments
Labels

Comments

@p-bakker
Copy link
Collaborator

As Rhino started out as a port of SpiderMonkey, which was the JavaScript Engine for FireFox, some stuff got implemented that later on got moved in the Annex B of the EcmaScript sepcification, which should only be implemented by browsers and not by non-browser-based JavaScript engines, like Rhino

This case is to introduce the Context.ANNEX_B flag and move all functionality/behavior that is not part of the core EcmaScript specification, but is part of Annex B behind this new flag.

In v2.0.0 this flag should be disabled by default. We could opt to implement this flag alreadt in v1.7.15 and have it set to true by default (if Context.VERSION_ECMASCRIPT is not being used)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant