在使用 jQuery 1.6.4 调用 $.ajax 后接收到 jqXHR 对象时打印它,我们看到了值的差异。
Firefox/Chrome 看到 500 内部服务器错误以及包含堆栈跟踪的 resposneText(该堆栈跟踪的目的 atm)。
IE 根本没有 responseText 和错误类型的“400”。
铬/FF
!!!!!!RAW Error -> {"readyState":4,"responseText":"{\"message\":\"Activities in this presentation mode can not contain checkpoints.\",\"code\":\"unknown (class com.ilrn.util.shared.ILrnException)\",\"type\":\"fatal-
etc etc then ends with
net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)\\norg.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)\\njava.lang.Thread.run(Thread.java:680)\"}","status":500,"statusText":"Internal Server Error"}
IE
RAW Error ->{"readyState":4,"responseText":"","status":400,"statusText":"failed"}
感谢令人愉快的居民!:D