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
|
// Deprecated
|
||||||
webFrame.registerURLSchemeAsSecure('app')
|
webFrame.registerURLSchemeAsSecure('app')
|
||||||
// Replace with
|
// Replace with
|
||||||
protocol.registerStandardSchemes('app', {secure: true})
|
protocol.registerStandardSchemes(['app'], {secure: true})
|
||||||
|
|
||||||
// Deprecated
|
// Deprecated
|
||||||
webFrame.registerURLSchemeAsPrivileged('app', {secure: true})
|
webFrame.registerURLSchemeAsPrivileged('app', {secure: true})
|
||||||
// Replace with
|
// Replace with
|
||||||
protocol.registerStandardSchemes('app', {secure: true})
|
protocol.registerStandardSchemes(['app'], {secure: true})
|
||||||
```
|
```
|
||||||
|
|
||||||
## `<webview>`
|
## `<webview>`
|
||||||
|
|
Loading…
Reference in a new issue