oyvindkinsey/easyXDM — comment on commit c6da9f074606f153769d8be61aca804a02a7acb9
File:  line 0
By pronebird:

req.abort() triggers onreadystatechange and sometimes it may be with readyStatus = 4, thus it triggers success handler. It probably makes sense to avoid this behavior and put req.abort() after req.onreadystatechange = Function.prototype, timeout errors still may be processed in error handler.