Merge pull request #11799 from electron/browserview-inherit-fix

Don't inherit isBrowserView preference
This commit is contained in:
shelley vohr
2018-02-01 14:36:56 -05:00
committed by GitHub

View File

@@ -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