refactor: only create webContents after 'will-attach-webview' (#30311)
This commit is contained in:
parent
4519bc3cd1
commit
6e43b0bcbf
9 changed files with 17 additions and 80 deletions
1
typings/internal-electron.d.ts
vendored
1
typings/internal-electron.d.ts
vendored
|
@ -79,7 +79,6 @@ declare namespace Electron {
|
|||
attachToIframe(embedderWebContents: Electron.WebContents, embedderFrameId: number): void;
|
||||
detachFromOuterFrame(): void;
|
||||
setEmbedder(embedder: Electron.WebContents): void;
|
||||
attachParams?: Record<string, any>;
|
||||
viewInstanceId: number;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue