blob: 8e80703f91c33eefda748eded9c5d6382990cabb [file] [log] [blame]
Test the behavior of CanvasRenderingContext2D.strokeRect() when called with different numbers of arguments.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ctx.strokeRect() threw exception TypeError: Not enough arguments.
PASS ctx.strokeRect(0) threw exception TypeError: Not enough arguments.
PASS ctx.strokeRect(0, 0) threw exception TypeError: Not enough arguments.
PASS ctx.strokeRect(0, 0, 0) threw exception TypeError: Not enough arguments.
PASS ctx.strokeRect(0, 0, 0, 0) is undefined
PASS ctx.strokeRect(0, 0, 0, 0, 0) is undefined
PASS successfullyParsed is true
TEST COMPLETE