OLD | NEW |
(Empty) | |
| 1 Tests that the OffScreenCanvas can handle invalid arguments |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS canvas1.width is setWidth-1 |
| 7 PASS canvas1.height is setHeight-1 |
| 8 PASS canvas1.width is 0 |
| 9 PASS canvas1.height is 0 |
| 10 PASS new OffScreenCanvas(-1, -1) threw exception TypeError: Failed to construct
'OffScreenCanvas': Value is outside the 'unsigned long' value range.. |
| 11 PASS canvas2.width is 0 |
| 12 PASS canvas2.height is 0 |
| 13 PASS canvas2.width is setWidth-1 |
| 14 PASS canvas2.height is setHeight-1 |
| 15 PASS canvas2.width = -1 threw exception TypeError: Failed to set the 'width' pro
perty on 'OffScreenCanvas': Value is outside the 'unsigned long' value range.. |
| 16 PASS canvas2.height = -1 threw exception TypeError: Failed to set the 'height' p
roperty on 'OffScreenCanvas': Value is outside the 'unsigned long' value range.. |
| 17 PASS canvas2.width = obj threw exception TypeError: Failed to set the 'width' pr
operty on 'OffScreenCanvas': Value is not of type 'unsigned long'.. |
| 18 PASS canvas2.height = obj threw exception TypeError: Failed to set the 'height'
property on 'OffScreenCanvas': Value is not of type 'unsigned long'.. |
| 19 PASS new OffScreenCanvas(obj, obj) threw exception TypeError: Failed to construc
t 'OffScreenCanvas': Value is not of type 'unsigned long'.. |
| 20 PASS successfullyParsed is true |
| 21 |
| 22 TEST COMPLETE |
| 23 |
OLD | NEW |