<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17305</bug_id>
          
          <creation_ts>2012-06-04 13:28:28 +0000</creation_ts>
          <short_desc>No CORS and not-same-origin should not fetch the URL</short_desc>
          <delta_ts>2012-08-29 19:32:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#potentially-cors-enabled-fetch</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68566</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-06-04 13:28:28 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html
Multipage: http://www.whatwg.org/C#potentially-cors-enabled-fetch
Complete: http://www.whatwg.org/c#potentially-cors-enabled-fetch

Comment:
No CORS and not-same-origin should not fetch the URL

Posted from: 85.227.152.202 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68567</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-06-04 13:37:25 +0000</bug_when>
    <thetext>When failure mode is &quot;fail&quot; and mode is &quot;No CORS&quot;, we shouldn&apos;t fetch anything at all but just fail directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68620</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-06-05 07:31:57 +0000</bug_when>
    <thetext>Similarly, if /default/ is &quot;fail&quot;, and /mode/ is &quot;No CORS&quot;, and /URL/ is a same-origin URL that redirects to a different-origin URL, the redirect shouldn&apos;t be followed but should fail at that point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70897</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:42:42 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18215 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71569</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-07-27 03:12:50 +0000</bug_when>
    <thetext>Can you elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72194</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-08-15 09:33:01 +0000</bug_when>
    <thetext>When /default/ is &quot;fail&quot;, we don&apos;t want to waste network resources on fetches we know we&apos;re not going to accept. This also applies in case of redirects.

This came up as part of implementing &lt;track&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>