<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>314699</bug_id>
          
          <creation_ts>2026-05-12 20:55:04 -0700</creation_ts>
          <short_desc>[BFCache] Enable MultiProcessBackForwardCache automatically when Site Isolation is active</short_desc>
          <delta_ts>2026-06-03 17:55:01 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Basuke Suzuki">basuke</reporter>
          <assigned_to name="Basuke Suzuki">basuke</assigned_to>
          <cc>beidson</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2210373</commentid>
    <comment_count>0</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2026-05-12 20:55:04 -0700</bug_when>
    <thetext>Followup to multi-process BFCache work (tracking patch bug 313657). The MultiProcessBackForwardCacheEnabled preference — described as &quot;Enable back/forward cache when site isolation is active&quot; — currently defaults to false and must be toggled on independently from SiteIsolationEnabled. In practice the two features are intended to be used together; under Site Isolation, BFCache requires the UIProcess coordination that this flag unlocks, and the admission check in BackForwardCache::addIfCacheable already rejects any SI page when the flag is off.

Auto-enable MultiProcessBackForwardCacheEnabled at page creation time whenever SiteIsolationEnabled is on, mirroring the existing pattern for UseUIProcessForBackForwardItemLoading in Source/WebKit/UIProcess/WebProcessPool.cpp (around the &apos;if (siteIsolationEnabled) ...&apos; block near line 1339).

Also clean up redundant enableFeature(... MultiProcessBackForwardCacheEnabled ...) calls in SiteIsolation.mm API tests, and update any Layout / API test expectations that shift because BFCache is now active by default under SI.

rdar://176944362</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2210498</commentid>
    <comment_count>1</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2026-05-13 07:25:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/64839</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213040</commentid>
    <comment_count>2</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2026-05-21 12:02:25 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/65426</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2217436</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-06-03 17:54:59 -0700</bug_when>
    <thetext>Committed 314514@main (c69c4853e6d2): &lt;https://commits.webkit.org/314514@main&gt;

Reviewed commits have been landed. Closing PR #64839 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>