mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix documentation for planned breaking changes
This commit is contained in:
committed by
Kevin Sawicki
parent
a46040a4fa
commit
4e01ab59c1
@@ -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>`
|
||||
|
||||
Reference in New Issue
Block a user