chore: address TODO for WebContents.prototype.setSize / reportRemovedAttribute removal (#14517)

* chore: remove WebContents.prototype.setSize

* chore: remove reportRemovedAttribute

* chore: remove unused fixtures
This commit is contained in:
Milan Burda 2018-09-11 09:58:57 +02:00 committed by Samuel Attard
parent f5aac36421
commit 38419e3a6a
4 changed files with 0 additions and 71 deletions

View file

@ -269,12 +269,6 @@ 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.