Implement a ShadowRealm API#288
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 |
ab29fde to
415cfbb
Compare


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