Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7687343c83567e5eb9c35fd81d5c5d49afab037
      
https://github.com/WebKit/WebKit/commit/d7687343c83567e5eb9c35fd81d5c5d49afab037
  Author: Sihui Liu <[email protected]>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M Tools/WebKitTestRunner/TestController.cpp

  Log Message:
  -----------
  [Site Isolation] Disable process prewarming in WebKitTestRunner when 
siteIsolationEnabled option is set
https://bugs.webkit.org/show_bug.cgi?id=309333
rdar://171873822

Reviewed by Per Arne Vollan.

299956@main reduces the number of web process launched when running layout 
tests with `--site-isolation` option by
disabling process prewarming. It makes `TestController` to check 
`siteIsolationEnabled` and `runInCrossOriginFrame`
options to disable process warming, as `--site-isolation` sets both options at 
that time.
302686@main updates `--site-isolation` to only set one option 
`siteIsolationEnabled` (so that bot could complete test
run in reasonable time), and this breaks the optimization.
To fix it, make `TestController` check only `siteIsolationEnabled` option.

* Tools/WebKitTestRunner/TestController.cpp:
(WTR::TestController::generatePageConfiguration):
(WTR::TestController::ensureViewSupportsOptionsForTest):

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



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

Reply via email to