The sender-mismatch check in invokeInWebContents and invokeInWebFrameMain used a negative condition (`type === 'frame' && sender !== expected`), which only rejected mismatched frame senders and accepted anything else. Invert to a positive check so only the exact expected frame can resolve the reply — matches the guard style used elsewhere in lib/browser/. |
||
|---|---|---|
| .. | ||
| api | ||
| .eslintrc.json | ||
| default-menu.ts | ||
| devtools.ts | ||
| guest-view-manager.ts | ||
| guest-window-manager.ts | ||
| init.ts | ||
| ipc-dispatch.ts | ||
| ipc-main-impl.ts | ||
| ipc-main-internal-utils.ts | ||
| ipc-main-internal.ts | ||
| message-port-main.ts | ||
| parse-features-string.ts | ||
| rpc-server.ts | ||
| web-view-events.ts | ||