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.

Received on Sunday, 19 November 2006 20:45:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:22 UTC