jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.12k stars 270 forks source link

setTimeout with parameters in IE8 ? #112

Closed doubret closed 9 years ago

doubret commented 9 years ago

I have some troubles getting xdomain.js working on IE8. The context :

On IE8, the file is correctly updloaded but the caller is never notified that the upload ended. When i refresh the page, as the file was correctly uploaded, it apears without problem.

I looked through the xdomain.js code, and i noticed the call to setTimeout(check). check is a function with arguments, i'm not sure if IE8 supports setTimeout with this sort of function. Do you think it can be a problem ?

Thanks.

jpillora commented 9 years ago

IE89 definitely has setTimeout. The problem is that XDomain doesn't work with Flash. See https://github.com/jpillora/xdomain/issues/74#issuecomment-45627062 for IE8,9 upload issues

doubret commented 9 years ago

Sorry i didn't get time to investigate more but i found that it was not a setTimeout problem. Thank you for taking time to reply.