[PM] Don't freeze unloaded tabs
The PerformanceManager page freezing policy doesn't take into account the loading state of a tab when emitting freezing signals. As a result some unloaded tabs can receive a freezing signal and there won't be another freezing attempt once the tab gets loaded. This fix this problem by waiting for the tab to transition to the loaded state before emitting the freezing signal. Bug: 1168735 Change-Id: I13b92600a2df7fa8bfc592a2711cb33b0631e409 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2641154Reviewed-by:Joe Mason <joenotcharles@chromium.org> Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org> Cr-Commit-Position: refs/heads/master@{#845415}
Showing
Please register or sign in to comment