<?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>263367</bug_id>
          
          <creation_ts>2023-10-19 01:59:09 -0700</creation_ts>
          <short_desc>fast/attachment tests cannot run with reftest-wait on WK1</short_desc>
          <delta_ts>2023-10-23 14:49:21 -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>ASSIGNED</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>262978</dependson>
    
    <dependson>263085</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gerald Squelart">g_squelart</reporter>
          <assigned_to name="Gerald Squelart">g_squelart</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1986102</commentid>
    <comment_count>0</comment_count>
    <who name="Gerald Squelart">g_squelart</who>
    <bug_when>2023-10-19 01:59:09 -0700</bug_when>
    <thetext>Following bug 262978, attachment-icon-from-file-extension.html should now properly work on WK2, including waiting for the icon to load before taking the screenshot. Previously the icon could be missing, leading to intermittent failures.

However since then, this test cannot run on WK1 anymore, it times out.
Based on some minimal logging, my guess at this time is that because of the &quot;reftest-wait&quot;, there is no rendering at all, meaning the attachment rendering does not run even once, which is when the icon is first requested.
Ideally it would be nice to trigger an initial rendering before the final screenshot rendering. If that&apos;s not possible, maybe the icon will have to be fetched eagerly, but that would modify the behavior. To be investigated further...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1986103</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-19 01:59:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/117193571&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1986965</commentid>
    <comment_count>2</comment_count>
    <who name="Gerald Squelart">g_squelart</who>
    <bug_when>2023-10-23 14:49:21 -0700</bug_when>
    <thetext>Expanding this bug to cover all tests that would want to use reftest-wait on WK1.

https://bugs.webkit.org/show_bug.cgi?id=263085 for fast/attachment/attachment-uti.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>