W3C home > Mailing lists > Public > public-webapi@w3.org > February 2007

Re: XMLHttpRequest is an EventTarget ?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 13 Feb 2007 20:20:53 +0100
To: Joćo Eiras <joao.eiras@gmail.com>
Cc: public-webapi@w3.org
Message-ID: <ne34t29tlc35i8gqov6fjq9vea4prgpu8h@hive.bjoern.hoehrmann.de>

* Joćo Eiras wrote:
>At the same time, the events section
>http://www.w3.org/TR/XMLHttpRequest/#events
>mentions that the readystate event object must implement the Event  
>interface, yet there's still nothing which instructs how to fill the  
>object. Like, which is the event.target, currentTarget property supposed  
>to hold ?

There is only a single event target that participates in the XMLHttpRe-
quest event flow, since Event.target and Event.currentTarget cannot be
null, there is only one possible answer to either question.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 13 February 2007 19:21:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT