Bug 981658 - Fix xhr.withCredentials support in ie10/11