|
@@ -451,7 +451,7 @@ WebContents.prototype._init = function () {
|
|
|
})
|
|
|
|
|
|
// Handle window.open for BrowserWindow and BrowserView.
|
|
|
- if (['browserview', 'window'].includes(this.getType())) {
|
|
|
+ if (['browserView', 'window'].includes(this.getType())) {
|
|
|
// Make new windows requested by links behave like "window.open".
|
|
|
this.on('-new-window', (event, url, frameName, disposition,
|
|
|
additionalFeatures, postData,
|