cache lastwebprefs
This commit is contained in:
parent
32e40cb4c3
commit
f63e5ffa65
1 changed files with 2 additions and 1 deletions
|
@ -250,8 +250,9 @@ const attachGuest = function (event, elementInstanceId, guestInstanceId, params)
|
|||
])
|
||||
|
||||
// Inherit certain option values from embedder
|
||||
const lastWebPreferences = embedder.getLastWebPreferences()
|
||||
for (const [name, value] of inheritedWebPreferences) {
|
||||
if (embedder.getLastWebPreferences()[name] === value) {
|
||||
if (lastWebPreferences[name] === value) {
|
||||
webPreferences[name] = value
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue