blob: 082c8d4c53b1d2742f73636c5d3662ef515aa949 [file] [log] [blame]
Test the handling of invalid arguments in canvas createPattern().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS context.createPattern(undefined, undefined) threw exception TypeError: Type error.
PASS context.createPattern(undefined, null) threw exception TypeError: Type error.
PASS context.createPattern(undefined, '') threw exception TypeError: Type error.
PASS context.createPattern(undefined, 'repeat') threw exception TypeError: Type error.
PASS context.createPattern(null, undefined) threw exception TypeError: Type error.
PASS context.createPattern(null, null) threw exception TypeError: Type error.
PASS context.createPattern(null, '') threw exception TypeError: Type error.
PASS context.createPattern(null, 'repeat') threw exception TypeError: Type error.
PASS successfullyParsed is true
TEST COMPLETE