<?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>232042</bug_id>
          
          <creation_ts>2021-10-20 14:08:33 -0700</creation_ts>
          <short_desc>[ macOS wk1 ] imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-autofocus.html is a flaky failure</short_desc>
          <delta_ts>2021-12-17 07:07: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>Mac (Intel)</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>ntim</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>1806821</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-20 14:08:33 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-autofocus.html

Is a flaky failure on macOS wk1.

History: https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Finteractive-elements%2Fthe-dialog-element%2Fdialog-autofocus.html

Result page: https://build.webkit.org/results/Apple-BigSur-Debug-WK1-Tests/r284539%20(4862)/results.html#

Diff:

--- /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-autofocus-expected.txt
+++ /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-autofocus-actual.txt
@@ -1,4 +1,6 @@
 
 
-PASS autofocus when a modal dialog is opened
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT autofocus when a modal dialog is opened Test timed out
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806824</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-20 14:13:02 -0700</bug_when>
    <thetext>&lt;rdar://problem/84478439&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806825</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-20 14:13:57 -0700</bug_when>
    <thetext>Marked test expectations https://trac.webkit.org/changeset/284567/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806942</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-20 17:15:49 -0700</bug_when>
    <thetext>I was able to reproduce the failure at TOT locally.

I was expecting to have the same regression point as Bug 231918, but test failed at r283934 with a different diff:

@@ -1,4 +1,6 @@
 
 
-PASS autofocus when a modal dialog is opened
 
+
+FAIL autofocus when a modal dialog is opened assert_equals: expected Element node &lt;button id=&quot;autofocus-button&quot; autofocus=&quot;&quot;&gt;&lt;/button&gt; but got Element node &lt;button id=&quot;outer-button&quot; autofocus=&quot;&quot;&gt;&lt;/button&gt;
+

When I look at the diff on r283936, the test failed with the same diff that I reproduced with r283934 (https://build.webkit.org/results/Apple-Catalina-Release-WK1-Tests/r283936%20(6251)/results.html)

I will research more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1809895</commentid>
    <comment_count>4</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-28 16:31:06 -0700</bug_when>
    <thetext>The test failed with r284116 and newer revisions with:

====================

-PASS autofocus when a modal dialog is opened
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT autofocus when a modal dialog is opened Test timed out
+

====================

It failed with r284115 and older revisions (as old as r280001. Didn&apos;t try older than r280001) with a different diff:

====================

-PASS autofocus when a modal dialog is opened
 
+
+FAIL autofocus when a modal dialog is opened assert_equals: expected Element node &lt;button id=&quot;autofocus-button&quot; autofocus=&quot;&quot;&gt;&lt;/button&gt; but got Element node &lt;button id=&quot;outer-button&quot; autofocus=&quot;&quot;&gt;&lt;/button&gt;
+

====================

According to the history, it first started failing at r283936.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1812853</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-11-08 14:55:52 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 231918 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825073</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2021-12-17 07:07:19 -0800</bug_when>
    <thetext>https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Finteractive-elements%2Fthe-dialog-element%2Fdialog-autofocus.html


The results DB suggests this isn&apos;t fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>