Blob constructor not working in safari / opera?
<p>I'm trying to construct a Blob from an array buffer that original comes from a binary string. It works fine in Firefox &amp; Chrome, but I don't know whats wrong with Safari &amp; Opera</p>

<p>This is a simplified version of my problem: 
<a href="http://plnkr.co/edit/sfEEHf?p=preview" rel="nofollow">http://plnkr.co/edit/sfEEHf?p=preview</a></p>

<pre><code>// 1x1 red PNG pixle
base64 = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2P8z8DwHwAFBQIAHl6u2QAAAABJRU5ErkJggg==";
byteString = atob(base64);

// convert binary to array buff so we can construct a blob later
arrayBuffer = new ArrayBuffer(byteString.length);
intArray = new Uint8Array(arrayBuffer);

for (i = 0; i &lt; byteString.length; i += 1) {
  intArray[i] = byteString.charCodeAt(i);
}

// construct blob
blob = new Blob([intArray], {type: "image/png"});
console.log(blob.size); // suppose to be 70 (its 19 in safari)
</code></pre>
