2d.drawImage.zerosource.image | |
drawImage with zero-sized source rectangle from image throws INDEX_SIZE_ERR | |
Actual output: | |
Expected output: | |
FAIL drawImage with zero-sized source rectangle from image throws INDEX_SIZE_ERR assert_throws: function "function () { ctx.drawImage(document.getElementById('red-zerowidth.svg'), 0, 0, 100, 50); }" did not throw | |