<?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>296199</bug_id>
          
          <creation_ts>2025-07-18 11:39:34 -0700</creation_ts>
          <short_desc>fast/events/onunload-not-on-body.html is a flakey text failure</short_desc>
          <delta_ts>2026-03-09 23:12:03 -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="Bryan Medina">bmedina2</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>beidson</cc>
    
    <cc>d_delatoba</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2131205</commentid>
    <comment_count>0</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-07-18 11:39:34 -0700</bug_when>
    <thetext>fast/events/onunload-not-on-body.html

is a flakey text failure observed on iOS.

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fevents%2Fonunload-not-on-body.html

TEXT DIFF:
--- /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Debug-WK2-Tests/build/layout-test-results/fast/events/onunload-not-on-body-expected.txt
+++ /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Debug-WK2-Tests/build/layout-test-results/fast/events/onunload-not-on-body-actual.txt
@@ -1,3 +1,3 @@
-frame &quot;&lt;!--frame3--&gt;&quot; - has 1 onunload handler(s)
+frame &quot;&lt;!--frame4--&gt;&quot; - has 1 onunload handler(s)
 CONSOLE MESSAGE: Use of window.alert is not allowed while unloading a page.
 you should only see one unload alert appear.

TEXT DIFF URL:
https://build.webkit.org/results/Apple-iPadOS-18-Simulator-Debug-WK2-Tests/297545@main%20(1345)/fast/events/onunload-not-on-body-diff.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2131206</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-07-18 11:39:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/156163033&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2131210</commentid>
    <comment_count>2</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-07-18 11:54:30 -0700</bug_when>
    <thetext>I was able to reproduce this text failure locally on my device using macOS Sequoia Release ToT with the following command:

run-webkit-tests fast/events/onunload-not-on-body.html --ios-simulator --iterations=50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2131211</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-07-18 12:00:50 -0700</bug_when>
    <thetext>Test gardening commit 297609@main (4159c17922f9): &lt;https://commits.webkit.org/297609@main&gt;

Reviewed commits have been landed. Closing PR #48258 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2188519</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2026-03-09 16:17:54 -0700</bug_when>
    <thetext>*** Bug 307385 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2188569</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2026-03-09 19:27:40 -0700</bug_when>
    <thetext>This is a race between &lt;object&gt; in the 2nd frame loading vs. 3rd outer iframe loading.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2188571</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2026-03-09 19:35:15 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/60241</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2188609</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-09 23:11:59 -0700</bug_when>
    <thetext>Committed 308959@main (a0a371a941a6): &lt;https://commits.webkit.org/308959@main&gt;

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

    </bug>

</bugzilla>