1. 21 Jan, 2021 1 commit
    • Sebastien Marchand's avatar
      [PM] Don't freeze unloaded tabs · ea71d3fe
      Sebastien Marchand authored
      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: default avatarJoe Mason <joenotcharles@chromium.org>
      Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#845415}
      ea71d3fe
  2. 20 Jan, 2021 39 commits