Wasn't the rationale that Internet Explorer would not support this? This
is probably still valid.
However, I agree that it makes sense to implement it as an EventTarget.
Cheers,
- Gorm
On Thu, 06 Apr 2006 12:05:35 +0300, Web APIs Issue Tracker
<[EMAIL PROTECTED]> wrote:
ISSUE-72: should XMLHttpRequest be an EventTarget?
http://www.w3.org/2005/06/tracker/webapi/issues/72
Raised by: Anne van Kesteren
On product: XMLHttpRequest
I know we agreed to not do this for version 1.0 during our F2F (Oslo,
2006), but
I'd like to revisit it given that there's at least one implementation
which is
doing this and it makes a lot more sense for other languages besides
ECMAScript.
Did I mention it just makes a lot of sense?
(Another consequence of this will be that onreadystatechange becomes an
EventListener instead of a Function.)