diff --git a/lib/browser/guest-window-manager.js b/lib/browser/guest-window-manager.js index f27bb8329fa4..5782670ac639 100644 --- a/lib/browser/guest-window-manager.js +++ b/lib/browser/guest-window-manager.js @@ -30,7 +30,7 @@ var mergeBrowserWindowOptions = function (embedder, options) { mergeOptions(options, embedder.browserWindowOptions) // Disable node integration on child window if disabled on parent window - if (!embedder.getWebPreferences().nodeIntegration) { + if (embedder.getWebPreferences().nodeIntegration === false) { options.webPreferences.nodeIntegration = false } } else {