feat: add WebContents.opener and webContents.fromFrame() (#35140)
* feat: add WebContents.opener * feat: add webContents.fromFrame(frame) * fix: unknown type name * test: fix and add more fromFrame cases * docs: clarified terminology
This commit is contained in:
parent
697a219bcb
commit
c09c94fc98
5 changed files with 104 additions and 1 deletions
|
@ -835,6 +835,10 @@ export function fromId (id: string) {
|
|||
return binding.fromId(id);
|
||||
}
|
||||
|
||||
export function fromFrame (frame: Electron.WebFrameMain) {
|
||||
return binding.fromFrame(frame);
|
||||
}
|
||||
|
||||
export function fromDevToolsTargetId (targetId: string) {
|
||||
return binding.fromDevToolsTargetId(targetId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue