Hi,
following our face to face meeting, we are planning some changes to
progress:
1. Make the "total" attribute 0 if the length is unknown, and drop the
boolean "lengthComputable".
The rationale is that if you really have a zero-length load, it is
unlikely to
ever have time to fire a progress event, and will almost certainly only
fire any
in a really degenerate case. Having a large number was a bad idea, since
one day
you will have a large number of bytes, and having anegative number meant
having
a signed instead of unsigned integer.
2. Remove the preload and postload events.
You know when it finished, because the load event or whatever is spitting
out
progress will have finished. You know when it started, because you got a
progress event.
3. Add an uploadprogress
It is possible to construct an XHR that is moving content up and down at
the
same time, so knowing when progress refers to one or the other is useful.
4. Rename loadprogress to progress
It's shorter.
Do any of these changes cause any great heartache or seem crazy? I haven't
updated the draft at http://dev.w3.org/cvsweb/2006/webapi/progress/ yet
but I
will try to do that ASAP so we can request first public working draft.
cheers
Chaals
--
Charles McCathieNevile, Opera Software: Standards Group
hablo español - je parle français - jeg lærer norsk
[EMAIL PROTECTED] Try Opera 9.1 http://opera.com