<?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>285224</bug_id>
          
          <creation_ts>2024-12-28 18:33:34 -0800</creation_ts>
          <short_desc>Web processes should only commit history state for navigating frames and their children</short_desc>
          <delta_ts>2025-01-06 10:09:23 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>History</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>
          <dependson>285442</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Charlie Wolfe">charliew</reporter>
          <assigned_to name="Charlie Wolfe">charliew</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2084174</commentid>
    <comment_count>0</comment_count>
    <who name="Charlie Wolfe">charliew</who>
    <bug_when>2024-12-28 18:33:34 -0800</bug_when>
    <thetext>Currently, when a frame navigates, the web process creates history state for the entire frame tree to be committed to the UI process. This needs to change with site isolation because a navigating iframe may have parent frames that are out-of-process, for which we cannot synchronously create history state. Instead, when a frame navigates, the web process should only create and commit history state for the navigating frame and its children. If the navigating frame is a child frame, we can use the current item in the UI process&apos;s back/forward list to populate the history state for its parent frames.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2084175</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-28 18:33:47 -0800</bug_when>
    <thetext>&lt;rdar://problem/142134339&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2084176</commentid>
    <comment_count>2</comment_count>
    <who name="Charlie Wolfe">charliew</who>
    <bug_when>2024-12-28 18:37:38 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/38410</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2084742</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-03 10:38:23 -0800</bug_when>
    <thetext>Committed 288409@main (9b13b53b41a1): &lt;https://commits.webkit.org/288409@main&gt;

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

    </bug>

</bugzilla>