<html> <head> <script type="text/javascript"> response =0; function loadXMLDoc() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState) console.log(xmlhttp); response++; document.getElementById("myDiv").innerHTML+=xmlhttp.readyState; } xmlhttp.open("HEAD","empty.txt",true); xmlhttp.setRequestHeader("Empty-Header", ""); xmlhttp.send(); } </script> </head> <body> This is what 2.0.1 and desktop get <br/> 1: server connection established<br/> 2: request received <br/> 4: request finished and response is ready<br/> <br/> 2.1.0 on generates this<br/> 1: server connection established<br/> 4: request finished and response is ready<br/> <div id="myDiv"><h2>Requests</h2></div> <button type="button" onclick="loadXMLDoc()">Test Me</button> </body> </html> expected: 1: server connection established 2: request received 4: request finished and response is ready actual: 2.1.0 generates this 1: server connection established 4: request finished and response is ready
Created attachment 137292 [details] Patch
Comment on attachment 137292 [details] Patch Clearing flags on attachment: 137292 Committed r114235: <http://trac.webkit.org/changeset/114235>
All reviewed patches have been landed. Closing bug.