[webkit-changes] [WebKit/WebKit] 5199b3: [macOS] Reset process throttler activities on proc...

Miguel Salinas noreply at github.com
Thu Mar 2 17:01:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5199b3ad9634eb65dc6bc19363594a9e8919e84b
      https://github.com/WebKit/WebKit/commit/5199b3ad9634eb65dc6bc19363594a9e8919e84b
  Author: Miguel Salinas <miguel_salinas at apple.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

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

  Log Message:
  -----------
  [macOS] Reset process throttler activities on process exit
https://bugs.webkit.org/show_bug.cgi?id=253168
rdar://103840631

Reviewed by Chris Dumez.

On iOS we drop all activities the page is holding whenever the page
closes or the backing process exits. We need to do this on macOS as well
otherwise we hold stale activites.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::resetStateAfterProcessExited):
* Source/WebKit/UIProcess/WebPageProxy.h:

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




More information about the webkit-changes mailing list