<?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>169552</bug_id>
          
          <creation_ts>2017-03-13 06:18:10 -0700</creation_ts>
          <short_desc>XMLHttpRequest: upload listener flag not implemented correctly</short_desc>
          <delta_ts>2022-08-20 09:48:55 -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>DOM</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>rniwa</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1287148</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2017-03-13 06:18:10 -0700</bug_when>
    <thetext>In particular, it seems to be bypassed for same-origin requests, which is unlikely to work well, as same-origin can be redirected to cross-origin.

https://github.com/w3c/web-platform-tests/pull/5122</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1287196</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-03-13 09:34:35 -0700</bug_when>
    <thetext>&gt; same-origin can be redirected to cross-origin 

Have we added support for such redirection already? If so, this bug sounds pretty bad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1287205</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2017-03-13 09:40:14 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; &gt; same-origin can be redirected to cross-origin 
&gt; 
&gt; Have we added support for such redirection already? If so, this bug sounds
&gt; pretty bad.

Indeed, we need to fix that!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892614</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-20 00:05:42 -0700</bug_when>
    <thetext>Safari Technology Preview 151 pass all tests, which WPT Pull Request was trying to modifying:

https://wpt.fyi/results/xhr?label=master&amp;label=experimental&amp;aligned&amp;view=subtest&amp;q=event-upload-progress

Is anything else needed? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892656</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-08-20 09:48:55 -0700</bug_when>
    <thetext>Passing these tests is a pretty strong indication that this now works. Maybe fixed in 211702@main?

We have a lot of flakiness, but it&apos;s tracked in other bugs already:

LayoutTests/platform/mac-wk1/TestExpectations:1480:webkit.org/b/223944 [ BigSur Debug ] imported/w3c/web-platform-tests/xhr/event-upload-progress.any.html [ Pass Failure ]
LayoutTests/platform/mac/TestExpectations:1969:webkit.org/b/223271 [ Debug ] imported/w3c/web-platform-tests/xhr/event-upload-progress.any.worker.html [ Pass Failure ]
LayoutTests/platform/mac/TestExpectations:2098:webkit.org/b/222385 imported/w3c/web-platform-tests/xhr/event-upload-progress-crossorigin.any.worker.html [ Pass Failure ]
LayoutTests/platform/mac/TestExpectations:2100:webkit.org/b/223804 imported/w3c/web-platform-tests/xhr/event-upload-progress-crossorigin.any.html [ Pass Failure ]</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>