I think there is a problem with the iframe/form transport running in IE8, which doesn't let you programatically attach an onload handler to an iframe:
This means the handler attached in FileAPI.XHR.js is never called:
The Stack Overflow post above says the problem can be solved by attaching the onload handler in the HTML:
<iframe ... onload="foo(bar)">
Start fixing #214 - workaround for bug in IE8 iframe onload implement…
This commit attaches the handler using HTML instead.
A further commit will be needed to reorder the code to avoid a race condition
where the iframe is initialized before the handler is setup.
Finish fixing #214 - workaround for bug in IE8 iframe onload implemen…
Reorder the code that sets up the iframe onload handler to ensure
the handler is defined before the iframe is added to the window.
Rebuild with fix for #214
I've fixed the issue in three commits to clarify the approach:
This commit moves the code that defines the onload handler before the definition of the HTML
to avoid a race condition.
This commit rebuilds the dist directory.
The tests pass and I've independently verified that the code works on IE8 and 9 (Win7), Chrome, Firefox 26, and Safari 7 (OS X Mavericks). I'll verify IE10 and 11 and send a PR.
Thanks a lot, send PR.