Merge pull request #20741 from atom/enable-webview-on-main-process

Enable WebView on main-process in electron options
This commit is contained in:
Mazen Elkashef
2020-05-19 15:32:55 -05:00
committed by GitHub

View File

@@ -48,7 +48,8 @@ module.exports = class AtomWindow extends EventEmitter {
// response to a middle-click.
// (Ref: https://github.com/atom/atom/pull/12696#issuecomment-290496960)
disableBlinkFeatures: 'Auxclick',
nodeIntegration: true
nodeIntegration: true,
webview: true
}
};