<?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>264751</bug_id>
          
          <creation_ts>2023-11-13 10:01:20 -0800</creation_ts>
          <short_desc>REGRESSION(268639@main): [ macOS wk2 ] fast/frames/iframe-window-focus.html is a flaky failure</short_desc>
          <delta_ts>2023-11-14 16:02:54 -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>Frames</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=262286</see_also>
          <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="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Charlie Wolfe">charliew</assigned_to>
          <cc>charliew</cc>
    
    <cc>g_squelart</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>1992148</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-11-13 10:01:20 -0800</bug_when>
    <thetext>fast/frames/iframe-window-focus.html

This test is consistently failing on most macOS wk2 configurations.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fframes%2Fiframe-window-focus.html&amp;flavor=wk2&amp;platform=mac

TEXT DIFF:

 This tests that focusing an editable iframe&apos;s window works correctly and allows text and newlines to be entered.
 
-TEST
+EST
 PASS

DIFF URL:

https://build.webkit.org/results/Apple-Sonoma-Release-WK2-Tests/270636%40main%20(623)/fast/frames/iframe-window-focus-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on macOS Sonoma (14.1, 23B74/arm64) ToT using the following command:

run-webkit-tests --clobber-old-results --verbose --iterations 100 --exit-after-n-failures 1 fast/frames/iframe-window-focus.html

REGRESSION:

I am unable to bisect an exact regression point, as there were a string of build failures spanning the range in which we would expect it to be (268626@main - 268640@main). My best guess is that 268632@main caused the failure, as changes seem like they could be related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992149</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-13 10:01:43 -0800</bug_when>
    <thetext>&lt;rdar://problem/118340493&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992154</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-13 10:10:25 -0800</bug_when>
    <thetext>Test gardening commit 270644@main (34368464f184): &lt;https://commits.webkit.org/270644@main&gt;

Reviewed commits have been landed. Closing PR #20424 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992305</commentid>
    <comment_count>3</comment_count>
    <who name="Gerald Squelart">g_squelart</who>
    <bug_when>2023-11-13 15:49:38 -0800</bug_when>
    <thetext>Thank you Ben for the initial report and bisection.
I was able to fix the compilation issue locally, and further bisect the regression.
The regression point is actually https://commits.webkit.org/268639@main aka https://bugs.webkit.org/show_bug.cgi?id=262286 rdar://116167166

The failing test sends keyDown events, and the 268639@main patch is about key events, that seems to confirm my bisection.
I&apos;ll ping the author to investigate further...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992485</commentid>
    <comment_count>4</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-11-14 09:45:57 -0800</bug_when>
    <thetext>Thanks Gerald! I modified the title to reflect your findings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992531</commentid>
    <comment_count>5</comment_count>
    <who name="Charlie Wolfe">charliew</who>
    <bug_when>2023-11-14 11:16:52 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20496</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992594</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-14 16:02:51 -0800</bug_when>
    <thetext>Committed 270731@main (7326eec80566): &lt;https://commits.webkit.org/270731@main&gt;

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

    </bug>

</bugzilla>