fix: exceptions in nested conversions live in the target world (#37895)
This commit is contained in:
parent
1e206deec3
commit
6958668448
5 changed files with 46 additions and 30 deletions
|
@ -608,7 +608,8 @@ void RendererClientBase::SetupMainWorldOverrides(
|
|||
if (global.GetHidden("guestViewInternal", &guest_view_internal)) {
|
||||
api::context_bridge::ObjectCache object_cache;
|
||||
auto result = api::PassValueToOtherContext(
|
||||
source_context, context, guest_view_internal, &object_cache, false, 0);
|
||||
source_context, context, guest_view_internal, &object_cache, false, 0,
|
||||
api::BridgeErrorTarget::kSource);
|
||||
if (!result.IsEmpty()) {
|
||||
isolated_api.Set("guestViewInternal", result.ToLocalChecked());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue