I am going to do a little bit more research on this but I think I have found an implementation difference between IE 6, IE 7 and Firefox, centering around XmlHttpRequest.
In both browsers, IE and Firefox, the developer can create a script that sends an HttpReqeust out via JavaScript. The following code is pretty standard:httpObj2.open("POST", url, false); // Asyn = true, Sync = falsehttpObj2.onreadystatechange = parseSearchResponse;httpObj2.setRequestHeader("Connection","close"); httpObj2.setRequestHeader("Content-Type","application/x-www-form-urlencoded");httpObj2.send("query="+ escape(query)); The above code will send a request synchronosly (it will block at send). Now Internet Explorer will still call the function attached to the onreadystatechange event after the send has finished blocking. Firefox on the otherhand will not call it.Which is the correct behaviour. If anyone knows email me at paul.kinlan@gmail.com
1 min read
A Difference I think I have noticed between IE and Firefox concerning XmlHttpRequest
Paul Kinlan
Lead of Chrome DevRel
See Also
Tags
Stay in the loop.
I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.