mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #11799 from electron/browserview-inherit-fix
Don't inherit isBrowserView preference
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user