2d.imageData.get.large.crash

Test that canvas crash when image data cannot be allocated.

Actual output:

FAIL (fallback content)

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassTest that canvas crash when image data cannot be allocated.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.getImageData(10, 0xffffffff, 2147483647, 10); }")
    at  /html/canvas/element/pixel-manipulation/2d.imageData.get.large.crash.html:23:3