chore: print error when removed webview attribute is used (#14230)
* chore: print error when removed webview attribute is used * docs: document removed webview features
This commit is contained in:
parent
82b75f863d
commit
cd8bb1d3b4
7 changed files with 48 additions and 76 deletions
|
@ -264,6 +264,12 @@ WebContents.prototype.getZoomFactor = function (callback) {
|
|||
})
|
||||
}
|
||||
|
||||
// TODO(zcbenz): Remove the stub in 4.0.
|
||||
WebContents.prototype.setSize = function () {
|
||||
console.error('The WebContents.setSize method has been removed, see',
|
||||
'https://github.com/electron/electron/issues/14120 for more.')
|
||||
}
|
||||
|
||||
// Add JavaScript wrappers for WebContents class.
|
||||
WebContents.prototype._init = function () {
|
||||
// The navigation controller.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue