Charles McCathieNevile wrote:
On Tue, 24 Apr 2007 08:25:58 +0200, Anne van Kesteren <[EMAIL PROTECTED]> wrote:
On Mon, 23 Apr 2007 14:44:53 +0200, Jonas Sicking <[EMAIL PROTECTED]> wrote:
[...]
I think you do want at least one loadstart and progress event before
that event though.
Why? ('that event' means the error event here, right?)
http://www.w3.org/mid/[EMAIL PROTECTED]
As I read that message (then and now) it was to clarify that Maciej felt we
need a loadstart and some end condition event, and couldn't overload progress
to perform those functions. I didn't interpret it to mean that you need the
actual progress event to fire (and Maciej allows for this explicitly in the
message).
So as I understand it the current spec matches what Maciej was asking for.
Ah, I missed that progress could be fired zero times before error.
That's good. Thinking about it some more it does make sense that if we
successfully start the load and return from whatever call initiated the
load that we demand that loadstart is the first thing that is fired always.
/ Jonas