What should XMLHttpRequest.status return on connection timeout? Ian and I were talking about this, and it seems like "502" is a good response code here... See https://bugzilla.mozilla.org/show_bug.cgi?id=304980 -Boris