title: jsdom and canvas gets resource as image
body: <p>I have a jsdom</p>
  <pre><code>new JSDOM(
        `&lt;!DOCTYPE html&gt;
            &lt;html&gt;
                &lt;head&gt;
                  &lt;script src=&quot;https://www.websitewithjs.js&quot;&gt;&lt;/script&gt;&lt;/head&gt;
                &lt;body&gt;
                  &lt;p&gt;My Test page&lt;/p&gt;
                &lt;/body&gt;
            &lt;/html&gt;`,
        { runScripts: &quot;dangerously&quot;, url: `${origin}`, origin: `${origin}`, pretendToBeVisual: true, virtualConsole: createVirtualConsole(), resources: &quot;usable&quot; }
      );
  </code></pre>
  <p>This dom loads a js that loads and adds other external js (not on my control) that executes some functions that modifies the DOM above and I'm getting an error when loading one of those resources as it gets loaded as an image</p>
  <pre><code>Could not load img: &quot;https://externalimageserver.com/v1/get/?qp=1&amp;qp2=value&quot;
  </code></pre>
  <p>The server returns 204 with empty response and I think that could be the key of the problem.</p>
  <p>I have canvas as a dependency but I'm not sure why I'm getting this error.</p>