<?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>139485</bug_id>
          
          <creation_ts>2014-12-10 08:09:30 -0800</creation_ts>
          <short_desc>CORS Redirect handling is not supported (W3C test cases failing)</short_desc>
          <delta_ts>2016-06-22 01:48:36 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=98838</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=128816</see_also>
          <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="Melvin Rook">melvin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dbates</cc>
    
    <cc>gquan</cc>
    
    <cc>wilander</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1054151</commentid>
    <comment_count>0</comment_count>
    <who name="Melvin Rook">melvin</who>
    <bug_when>2014-12-10 08:09:30 -0800</bug_when>
    <thetext>URL for W3C test cases: http://w3c-test.org/cors/redirect-origin.htm

Tested on the following browsers:
Safari (Desktop) - Failed
Mobile Safari (iOS) - Failed
Mobile Safari (Android) - Failed

Other browsers:
Firefox Nightly - Passed
Chrome (Android) - Passed
Chrome (Desktop) - Passed

Any failed test case results in the following console error: &quot;Cannot make any requests from null&quot;.

Expected result: All test cases should pass.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204442</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-06-21 23:04:36 -0700</bug_when>
    <thetext>Is this still the case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204460</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-06-22 00:55:48 -0700</bug_when>
    <thetext>We should be in a better shape now.
Running the test on a regular safari is all green.

Ideally, I would like to import all the W3C CORS tests as layout tests.
The issue is that these tests use URLS like www1.w3c-test.org which translate to www1.localhost in our test framework.
See bug 127676.

It would be cool though to have one bot with updated DNS able to run the W3C tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204461</commentid>
    <comment_count>3</comment_count>
    <who name="Melvin Rook">melvin</who>
    <bug_when>2016-06-22 01:05:41 -0700</bug_when>
    <thetext>Confirmed that it&apos;s still the case.

Tested again on:
Safari (Desktop OSX 10.11.4, Safari 9.1) - 18 tests failed
Safari (Desktop OSX 10.11.5, Safari 9.1.1) - 18 tests failed
Mobile Safari (iOS 9.3.2) 18 tests failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204462</commentid>
    <comment_count>4</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-06-22 01:22:13 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Confirmed that it&apos;s still the case.
&gt; 
&gt; Tested again on:
&gt; Safari (Desktop OSX 10.11.4, Safari 9.1) - 18 tests failed
&gt; Safari (Desktop OSX 10.11.5, Safari 9.1.1) - 18 tests failed
&gt; Mobile Safari (iOS 9.3.2) 18 tests failed

Thanks for checking again.
Can you try on Safari preview: https://developer.apple.com/safari/technology-preview/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204470</commentid>
    <comment_count>5</comment_count>
    <who name="Melvin Rook">melvin</who>
    <bug_when>2016-06-22 01:45:06 -0700</bug_when>
    <thetext>Safari Technology Preview 9.1.2 (11601.7.4, 11602.1.35) - All tests passed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204472</commentid>
    <comment_count>6</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-06-22 01:48:36 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Safari Technology Preview 9.1.2 (11601.7.4, 11602.1.35) - All tests passed!

Great!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>