| OLD | NEW |
| 1 description( | 1 description( |
| 2 'This test checks createRadialGradient with infinite values' | 2 'This test checks createRadialGradient with infinite values' |
| 3 ); | 3 ); |
| 4 | 4 |
| 5 var ctx = document.createElement('canvas').getContext('2d'); | 5 var ctx = document.createElement('canvas').getContext('2d'); |
| 6 | 6 |
| 7 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, 0, NaN)", "'Error: NotSuppor
tedError: DOM Exception 9'"); | 7 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, 0, NaN)", "'NotSupportedErro
r: The implementation did not support the requested type of object or operation.
'"); |
| 8 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, 0, Infinity)", "'Error: NotS
upportedError: DOM Exception 9'"); | 8 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, 0, Infinity)", "'NotSupporte
dError: The implementation did not support the requested type of object or opera
tion.'"); |
| 9 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, 0, -Infinity)", "'Error: Not
SupportedError: DOM Exception 9'"); | 9 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, 0, -Infinity)", "'NotSupport
edError: The implementation did not support the requested type of object or oper
ation.'"); |
| 10 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, NaN, 100)", "'Error: NotSupp
ortedError: DOM Exception 9'"); | 10 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, NaN, 100)", "'NotSupportedEr
ror: The implementation did not support the requested type of object or operatio
n.'"); |
| 11 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, Infinity, 100)", "'Error: No
tSupportedError: DOM Exception 9'"); | 11 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, Infinity, 100)", "'NotSuppor
tedError: The implementation did not support the requested type of object or ope
ration.'"); |
| 12 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, -Infinity, 100)", "'Error: N
otSupportedError: DOM Exception 9'"); | 12 shouldThrow("ctx.createRadialGradient(0, 0, 100, 0, -Infinity, 100)", "'NotSuppo
rtedError: The implementation did not support the requested type of object or op
eration.'"); |
| 13 shouldThrow("ctx.createRadialGradient(0, 0, 100, NaN, 0, 100)", "'Error: NotSupp
ortedError: DOM Exception 9'"); | 13 shouldThrow("ctx.createRadialGradient(0, 0, 100, NaN, 0, 100)", "'NotSupportedEr
ror: The implementation did not support the requested type of object or operatio
n.'"); |
| 14 shouldThrow("ctx.createRadialGradient(0, 0, 100, Infinity, 0, 100)", "'Error: No
tSupportedError: DOM Exception 9'"); | 14 shouldThrow("ctx.createRadialGradient(0, 0, 100, Infinity, 0, 100)", "'NotSuppor
tedError: The implementation did not support the requested type of object or ope
ration.'"); |
| 15 shouldThrow("ctx.createRadialGradient(0, 0, 100, -Infinity, 0, 100)", "'Error: N
otSupportedError: DOM Exception 9'"); | 15 shouldThrow("ctx.createRadialGradient(0, 0, 100, -Infinity, 0, 100)", "'NotSuppo
rtedError: The implementation did not support the requested type of object or op
eration.'"); |
| 16 shouldThrow("ctx.createRadialGradient(0, 0, NaN, 0, 0, 100)", "'Error: NotSuppor
tedError: DOM Exception 9'"); | 16 shouldThrow("ctx.createRadialGradient(0, 0, NaN, 0, 0, 100)", "'NotSupportedErro
r: The implementation did not support the requested type of object or operation.
'"); |
| 17 shouldThrow("ctx.createRadialGradient(0, 0, Infinity, 0, 0, 100)", "'Error: NotS
upportedError: DOM Exception 9'"); | 17 shouldThrow("ctx.createRadialGradient(0, 0, Infinity, 0, 0, 100)", "'NotSupporte
dError: The implementation did not support the requested type of object or opera
tion.'"); |
| 18 shouldThrow("ctx.createRadialGradient(0, 0, -Infinity, 0, 0, 100)", "'Error: Not
SupportedError: DOM Exception 9'"); | 18 shouldThrow("ctx.createRadialGradient(0, 0, -Infinity, 0, 0, 100)", "'NotSupport
edError: The implementation did not support the requested type of object or oper
ation.'"); |
| 19 shouldThrow("ctx.createRadialGradient(0, NaN, 100, 0, 0, 100)", "'Error: NotSupp
ortedError: DOM Exception 9'"); | 19 shouldThrow("ctx.createRadialGradient(0, NaN, 100, 0, 0, 100)", "'NotSupportedEr
ror: The implementation did not support the requested type of object or operatio
n.'"); |
| 20 shouldThrow("ctx.createRadialGradient(0, Infinity, 100, 0, 0, 100)", "'Error: No
tSupportedError: DOM Exception 9'"); | 20 shouldThrow("ctx.createRadialGradient(0, Infinity, 100, 0, 0, 100)", "'NotSuppor
tedError: The implementation did not support the requested type of object or ope
ration.'"); |
| 21 shouldThrow("ctx.createRadialGradient(0, -Infinity, 100, 0, 0, 100)", "'Error: N
otSupportedError: DOM Exception 9'"); | 21 shouldThrow("ctx.createRadialGradient(0, -Infinity, 100, 0, 0, 100)", "'NotSuppo
rtedError: The implementation did not support the requested type of object or op
eration.'"); |
| 22 shouldThrow("ctx.createRadialGradient(NaN, 0, 100, 0, 0, 100)", "'Error: NotSupp
ortedError: DOM Exception 9'"); | 22 shouldThrow("ctx.createRadialGradient(NaN, 0, 100, 0, 0, 100)", "'NotSupportedEr
ror: The implementation did not support the requested type of object or operatio
n.'"); |
| 23 shouldThrow("ctx.createRadialGradient(Infinity, 0, 100, 0, 0, 100)", "'Error: No
tSupportedError: DOM Exception 9'"); | 23 shouldThrow("ctx.createRadialGradient(Infinity, 0, 100, 0, 0, 100)", "'NotSuppor
tedError: The implementation did not support the requested type of object or ope
ration.'"); |
| 24 shouldThrow("ctx.createRadialGradient(-Infinity, 0, 100, 0, 0, 100)", "'Error: N
otSupportedError: DOM Exception 9'"); | 24 shouldThrow("ctx.createRadialGradient(-Infinity, 0, 100, 0, 0, 100)", "'NotSuppo
rtedError: The implementation did not support the requested type of object or op
eration.'"); |
| OLD | NEW |