content/canvas/crashtests/916128-1.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <script>
     2 o0 = document.createElement('canvas');
     3 (document.body || document.documentElement).appendChild(o0);
     4 o1 = o0.getContext('2d');
     5 o2 = document.createElement('img');
     6 //o2.src = "image2.png";
     7 o3 = o1.createImageData(0.7409945472006207, 0.8815588599260801);
     8 o1.save();
     9 o1.mozCurrentTransform = [0.18777365986904448, 4, 4, -2048, 3, 32];
    10 o0.width = 0.52;
    11 o1.putImageData(o3, -32, -0.16596290333335356);
    12 o0.toBlob(function() {}, "video/mp4", 16);
    13 </script>

mercurial