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