fix: will-attach-webview handler modifying params.instanceId does not break <webview> (#32386)
This commit is contained in:
parent
cbe68bdbb8
commit
99ee1fc0eb
5 changed files with 34 additions and 16 deletions
2
typings/internal-electron.d.ts
vendored
2
typings/internal-electron.d.ts
vendored
|
@ -81,7 +81,7 @@ declare namespace Electron {
|
|||
attachToIframe(embedderWebContents: Electron.WebContents, embedderFrameId: number): void;
|
||||
detachFromOuterFrame(): void;
|
||||
setEmbedder(embedder: Electron.WebContents): void;
|
||||
attachParams?: Record<string, any>;
|
||||
attachParams?: { instanceId: number; src: string, opts: LoadURLOptions };
|
||||
viewInstanceId: number;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue