W3C home > Mailing lists > Public > public-webapi@w3.org > November 2006

[XMLHttpRequest] Clearing the readystatechange listener

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sun, 19 Nov 2006 14:45:28 -0600
Message-ID: <4560C268.4000905@mit.edu>
To: public-webapi@w3.org

The draft does not indicate what happens to the readystatechange listener when 
the request completes.  If another request is then dispatched using the same 
XMLHttpRequest object, does the readystatechange listener persist?

Gecko's behavior right now is to clear all event listeners (including 
readystatechange) when the request goes into readyState 4.  Not sure what other 
UAs do.

-Boris
Received on Sunday, 19 November 2006 20:45:47 GMT

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