ACTION-436
Research what IE does for readystate re-entry (for ISSUE-33)
- State:
- closed
- Person:
- Travis Leithead
- Due on:
- 2009-11-10
- Created on:
- 2009-11-03
- Associated Issue:
- ISSUE-33
- Related emails:
- No related emails
Related notes:
2009-11-03 01:52:44: 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]
2009-11-03 02:00:42: 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]
2009-11-03 02:01:54: Closing. Please re-open if this analysis is not satisfactory. [Travis Leithead]
Display change log.