3 ms·
The upcoming JavaScript Shadow Realms proposal looks like it solves a similar problem: https://github.com/tc39/proposal-shadowrealm/blob/main/explainer.md https
by AshleysBrain 4y ago
The upcoming JavaScript Shadow Realms proposal looks like it solves a similar problem: https://github.com/tc39/proposal-shadowrealm/blob/main/explainer.md https://github.com/tc39/proposal-shadowrealm/blob/main/expla...
- turblety 4y agoRealms look really amazing. I'm going to keep a close eye on this. Stage 3 sounds promising.
- white_dragon88 4y agoToo bad the name sounds idiotic. To even mention it to anyone even in the engineering department is going to make me sound like a super nerd.
- hyuuu 4y agobut like, your username tho
- naugtur 4y agoThere's a related proposal for Compartments and Module constructor is a prerequisite to that. A shim for the entire thing exists, with lockdown and Compartments isolating code: https://github.com/endojs/endo/tree/master/packages/ses https://github.com/endojs/endo/tree/master/packages/ses https://github.com/tc39/proposal-compartments/ https://github.com/tc39/proposal-compartments/ It has usage already, eg. metamask snaps