blob: 1c8169de03d8dab97aa6f7c339ca782031b63fa9 [file] [log] [blame]
2d.imageData.create2.zero
createImageData(sw, sh) throws INDEX_SIZE_ERR if size is zero
Actual output:
FAIL createImageData(sw, sh) throws INDEX_SIZE_ERR if size is zero assert_throws: function "function () { ctx.createImageData(0.99, 10); }" did not throw