OLD | NEW |
1 Test the handling of invalid arguments in canvas toBlob(). | 1 Test the handling of invalid arguments in canvas toBlob(). |
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 canvas.toBlob(); threw exception TypeError: Failed to execute 'toBlob' on '
HTMLCanvasElement': 1 argument required, but only 0 present.. | 6 PASS canvas.toBlob(); threw exception TypeError: Failed to execute 'toBlob' on '
HTMLCanvasElement': 1 argument required, but only 0 present.. |
7 PASS canvas.toBlob(null); threw exception TypeError: Failed to execute 'toBlob'
on 'HTMLCanvasElement': The callback provided as parameter 1 is not a function.. | 7 PASS canvas.toBlob(null); threw exception TypeError: Failed to execute 'toBlob'
on 'HTMLCanvasElement': The callback provided as parameter 1 is not a function.. |
8 PASS canvas.toBlob(undefined); threw exception TypeError: Failed to execute 'toB
lob' on 'HTMLCanvasElement': The callback provided as parameter 1 is not a funct
ion.. | 8 PASS canvas.toBlob(undefined); threw exception TypeError: Failed to execute 'toB
lob' on 'HTMLCanvasElement': The callback provided as parameter 1 is not a funct
ion.. |
9 PASS canvas.toBlob(function() { finishOneAsyncCall(); }); did not throw exceptio
n. | 9 PASS canvas.toBlob(function() { finishOneAsyncCall(); }); did not throw exceptio
n. |
10 PASS canvas.toBlob(function(blob) { finishOneAsyncCall(); }, 'image/jpeg', 500)
did not throw exception. | 10 PASS canvas.toBlob(function(blob) { finishOneAsyncCall(); }, 'image/jpeg', 500)
did not throw exception. |
11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
12 | 12 |
13 TEST COMPLETE | 13 TEST COMPLETE |
14 | 14 |
OLD | NEW |