<?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>16305</bug_id>
          
          <creation_ts>2012-03-10 09:42:22 +0000</creation_ts>
          <short_desc>&apos;error&apos; event defined but never fired</short_desc>
          <delta_ts>2012-03-11 17:04: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>XHR</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>16306</dup_id>
          
          <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>glenn</cc>
    
    <cc>mike</cc>
    
    <cc>odinho</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>65285</commentid>
    <comment_count>0</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2012-03-10 09:42:22 +0000</bug_when>
    <thetext>nowhere in the specification is there language stating that an error event is fired (or at least I couldn&apos;t find it)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65288</commentid>
    <comment_count>1</comment_count>
    <who name="Odin Hørthe Omdal">odinho</who>
    <bug_when>2012-03-10 10:04:12 +0000</bug_when>
    <thetext>It is in fact defined: http://dvcs.w3.org/hg/xhr/raw-file/8d4e9ccfdbd4/Overview.html#network-error
---

When something is said to be a network error run the request error steps for exception &quot;NetworkError&quot; and event error.

When something is said to be an abort error run the request error steps for exception &quot;AbortError&quot; and event abort.

When something is said to be an timeout error run the request error steps for exception &quot;TimeoutError&quot; and event timeout.

When something is said to be a request error for exception exception and event event run these steps:

[...]

9. Fire a progress event named event.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65295</commentid>
    <comment_count>2</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2012-03-10 19:02:06 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; It is in fact defined:
&gt; http://dvcs.w3.org/hg/xhr/raw-file/8d4e9ccfdbd4/Overview.html#network-error
&gt; ---
&gt; 
&gt; When something is said to be a network error run the request error steps for
&gt; exception &quot;NetworkError&quot; and event error.
&gt; 
&gt; When something is said to be an abort error run the request error steps for
&gt; exception &quot;AbortError&quot; and event abort.
&gt; 
&gt; When something is said to be an timeout error run the request error steps for
&gt; exception &quot;TimeoutError&quot; and event timeout.
&gt; 
&gt; When something is said to be a request error for exception exception and event
&gt; event run these steps:
&gt; 
&gt; [...]
&gt; 
&gt; 9. Fire a progress event named event.

thanks for pointing that out; however, I see this does not use the formulaic language that is used in other event firing cases; namely, one of:

(1) fire an event named X
(2) fire a progress event named X

for consistency, I would suggest changing the text to use one of the above forms</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65298</commentid>
    <comment_count>3</comment_count>
    <who name="Glenn Maynard">glenn</who>
    <bug_when>2012-03-10 19:17:15 +0000</bug_when>
    <thetext>It does use the &quot;fire a progress event&quot; algorithm; it&apos;s right there in step 9.

9. Fire a progress event named event.

where &quot;event&quot; is the parameter to the &quot;request error&quot; algorithm (eg. &quot;error&quot;, &quot;abort&quot; or &quot;timeout&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65327</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-03-11 17:04:58 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 16306 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>