-
Notifications
You must be signed in to change notification settings - Fork 47
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
Implement a ShadowRealm API #288
base: develop
Are you sure you want to change the base?
Conversation
As i understand, Realms are not just "a module inside another module". It's looks like |
maybe you can explain what i need change for correct work? Create a new GlobalContext and bind to module (because |
For the first iteration yes, create instance of |
Until this feature at Stage 3 - it can be usable by this extension method, i not add this to base library due to possible breaking changes. |
@nilproject please review |
I implement a shadow realm API from stage 3 proposal
see https://github.com/tc39/proposal-shadowrealm
To add ShadowRealm you need to use AddShadowRealm extension method