<?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>7783</bug_id>
          
          <creation_ts>2009-10-01 13:23:03 +0000</creation_ts>
          <short_desc>appcache download events</short_desc>
          <delta_ts>2010-10-04 14:49:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27969</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2009-10-01 13:23:03 +0000</bug_when>
    <thetext>Why is there first an event called downloading while the progress events seem sufficient to determine everything?

If we need downloading, wouldn&apos;t it be better to provide a networking API similar to media elements and XMLHttpRequest. I.e. with loadstart, progress, error/abort/load, and loadend?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28485</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-10-18 23:05:21 +0000</bug_when>
    <thetext>&apos;downloading&apos; is separate from &apos;progress&apos; so that you don&apos;t have to continually check whether or not you&apos;ve gotten the first &apos;progress&apos; yet. You just have one event to set up your progress bar (or whatever), and others to update it.

The events you list aren&apos;t used because they&apos;re not fine-grained enough. What would be &apos;loadstart&apos; is split between &apos;checking&apos; and &apos;downloading&apos;, what would be the various ending events is split between &apos;noupdate&apos;, &apos;cached&apos;, &apos;updateready&apos;, &apos;obsolete&apos;, and &apos;error&apos;. I reused the event names that made sense, and made new ones up elsewhere.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>