[webkit-changes] [WebKit/WebKit] 03e562: Only delay tab suspension when the main frame titl...

Chris Dumez noreply at github.com
Tue May 2 14:16:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 03e5627ae89f5af58696f972e62a9b60ded3c092
      https://github.com/WebKit/WebKit/commit/03e5627ae89f5af58696f972e62a9b60ded3c092
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Only delay tab suspension when the main frame title changes, not subframes' titles
https://bugs.webkit.org/show_bug.cgi?id=256221

Reviewed by Ben Nham.

Only delay tab suspension when the main frame title changes, not subframes' titles.
The reason we do this is because the main frame title shows in the tab label and
the tab may communicate useful information this way, even when backgrounded.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveTitleForFrame):

Canonical link: https://commits.webkit.org/263605@main




More information about the webkit-changes mailing list