<?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>25915</bug_id>
          
          <creation_ts>2014-05-29 09:53:39 +0000</creation_ts>
          <short_desc>Cross-origin requests</short_desc>
          <delta_ts>2014-06-18 21:07:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>File API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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">annevk</reporter>
          <assigned_to name="Arun">arun</assigned_to>
          <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106979</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-05-29 09:53:39 +0000</bug_when>
    <thetext>I&apos;m not sure why http://dev.w3.org/2006/webapi/FileAPI/#cross-origin-requests-on-blobs is included in this specification. That should follow from URL / Fetch, no?

Duplicate requirements are bad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107060</commentid>
    <comment_count>1</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-05-30 21:31:27 +0000</bug_when>
    <thetext>(In reply to Anne from comment #0)
&gt; I&apos;m not sure why
&gt; http://dev.w3.org/2006/webapi/FileAPI/#cross-origin-requests-on-blobs is
&gt; included in this specification. That should follow from URL / Fetch, no?
&gt; 
&gt; Duplicate requirements are bad.


You&apos;re right. I&apos;ve fixed this now so that Fetch is normative.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107073</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-05-31 07:12:48 +0000</bug_when>
    <thetext>Now you use must in a non-normative section.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107155</commentid>
    <comment_count>3</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-06-02 20:07:28 +0000</bug_when>
    <thetext>Fixed!
http://dev.w3.org/2006/webapi/FileAPI/#NetworkError</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107324</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-05 08:22:24 +0000</bug_when>
    <thetext>This still seems wrong. :-(

I think basically you do not want to say anything about cross-origin URLs and let that part of the security model be handled by Fetch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107362</commentid>
    <comment_count>5</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-06-05 14:57:58 +0000</bug_when>
    <thetext>(In reply to Anne from comment #4)
&gt; This still seems wrong. :-(
&gt; 
&gt; I think basically you do not want to say anything about cross-origin URLs
&gt; and let that part of the security model be handled by Fetch.


But File API defines the origin and origin policy of Blob URLs, and what requests are legal. It would be weird to be silent on the matter of cross-origin requests. I suppose I could just invoke the Fetch specification.

Also, what &quot;seems wrong?&quot; We already defer to Fetch and URL for most of the dereferencing. This just says that cross-origin requests return with a network error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107363</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-05 14:58:48 +0000</bug_when>
    <thetext>I don&apos;t see how that makes sense.

If Fetch defines that, why would we define it again here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107364</commentid>
    <comment_count>7</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-06-05 15:00:04 +0000</bug_when>
    <thetext>(In reply to Anne from comment #6)
&gt; I don&apos;t see how that makes sense.
&gt; 
&gt; If Fetch defines that, why would we define it again here?

Well, I&apos;m talking about:

http://dev.w3.org/2006/webapi/FileAPI/#requestResponseModel

Should ALL of it be subsumed by Fetch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107366</commentid>
    <comment_count>8</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-05 15:02:49 +0000</bug_when>
    <thetext>Yeah I think so. Unless you think Fetch should defer to the File API for the extracting bits from a blob bit, but I&apos;m not sure why we would intertwine them like that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108021</commentid>
    <comment_count>9</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-06-18 21:07:58 +0000</bug_when>
    <thetext>(In reply to Anne from comment #8)
&gt; Yeah I think so. Unless you think Fetch should defer to the File API for the
&gt; extracting bits from a blob bit, but I&apos;m not sure why we would intertwine
&gt; them like that.


Any FileAPI guidance on request/response when fetching Blob URLs is now non-normative, and I consider it provisional (e.g. can delete finally) when Fetch fully owns Blob URLs as per bug 24338, which is assigned to annevk.

http://dev.w3.org/2006/webapi/FileAPI/#requestResponseModel</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>