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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-getImageData-invalid-expected.txt

Issue 2674933002: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Created 3 years, 10 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 getImageData().
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS ctx.getImageData(NaN, 10, 10, 10) threw exception TypeError: Failed to exec ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n on-finite..
7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception TypeError: Failed to exec ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n on-finite..
8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception TypeError: Failed to exec ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n on-finite..
9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception TypeError: Failed to exec ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n on-finite..
10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite..
11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite..
12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite..
13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite..
14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception TypeError: Failed t o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu e is non-finite..
15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception TypeError: Failed t o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu e is non-finite..
16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception TypeError: Failed t o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu e is non-finite..
17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception TypeError: Failed t o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu e is non-finite..
18 PASS ctx.getImageData(10, 10, 0, 10) threw exception IndexSizeError: Failed to e xecute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0..
19 PASS ctx.getImageData(10, 10, 10, 0) threw exception IndexSizeError: Failed to e xecute 'getImageData' on 'CanvasRenderingContext2D': The source height is 0..
20 PASS successfullyParsed is true
21
22 TEST COMPLETE
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698