dkastner/jquery.iecors — pull request #3 by fuzzygroove (2012-04-28 23:50:31+00:00)
Title: Fix issues with IE8 and IE9

I was running into a situation where multiple requests were hanging, or showing "Aborted" in the IE developer tools panel. There were a few issues with the plugin that were causing strange behavior in both IE8 and IE9.

I went through the spec and rebuilt the plugin to include comprehensive support: http://msdn.microsoft.com/en-us/library/cc288060(v=vs.85).aspx

1) Handle events as best as possible. Even if it doesn't do anything, IE9 will hang without an 'onprogress' handler set. See: http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/30ef3add-767c-4436-b8a9-f1ca19b4812e

2) Added a default timeout to prevent hanging requests.

3) Modified the 'abort' method to ensure that only the appropriate request is aborted.

4) Fixed the 'send' argument to actually send data instead of true/false or null.

I tested in IE8 and IE9. IE10 supports XHR, so it doesn't need this transport.

Thanks!