Merge pull request #11799 from electron/browserview-inherit-fix
Don't inherit isBrowserView preference
This commit is contained in:
commit
1545a95782
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ const mergeOptions = function (child, parent, visited) {
|
||||||
|
|
||||||
visited.add(parent)
|
visited.add(parent)
|
||||||
for (const key in parent) {
|
for (const key in parent) {
|
||||||
|
if (key === 'isBrowserView') continue
|
||||||
if (!hasProp.call(parent, key)) continue
|
if (!hasProp.call(parent, key)) continue
|
||||||
if (key in child) continue
|
if (key in child) continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue