Get hidden state by using parent window directly
This commit is contained in:
parent
69c69880e5
commit
583bb49f6c
6 changed files with 41 additions and 25 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue