I was looking at isolate modules in ShadowRealms when importing them. From what I can see that the d8 src does for creating a shadow relam context is basically create a new one set the orgin and the securtiy token to be the same and return it.
I was wondeing if during the import pross of module compliation, instantiation and evaluationing if I could create a context for each of them I was hoping to do somethig where i could load different version of the same module so they don't conflict with each other and allowing an import to assert the version they require that would allow them to use that module. I know there is more to the ShadowRealm spec in refrence to communication and i would still need to figure out how they would use another module they imprted. Note this is all from the c+ side and I suspect to creat an actual shadow realm i would need to call some js to create it fully. -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/0dccaa77-c3bf-42aa-bbff-6de4e9317a30n%40googlegroups.com.
