proposal-error-stacks
proposal-error-stacks copied to clipboard
Stack continuity when throwing through a membrane?
See https://github.com/Agoric/realms-shim/issues/61
Attn @Jack-Works @ajvincent @jfparadis @ljharb @caridy
Probably best addressed at user level by virtualizing getStack and getStackString ?
It seems like the issue is that v8 has runtime-unavailable info that it uses to enhance stacks. It seems like any host-only magic is simply no longer an option once any virtualization kicks in.
If we want v8's magic cross-realm stacks in a virtualized environment inside v8, wouldn't v8 have to expose that info to JS?