closed #3279: XMLHttpRequest receives wrong binary array.