fix documentation for planned breaking changes
This commit is contained in:
parent
a46040a4fa
commit
4e01ab59c1
1 changed files with 2 additions and 2 deletions
|
@ -121,12 +121,12 @@ webFrame.setVisualZoomLevelLimits(1, 2)
|
|||
// Deprecated
|
||||
webFrame.registerURLSchemeAsSecure('app')
|
||||
// Replace with
|
||||
protocol.registerStandardSchemes('app', {secure: true})
|
||||
protocol.registerStandardSchemes(['app'], {secure: true})
|
||||
|
||||
// Deprecated
|
||||
webFrame.registerURLSchemeAsPrivileged('app', {secure: true})
|
||||
// Replace with
|
||||
protocol.registerStandardSchemes('app', {secure: true})
|
||||
protocol.registerStandardSchemes(['app'], {secure: true})
|
||||
```
|
||||
|
||||
## `<webview>`
|
||||
|
|
Loading…
Reference in a new issue