add deprecation notices to webframe
This commit is contained in:
parent
99ea50649a
commit
b458201874
2 changed files with 12 additions and 0 deletions
|
@ -117,6 +117,16 @@ webContents.setVisualZoomLevelLimits(1, 2)
|
|||
webFrame.setZoomLevelLimits(1, 2)
|
||||
// Replace with
|
||||
webFrame.setVisualZoomLevelLimits(1, 2)
|
||||
|
||||
// Deprecated
|
||||
webFrame.registerURLSchemeAsSecure('app')
|
||||
// Replace with
|
||||
protocol.registerStandardSchemes('app', {secure: true})
|
||||
|
||||
// Deprecated
|
||||
webFrame.registerURLSchemeAsPrivileged('app', {secure: true})
|
||||
// Replace with
|
||||
protocol.registerStandardSchemes('app', {secure: true})
|
||||
```
|
||||
|
||||
## `<webview>`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue