On Sun, 19 Nov 2006 21:45:28 +0100, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
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.

All other user agents don't clear event listeners. See http://tc.labs.opera.com/apis/XMLHttpRequest/onreadystatechange/002.htm for a testcase. As such, I don't think the specification would need to state anything in addition as it already describes the behavior implementations should exhibit.


--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Reply via email to