In the browser there are WHATWG Transferable Streams which provides a means
to read and write to different context using WHATWG Streams, for example
using the readable and writable pairs of a TransformStream. Effectively
meaning it's possible to communicate between an iframe and a window or a
w
On Thu, Feb 13, 2025 at 2:23 AM Charles Lew wrote:
> I'm seeking for a way to share the same JSRealm with different v8
> contexts, so they share the same `Object` values in memory, but with
> different global values.
>
> Currently when evaluating `a instanceof Object` with `a` value defined
> fro
On Thu, Feb 13, 2025 at 11:23 AM Charles Lew wrote:
>
> I'm seeking for a way to share the same JSRealm with different v8 contexts,
> so they share the same `Object` values in memory, but with different global
> values.
>
> Currently when evaluating `a instanceof Object` with `a` value defined f
I'm seeking for a way to share the same JSRealm with different v8 contexts,
so they share the same `Object` values in memory, but with different global
values.
Currently when evaluating `a instanceof Object` with `a` value defined from
another context, this evaluates to false, which is not what