title: Using canvas drawImage in chrome extension content script
body: <p>I'm trying to use <code>drawImage</code> on Canvas Context in injected content script from my Chrome Extension.</p>
  
  <pre><code>  testCanvas = document.createElement('canvas');
    testContext = testCanvas.getContext('2d');
    var image = new Image();
    testContext.drawImage(image, 0, 0);
  </code></pre>
  
  <p>In Chrome 26 it works ok, but in dev channel (Chrome 28) this seams broken as I got this message:</p>
  
  <pre><code>Uncaught TypeError: Type error
  </code></pre>
  
  <p>When I move same script directly into background page, it works without any problem.</p>
  
  <p>I think this can be related to some security related change but I failed to find any relevant information.</p>