title: Canvas drawImage type error on Chrome
body: <p>I have a weird bug on the lastest chrome (v27 on Windows 7) using Canvas and drawImage. The bug only occur on Chrome, everything works as expected on Firefox and IE.</p>
  
  <p>I created a failing reduce test case here: <a href="http://jsfiddle.net/qU3s5/" rel="nofollow">http://jsfiddle.net/qU3s5/</a></p>
  
  <p><strong>HTML</strong>  </p>
  
  <pre><code>&lt;canvas id="canvas"&gt;&lt;/canvas&gt;
  </code></pre>
  
  <p><strong>JavaScript</strong>  </p>
  
  <pre><code>var canvas = document.getElementById("canvas");
  
  var ctx = canvas.getContext("2d");
  
  var img = new Image();
  img.onload = function() {
    ctx.drawImage(this, 0, 0);
  }
  img.src = "http://octodex.github.com/images/foundingfather_v2.png";
  </code></pre>
  
  <p>This give me <code>Uncaught TypeError: Type error</code> on the line where <code>drawImage</code> is called.</p>