1. Firefox的同步调用并不是在send结束后,回调onreadystatechange,而是顺序执行send后面的方法
2. 使用同步调用,在send后不能做xhr.onreadystatechange == null判断,否则会抛出Error: :{ UnnamedClass úùhöCP
³异常。但是给xhr.onreadystatechange赋值不会抛出异常
3. In the event of a communication error (such as the webserver going down), an exception will be thrown in the onreadystatechange method when attempting to access the .status variable. Make sure that you wrap your if...then statement in a try...catch. (See: bug 238559). 在通讯错误发生时(例如web服务器down掉),如果此时在onreadystatechange方法中访问status变量,就会抛出异常。所以在onreadystatechange中的if...else语句中判断status时要加上try块