Hi all, while working on getting the "Entry realm" correct in Blink [1], I might end up changing how V8 handles the entered context, essentially relying more on the external caller manually entering a context before calling V8. Currently, V8 usually enters the argument context implicitly when its external API is used to e.g. call a function or set a property.
Anyhow, when looking for uses of the entered context inside V8, I think I only found one: Builtins::AllowDynamicFunction(). AFAICT, it's consulted by the function constructor and global eval(), as well as by the promise implementations (in ways I don't quite understand, from lack of reading the code.) Why are we looking at the entered context here, rather than the current context? By potentially changing what is the entered context in a given situation, what could go wrong, given this use of it? -- Jens [1] https://groups.google.com/a/chromium.org/d/msg/platform-architecture-dev/LiDcFt-CqQQ/4olI-faCCAAJ -- -- 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]. For more options, visit https://groups.google.com/d/optout.
