chore: remove deprecated <webview>.getWebContents() (#20986)
This commit is contained in:
parent
145ecb85c2
commit
093f2dd4a6
14 changed files with 26 additions and 137 deletions
|
@ -826,10 +826,6 @@ app.on('remote-get-current-window', (event, webContents) => {
|
|||
app.on('remote-get-current-web-contents', (event, webContents) => {
|
||||
event.preventDefault()
|
||||
})
|
||||
|
||||
app.on('remote-get-guest-web-contents', (event, webContents, guestWebContents) => {
|
||||
event.preventDefault()
|
||||
})
|
||||
```
|
||||
|
||||
## 17) Use a current version of Electron
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue