<?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>307121</bug_id>
          
          <creation_ts>2026-02-05 17:01:56 -0800</creation_ts>
          <short_desc>[Site Isolation] Back navigation fails when page contains iframe that navigated cross-site.</short_desc>
          <delta_ts>2026-02-13 12:09:58 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></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>307808</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Basuke Suzuki">basuke</reporter>
          <assigned_to name="Basuke Suzuki">basuke</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2178618</commentid>
    <comment_count>0</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2026-02-05 17:01:56 -0800</bug_when>
    <thetext>When Site Isolation is enabled, back navigation incorrectly targets a cross-site iframe instead of the main frame when the iframe had previously navigated to a different site.

Reproduction with Site Isolation enabled:
1. Load Page A (site A) with same-site iframe C (site A)
2. iframe navigates cross-site: C → D (site B)
3. Main frame navigates: Page A → Page B (same site with A)
4. Call goBack()

Expected behavior:
- goBack() should navigate the main frame back to Page A with page D in iframe

Actual behavior:
- page C is displayed in iframe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2178619</commentid>
    <comment_count>1</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2026-02-05 17:03:44 -0800</bug_when>
    <thetext>rdar://169754535</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2178666</commentid>
    <comment_count>2</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2026-02-05 20:28:17 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/58023</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2179470</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-02-09 09:25:48 -0800</bug_when>
    <thetext>Committed 307081@main (5fa8be5b7960): &lt;https://commits.webkit.org/307081@main&gt;

Reviewed commits have been landed. Closing PR #58023 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2181327</commentid>
    <comment_count>4</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2026-02-13 09:12:46 -0800</bug_when>
    <thetext>Reopened Bugzilla.
Caused crash in PLT, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=307808.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2181420</commentid>
    <comment_count>5</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2026-02-13 12:09:58 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/58653</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>