<?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>16299</bug_id>
          
          <creation_ts>2012-03-10 00:48:14 +0000</creation_ts>
          <short_desc>editorial - inadequate description of upload attribute</short_desc>
          <delta_ts>2012-09-27 13:25:15 +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>XHR</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dvcs.w3.org/hg/xhr/raw-file/8d4e9ccfdbd4/Overview.html</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="Glenn Adams">glenn</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <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>65266</commentid>
    <comment_count>0</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2012-03-10 00:48:14 +0000</bug_when>
    <thetext>the update attribute needs to be better described to communicate a sense of
its intended purpose; at present, section 4.7.5 only says &quot;The upload attribute must return the associated XMLHttpRequestUpload object.&quot;

it says nothing about the function of the XMLHttpRequestUpload object and why, for example, there needs to be two distinct XMLHttpRequestEventTargets;

furthermore, the spec should state that the upload objects are distinct across different XMLHttpRequest objects (at the moment, this seems merely to be assumed); i.e., each distinct XMLHttpRequestUpload object is associated with a distinct XMLHttpRequest object</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65267</commentid>
    <comment_count>1</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2012-03-10 00:48:59 +0000</bug_when>
    <thetext>s/update/upload/g</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66060</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-03-26 15:55:41 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/xhr/rev/ba9735a82582

By the way, many thanks for all these reports!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66078</commentid>
    <comment_count>3</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2012-03-26 20:01:42 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; http://dvcs.w3.org/hg/xhr/rev/ba9735a82582

You added a note: &quot;As indicated earlier, each XMLHttpRequest object has an associated XMLHttpRequestUpload object.&quot;

But this doesn&apos;t address my comment about whether XMLHttpRequestUpload objects are distinct or not; i.e., an implementer might (for whatever reason) reuse the same upload object on more than one request object. [You ask why? Because the spec allows this, or at least doesn&apos;t preclude this.]

It would be better if the word &quot;distinct&quot; were added in 4.7,  i.e.,

&quot;Each XMLHttpRequest object also has a distinct, associated XMLHttpRequestUpload object.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74642</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-09-27 13:12:36 +0000</bug_when>
    <thetext>https://github.com/whatwg/xhr/commit/1d7f7d3a9a38bb7fc830f4eb365697cbed21db13

Used &quot;unique&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74643</commentid>
    <comment_count>5</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2012-09-27 13:25:15 +0000</bug_when>
    <thetext>thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>