ACTION-436: Research what IE does for readystate re-entry (for ISSUE-33)

Research what IE does for readystate re-entry (for ISSUE-33)

State:
closed
Person:
Travis Leithead
Due on:
November 10, 2009
Created on:
November 3, 2009
Associated Issue:
ISSUE-33
Related emails:
No related emails

Related notes:

The following test did not result in any script errors for either the open/send calls--the onreadystatechange event hander just keeps getting called over and over and over again...

Need to determine if any new requests are being sent out...

function doIt() {
var out = null;
xhr.open("GET", "http://www.bing.com")
xhr.onreadystatechange = function(x) {
if (xhr.readyState == 4) {
wr("Onreadystatechange enter");
xhr.open("GET", "http://www.google.com");
xhr.send("Foo");
wr("Onreadystatechange exit");
}
}
xhr.send("Hello World");
}

Travis Leithead, 3 Nov 2009, 01:52:44

Checked that indeed, the second open/send combo *is* sending requests to the server over and over again.

It appears that re-entrancy is allowed in IE.

Travis Leithead, 3 Nov 2009, 02:00:42

Closing. Please re-open if this analysis is not satisfactory.

Travis Leithead, 3 Nov 2009, 02:01:54

Display change log.


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 436.html,v 1.1 2016/01/25 10:25:45 carine Exp $