From db6d84de742fb8f1bfca9397a79ae43864181d54 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 1 Feb 2018 00:09:37 -0500 Subject: [PATCH] don't inherit isBrowserView for spawned child windows --- lib/browser/guest-window-manager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/browser/guest-window-manager.js b/lib/browser/guest-window-manager.js index bd9473dda879..50e890e225a3 100644 --- a/lib/browser/guest-window-manager.js +++ b/lib/browser/guest-window-manager.js @@ -25,6 +25,7 @@ const mergeOptions = function (child, parent, visited) { visited.add(parent) for (const key in parent) { + if (key === 'isBrowserView') continue if (!hasProp.call(parent, key)) continue if (key in child) continue