mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Get hidden state by using parent window directly
This commit is contained in:
@@ -181,8 +181,7 @@ var attachGuest = function (embedder, elementInstanceId, guestInstanceId, params
|
||||
plugins: params.plugins,
|
||||
zoomFactor: params.zoomFactor,
|
||||
webSecurity: !params.disablewebsecurity,
|
||||
blinkFeatures: params.blinkfeatures,
|
||||
hiddenPage: params.hiddenPage
|
||||
blinkFeatures: params.blinkfeatures
|
||||
}
|
||||
|
||||
if (params.preload) {
|
||||
|
||||
@@ -230,8 +230,7 @@ var WebViewImpl = (function () {
|
||||
params = {
|
||||
instanceId: this.viewInstanceId,
|
||||
userAgentOverride: this.userAgentOverride,
|
||||
zoomFactor: webFrame.getZoomFactor(),
|
||||
hiddenPage: document.hidden
|
||||
zoomFactor: webFrame.getZoomFactor()
|
||||
}
|
||||
ref1 = this.attributes
|
||||
for (attributeName in ref1) {
|
||||
|
||||
Reference in New Issue
Block a user