OLD | NEW |
1 Test the behavior of CanvasRenderingContext2D.drawImage() when called with diffe
rent numbers of arguments. | 1 Test the behavior of CanvasRenderingContext2D.drawImage() when called with diffe
rent numbers of arguments. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS ctx.drawImage() threw exception TypeError: Failed to execute 'drawImage' on
'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. | 6 PASS ctx.drawImage() threw exception TypeError: Failed to execute 'drawImage' on
'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. |
7 PASS ctx.drawImage(imageElement) threw exception TypeError: Failed to execute 'd
rawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 presen
t.. | 7 PASS ctx.drawImage(imageElement) threw exception TypeError: Failed to execute 'd
rawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 presen
t.. |
8 PASS ctx.drawImage(imageElement, 0) threw exception TypeError: Failed to execute
'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pre
sent.. | 8 PASS ctx.drawImage(imageElement, 0) threw exception TypeError: Failed to execute
'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pre
sent.. |
9 PASS ctx.drawImage(imageElement, 0, 0) is undefined | 9 PASS ctx.drawImage(imageElement, 0, 0) is undefined |
10 PASS ctx.drawImage(imageElement, 0, 0, 0) threw exception TypeError: Failed to e
xecute 'drawImage' on 'CanvasRenderingContext2D': No function was found that mat
ched the signature provided.. | 10 PASS ctx.drawImage(imageElement, 0, 0, 0) threw exception TypeError: Failed to e
xecute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9],
but 4 arguments provided.. |
11 PASS ctx.drawImage(imageElement, 0, 0, 0, 0) is undefined | 11 PASS ctx.drawImage(imageElement, 0, 0, 0, 0) is undefined |
12 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0) threw exception TypeError: Faile
d to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found th
at matched the signature provided.. | 12 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0) threw exception TypeError: Faile
d to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5
, 9], but 6 arguments provided.. |
13 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: Fa
iled to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found
that matched the signature provided.. | 13 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: Fa
iled to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3
, 5, 9], but 7 arguments provided.. |
14 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError:
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was fo
und that matched the signature provided.. | 14 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError:
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are:
[3, 5, 9], but 8 arguments provided.. |
15 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined | 15 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined |
16 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Type
Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function
was found that matched the signature provided.. | 16 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Type
Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid aritie
s are: [3, 5, 9], but 10 arguments provided.. |
17 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception T
ypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No functi
on was found that matched the signature provided.. | 17 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception T
ypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid ari
ties are: [3, 5, 9], but 11 arguments provided.. |
18 PASS ctx.drawImage(canvasElement) threw exception TypeError: Failed to execute '
drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 prese
nt.. | 18 PASS ctx.drawImage(canvasElement) threw exception TypeError: Failed to execute '
drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 prese
nt.. |
19 PASS ctx.drawImage(canvasElement, 0) threw exception TypeError: Failed to execut
e 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pr
esent.. | 19 PASS ctx.drawImage(canvasElement, 0) threw exception TypeError: Failed to execut
e 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pr
esent.. |
20 PASS ctx.drawImage(canvasElement, 0, 0) is undefined | 20 PASS ctx.drawImage(canvasElement, 0, 0) is undefined |
21 PASS ctx.drawImage(canvasElement, 0, 0, 0) threw exception TypeError: Failed to
execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that ma
tched the signature provided.. | 21 PASS ctx.drawImage(canvasElement, 0, 0, 0) threw exception TypeError: Failed to
execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9],
but 4 arguments provided.. |
22 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0) is undefined | 22 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0) is undefined |
23 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0) threw exception TypeError: Fail
ed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found t
hat matched the signature provided.. | 23 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0) threw exception TypeError: Fail
ed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3,
5, 9], but 6 arguments provided.. |
24 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: F
ailed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was foun
d that matched the signature provided.. | 24 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: F
ailed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [
3, 5, 9], but 7 arguments provided.. |
25 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError
: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was f
ound that matched the signature provided.. | 25 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError
: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are
: [3, 5, 9], but 8 arguments provided.. |
26 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined | 26 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined |
27 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Typ
eError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function
was found that matched the signature provided.. | 27 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Typ
eError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid ariti
es are: [3, 5, 9], but 10 arguments provided.. |
28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception
TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No funct
ion was found that matched the signature provided.. | 28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception
TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid ar
ities are: [3, 5, 9], but 11 arguments provided.. |
29 PASS successfullyParsed is true | 29 PASS successfullyParsed is true |
30 | 30 |
31 TEST COMPLETE | 31 TEST COMPLETE |
32 | 32 |
OLD | NEW |