Loadend event has been added to http://dev.w3.org/cvsweb/~checkout~/2006/webapi/progress/Progress.html?rev=1.25
XHR2 should be updated before this, and also HTML 5.
I think XHR2/upload should have property onloadend, not sure about <video>/<audio>
<audio> / <video> seem to have a bit different kind of use for progress events
and they have more events. So not even sure if loadend is useful there.
I talked to hixie about this. His feeling was that it seemed to make sense for audio/video too given that we have load/abort/error there too.
Created attachment 519217 [details] [diff] [review]
Comment on attachment 519217 [details] [diff] [review]
Actually, could you add this event to the cross-site XHR tests too by adding loadend to the list here:
and change the code here to use the loadend event instead:
It's unfortunately a bit of a pain since you also need to update
Could you explain that whole CORS testing setup?
Why the need for .jar?
I'll push the patch, since it does tests all the parts already, but
we certainly should have tests for xsite+loadend too.
Filed a followup for that.
Created attachment 522046 [details] [diff] [review]
Fix CORS-tests to also check for loadend
Checked in CORS tests
And listed on Firefox 5 for developers.