Working nice here, i think this is not issue, but image loading problem on your computer however i will i will look to simulate that for me. Try on Chrome , Firefox ect ...
Originally Posted by Patrice
Edit : ok here is the reason "drawImage-with-broken-image-expected.txt"
ctx.drawImage(invalidImage, 0, 0) threw exception InvalidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state..
Image is invalid or the path is wrong i think, why ???
Can you look the ressources drawer and see M0001.png is there ?
I have renamed this file to M0001.jpg and the page is not working ... i have now the same error like you.
Hope this problem is resolved now ;