Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c24bbb7ff2eb874b600ae742191ade9082906059
      
https://github.com/WebKit/WebKit/commit/c24bbb7ff2eb874b600ae742191ade9082906059
  Author: Aleksei Marchenko <[email protected]>
  Date:   2026-10-10 (Sat, 10 Oct 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebProcessPool.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ModelProcess.mm

  Log Message:
  -----------
  [visionOS] Killing model process causes a looping model process start and 
crash
https://bugs.webkit.org/show_bug.cgi?id=326934
rdar://188332462

Reviewed by Etienne Segonzac.

Model process relaunch loop: WebProcessPool cleared m_processesWithModelPlayers 
on every
model process exit, but a portal recreates its player synchronously, so the 
WebProcess never
re-announces itself. The relaunched model process gets no foreground activity 
and is killed by
its memory limit. Stop clearing the set; StoppedPlayingModels and WebProcess 
exit remove entries.

Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ModelProcess.mm

* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::modelProcessExited):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ModelProcess.mm:
(TestWebKitAPI::TEST(ModelProcess, 
WebProcessTerminationAfterTooManyModelProcessCrashesWithSpatialPortals)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to