Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
xhr_send failures don't close the session #66
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Our JSONP transport sends data by submitting a form to '/jsonp_send' url. The form target field is set to an unique iframe - to avoid reloading the whole page on form submit.
The problem is - there is no way to get information if this iframe succeeded or failed - it's cross domain iframe and we know only that it 'loaded'.
So - we have to hardcode success for sending data on jsonp transport.