mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
add deprecation notices to webframe
This commit is contained in:
committed by
Kevin Sawicki
parent
99ea50649a
commit
b458201874
@@ -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>`
|
||||
|
||||
Reference in New Issue
Block a user