18 lines
858 B
Plaintext
18 lines
858 B
Plaintext
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
|
|
|