[webkit-changes] [WebKit/WebKit] c8da45: Prevent the new process from shutting down in WebP...

Commit Queue noreply at github.com
Tue Dec 13 12:19:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c8da45f04b73d159574c5a809a64f179a7a90452
      https://github.com/WebKit/WebKit/commit/c8da45f04b73d159574c5a809a64f179a7a90452
  Author: Alex Christensen <achristensen at webkit.org>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

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

  Log Message:
  -----------
  Prevent the new process from shutting down in WebPageProxy::triggerBrowsingContextGroupSwitchForNavigation
https://bugs.webkit.org/show_bug.cgi?id=249239

Reviewed by Chris Dumez.

In 256488 at main I introduced a time between when we decide what process to use for a navigation
and when we call WebPageProxy::continueNavigationInNewProcess.  We need to prevent the process
from shutting down or being put in the process cache during this time or we will hit the release
assertion in WebPageProxy::continueNavigationInNewProcess.

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

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




More information about the webkit-changes mailing list