fix documentation for planned breaking changes

This commit is contained in:
Paul Frazee 2016-11-16 08:41:06 -06:00 committed by Kevin Sawicki
parent a46040a4fa
commit 4e01ab59c1

View file

@ -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>`