Bug 1038243 - Avoid static casting from nsIDOMAttr to Attr. r=smaug
Bug 1041148 - Move HoldJSObjects call to XMLHttpRequest constructor to simplify the code. r=bz