<?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>314016</bug_id>
          
          <creation_ts>2026-05-04 14:27:41 -0700</creation_ts>
          <short_desc>[Site Isolation] http/tests/security/block-top-level-navigation-via-redirect-by-third-party-iframes.html is flaky on macOS post-commit bot</short_desc>
          <delta_ts>2026-05-04 22:56:52 -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>Tools / Tests</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="Anthony Tarbinian">a.tarbinian</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2207358</commentid>
    <comment_count>0</comment_count>
    <who name="Anthony Tarbinian">a.tarbinian</who>
    <bug_when>2026-05-04 14:27:41 -0700</bug_when>
    <thetext>http/tests/security/block-top-level-navigation-via-redirect-by-third-party-iframes.html is failing flakily with the following diff on macOS release post-commit bots

  -CONSOLE MESSAGE: Unsafe JavaScript attempt to initiate navigation for frame with URL
  &apos;http://127.0.0.1:8000/security/block-top-level-navigation-via-redirect-by-third-party-iframes.html&apos; from frame with URL
  &apos;http://localhost:8000/security/resources/navigate-top-level-frame-to-failure-page-via-redirect.html&apos;. The frame attempting navigation of the top-level
  window is cross-origin or untrusted and the user has never interacted with the frame.
   Test blocking of suspicious top-level navigations by a third-party iframe (same-site but redirects to a different site)

   On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.

See https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fsecurity%2Fblock-top-level-navigation-via-redirect-by-third-party-iframes.html&amp;flavor=site-isolation

https://commits.webkit.org/311805@main attempted to fix this test and added a 1000ms timer
among other changes to fix this test.

That commit was successful in fixing the iOS bots, but macOS bots are still flaky with the above diff sometimes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207359</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-05-04 14:27:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/176211967&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207366</commentid>
    <comment_count>2</comment_count>
    <who name="Anthony Tarbinian">a.tarbinian</who>
    <bug_when>2026-05-04 14:34:46 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/64210</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207525</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-04 22:56:51 -0700</bug_when>
    <thetext>Committed 312592@main (61d4d4fb14a1): &lt;https://commits.webkit.org/312592@main&gt;

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

    </bug>

</bugzilla>