Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 38d7d0b30deaedb9ce3627517f7b47ade0c988e0
      
https://github.com/WebKit/WebKit/commit/38d7d0b30deaedb9ce3627517f7b47ade0c988e0
  Author: Sihui Liu <[email protected]>
  Date:   2026-04-07 (Tue, 07 Apr 2026)

  Changed paths:
    M Source/WebKit/UIProcess/API/APIPageConfiguration.cpp
    M Source/WebKit/UIProcess/API/APIPageConfiguration.h
    M Source/WebKit/UIProcess/WebProcessPool.cpp
    M Source/WebKit/UIProcess/WebProcessPool.h

  Log Message:
  -----------
  [ Site Isolation ] Re-enable delayed process launch on iOS
https://bugs.webkit.org/show_bug.cgi?id=311393
rdar://173179172

Reviewed by Per Arne Vollan.

Before 309338@main, PageConfiguration::delaysWebProcessLaunchUntilFirstLoad() 
always returns true when Site Isolation is
enabled. After 309338@main, 
PageConfiguration::delaysWebProcessLaunchUntilFirstLoad() will fall back to 
default value
(PageConfiguration::delaysWebProcessLaunchUntilFirstLoad()) which is true on 
macOS and false on iOS. This has caused
performance regression under Site Isolation on iOS. To fix it, this patch 
renables the feature under Site Isolation.

Also, the flag WebProcessPool::m_delaysWebProcessLaunchDefaultValue is actually 
only used by PageConfiguration. To
simplify the checks in delaysWebProcessLaunchUntilFirstLoad(), the patch 
removes the flag of WebProcessPool, and adds
the new default value function 
defaultDelaysWebProcessLaunchUntilFirstLoadValue() to PageConfiguration.

* Source/WebKit/UIProcess/API/APIPageConfiguration.cpp:
(API::PageConfiguration::defaultDelaysWebProcessLaunchUntilFirstLoadValue 
const):
(API::PageConfiguration::delaysWebProcessLaunchUntilFirstLoad const):
* Source/WebKit/UIProcess/API/APIPageConfiguration.h:
* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::globalDelaysWebProcessLaunchDefaultValue): Deleted.
* Source/WebKit/UIProcess/WebProcessPool.h:

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



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

Reply via email to