Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/canvas-toBlob/canvas-toBlob-invalid-expected.txt

Issue 2189733003: Remove virtual test suits virtual/threaded/fast/canvas-toBlob (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Test the handling of invalid arguments in canvas toBlob().
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
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..
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.
10 PASS canvas.toBlob(function(blob) { finishOneAsyncCall(); }, 'image/jpeg', 500) did not throw exception.
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698