You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replace5
changed the title
[Feature Request]: add method: SetVisibilityState/GetVisibilityState to webContents
[Feature Request]: add method: SetPageFrozen to webContents
Mar 22, 2021
@replace5 Yeah, I'm not saying to use backgroundThrottling. I'm just saying that a configuration for webviews similar to the one for the window is perhaps more appropriate than calling an API to freeze the webcontents.
@replace5 Yeah, I'm not saying to use backgroundThrottling. I'm just saying that a configuration for webviews similar to the one for the window is perhaps more appropriate than calling an API to freeze the webcontents.
Yes, When WebView become hidden, freeze the webcontents; when visible, unfreeze
Preflight Checklist
Problem Description
If a window has many webview, the hidden webview is not throttling timer like FreezePage to improve performance
Proposed Solution
add method: SetPageFrozen to webContents, when webview is hidden, SetVisibilityState call SetVisibilityState to Freeze the webview
The text was updated successfully, but these errors were encountered: