Issue 5049: onreadystatechange fails for back-to-back XMLHTTP requests