fix: restrict sendToFrame to same-process frames by default (#26875)
This commit is contained in:
parent
76f721474e
commit
07a1c2a3e5
12 changed files with 89 additions and 36 deletions
|
@ -189,6 +189,9 @@ function stringifySnapshots (snapshots: any, pretty = false) {
|
|||
if (key === 'openerId' && typeof value === 'number') {
|
||||
return 'placeholder-opener-id';
|
||||
}
|
||||
if (key === 'processId' && typeof value === 'number') {
|
||||
return 'placeholder-process-id';
|
||||
}
|
||||
if (key === 'returnValue') {
|
||||
return 'placeholder-guest-contents-id';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue