| OLD | NEW |
| 1 Test the behavior of CanvasRenderingContext2D.setShadow() when called with diffe
rent numbers of arguments. | 1 Test the behavior of CanvasRenderingContext2D.setShadow() 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.setShadow() threw exception TypeError: Failed to execute 'setShadow' on
'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. | 6 PASS ctx.setShadow() threw exception TypeError: Failed to execute 'setShadow' on
'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. |
| 7 PASS ctx.setShadow(0) threw exception TypeError: Failed to execute 'setShadow' o
n 'CanvasRenderingContext2D': 3 arguments required, but only 1 present.. | 7 PASS ctx.setShadow(0) threw exception TypeError: Failed to execute 'setShadow' o
n 'CanvasRenderingContext2D': 3 arguments required, but only 1 present.. |
| 8 PASS ctx.setShadow(0, 0) threw exception TypeError: Failed to execute 'setShadow
' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 present.. | 8 PASS ctx.setShadow(0, 0) threw exception TypeError: Failed to execute 'setShadow
' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 present.. |
| 9 PASS ctx.setShadow(0, 0, 0) is undefined | 9 PASS ctx.setShadow(0, 0, 0) is undefined |
| 10 PASS ctx.setShadow(0, 0, 0, 0) is undefined | 10 PASS ctx.setShadow(0, 0, 0, 0) is undefined |
| 11 PASS ctx.setShadow(0, 0, 0, 0, 0) is undefined | 11 PASS ctx.setShadow(0, 0, 0, 0, 0) is undefined |
| 12 FAIL ctx.setShadow(0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute
'setShadow' on 'CanvasRenderingContext2D': No function was found that matched th
e signature provided.". Threw exception TypeError: Failed to execute 'setShadow'
on 'CanvasRenderingContext2D': No function was found that matched the signature
provided.. | 12 PASS ctx.setShadow(0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execut
e 'setShadow' on 'CanvasRenderingContext2D': Valid arities are: [3, 4, 5, 7, 8],
but 6 arguments provided.. |
| 13 PASS ctx.setShadow(0, 0, 0, 0, 'red') is undefined | 13 PASS ctx.setShadow(0, 0, 0, 0, 'red') is undefined |
| 14 FAIL ctx.setShadow(0, 0, 0, 0, 'red', 0) should throw "TypeError: Failed to exec
ute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matche
d the signature provided.". Threw exception TypeError: Failed to execute 'setSha
dow' on 'CanvasRenderingContext2D': No function was found that matched the signa
ture provided.. | 14 PASS ctx.setShadow(0, 0, 0, 0, 'red', 0) threw exception TypeError: Failed to ex
ecute 'setShadow' on 'CanvasRenderingContext2D': Valid arities are: [3, 4, 5, 7,
8], but 6 arguments provided.. |
| 15 PASS ctx.setShadow(0, 0, 0, 0, 'red', 0, 0) is undefined | 15 PASS ctx.setShadow(0, 0, 0, 0, 'red', 0, 0) is undefined |
| 16 FAIL ctx.setShadow(0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute
'setShadow' on 'CanvasRenderingContext2D': No function was found that matched th
e signature provided.". Threw exception TypeError: Failed to execute 'setShadow'
on 'CanvasRenderingContext2D': No function was found that matched the signature
provided.. | 16 PASS ctx.setShadow(0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execut
e 'setShadow' on 'CanvasRenderingContext2D': Valid arities are: [3, 4, 5, 7, 8],
but 6 arguments provided.. |
| 17 PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0) is undefined | 17 PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0) is undefined |
| 18 PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0) is undefined | 18 PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0) is undefined |
| 19 FAIL ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to
execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that m
atched the signature provided.". Threw exception TypeError: Failed to execute 's
etShadow' on 'CanvasRenderingContext2D': No function was found that matched the
signature provided.. | 19 PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Failed
to execute 'setShadow' on 'CanvasRenderingContext2D': Valid arities are: [3, 4,
5, 7, 8], but 9 arguments provided.. |
| 20 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
| 21 | 21 |
| 22 TEST COMPLETE | 22 TEST COMPLETE |
| 23 | 23 |
| OLD | NEW |