A Difference I think I have noticed between IE and Firefox concerning XmlHttpRequest

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

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.

I love to learn about what you are building, and how I can help with Chrome or Web development in general, so if you want to chat with me directly, please feel free to book a consultation.

I'm trialing a newsletter, you can subscribe below (thank you!)