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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-imageData-create-nonfinite-expected.txt

Issue 2671853004: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Corrections 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 argument bounds of canvas createImageData.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS ctx.createImageData(Infinity, Infinity) threw exception TypeError: Failed t o execute 'createImageData' on 'CanvasRenderingContext2D': The provided double v alue is non-finite..
7 PASS ctx.createImageData(Infinity, 10) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': The provided double value i s non-finite..
8 PASS ctx.createImageData(-Infinity, 10) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite..
9 PASS ctx.createImageData(10, Infinity) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': The provided double value i s non-finite..
10 PASS ctx.createImageData(10, -Infinity) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite..
11 PASS ctx.createImageData(NaN, 10) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': The provided double value is non -finite..
12 PASS ctx.createImageData(10, NaN) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': The provided double value is non -finite..
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698