<?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>234410</bug_id>
          
          <creation_ts>2021-12-16 17:05:45 -0800</creation_ts>
          <short_desc>REGRESSION (r286944?): web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click tests have become flaky failures</short_desc>
          <delta_ts>2022-06-23 11:17:25 -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>New Bugs</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=239546</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=238469</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>jenner</cc>
    
    <cc>Morningstar</cc>
    
    <cc>rackler</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1824911</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-12-16 17:05:45 -0800</bug_when>
    <thetext>The following two tests have become flaky failures on iOS and macOS, both having an unexpected &quot;+Download size: 0.&quot; appear in their diffs. 

imported/w3c/web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html
imported/w3c/web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Ftext-level-semantics%2Fthe-a-element%2Fa-download-click-404.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Ftext-level-semantics%2Fthe-a-element%2Fa-download-click.html

The change &quot;Fix ServiceWorker downloads&quot; (https://trac.webkit.org/changeset/286944/webkit) landed a few revisions before the first failure, and it added &quot;test runner API to log the total download size&quot;, so it seems related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1824935</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-16 18:26:03 -0800</bug_when>
    <thetext>&lt;rdar://problem/86608023&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825698</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-12-20 12:49:05 -0800</bug_when>
    <thetext>Same with https://results.webkit.org/?suite=layout-tests&amp;test=imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_allow_downloads.tentative.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829144</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-01-07 16:58:57 -0800</bug_when>
    <thetext>Also with https://results.webkit.org/?suite=layout-tests&amp;test=http%2Fwpt%2Fhtml%2Fsemantics%2Ftext-level-semantics%2Fthe-a-element%2Fa-download-click-404.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1832881</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-01-21 13:55:43 -0800</bug_when>
    <thetext>Added expectations for all of these tests. We only initially observed the following two having a negative impact on EWS:

imported/w3c/web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_allow_downloads.tentative.ht&apos;

However, since these are all flaky on OpenSource I&apos;m sure the other tests are probably also causing issues on EWS. 

Expectations added here:
https://trac.webkit.org/changeset/288380/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1870172</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-05-18 15:14:30 -0700</bug_when>
    <thetext>*** Bug 238469 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1870174</commentid>
    <comment_count>6</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-05-18 15:14:37 -0700</bug_when>
    <thetext>*** Bug 239546 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1870175</commentid>
    <comment_count>7</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-05-18 15:15:06 -0700</bug_when>
    <thetext>From dupes, this also affects 
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-area-element/area-download-click.html
mported/w3c/web-platform-tests/fetch/metadata/download.https.sub.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877620</commentid>
    <comment_count>8</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2022-06-23 03:34:11 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1723</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877719</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-23 11:17:21 -0700</bug_when>
    <thetext>Committed 251789@main (765fc0d01283): &lt;https://commits.webkit.org/251789@main&gt;

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

    </bug>

</bugzilla>