By my reading, XMLHttpRequestUpload inherits from XMLHttpRequestEventTarget (which is what inherits from EventTarget) [ ]. XMLHttpRequestEventTarget is what adds the old style event handler attributes, so XMLHttpRequestUpload should support them as well.


On May 20, 2008, at 6:50 PM, Aaron Boodman wrote:

My reading of leads me
to believe that you can do this:

xhr.upload.addEventListener("progress", function(){}, false);

but not this:

xhr.upload.onprogress = function(){};

That is, XMLHttpRequestUpload implements EventTarget, but not any
old-style event handler function properties. Is that correct?

- a

Reply via email to