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
|
@ -142,7 +142,7 @@ class ScriptExecutionCallback {
|
|||
context_bridge::ObjectCache object_cache;
|
||||
maybe_result = PassValueToOtherContext(
|
||||
result->GetCreationContextChecked(), promise_.GetContext(), result,
|
||||
&object_cache, false, 0);
|
||||
&object_cache, false, 0, BridgeErrorTarget::kSource);
|
||||
if (maybe_result.IsEmpty() || try_catch.HasCaught()) {
|
||||
success = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue