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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/linearGradient-infinite-values-expected.txt

Issue 2703803002: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Addressing comments Created 3 years, 9 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 This test checks createLinearGradient with infinite values
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS ctx.createLinearGradient(0, 0, 100, NaN) threw exception TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided do uble value is non-finite..
7 PASS ctx.createLinearGradient(0, 0, 100, Infinity) threw exception TypeError: Fa iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provid ed double value is non-finite..
8 PASS ctx.createLinearGradient(0, 0, 100, -Infinity) threw exception TypeError: F ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provi ded double value is non-finite..
9 PASS ctx.createLinearGradient(0, 0, NaN, 100) threw exception TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided do uble value is non-finite..
10 PASS ctx.createLinearGradient(0, 0, Infinity, 100) threw exception TypeError: Fa iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provid ed double value is non-finite..
11 PASS ctx.createLinearGradient(0, 0, -Infinity, 100) threw exception TypeError: F ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provi ded double value is non-finite..
12 PASS ctx.createLinearGradient(0, NaN, 100, 100) threw exception TypeError: Faile d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
13 PASS ctx.createLinearGradient(0, Infinity, 100, 100) threw exception TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The prov ided double value is non-finite..
14 PASS ctx.createLinearGradient(0, -Infinity, 100, 100) threw exception TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The pro vided double value is non-finite..
15 PASS ctx.createLinearGradient(NaN, 0, 100, 100) threw exception TypeError: Faile d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
16 PASS ctx.createLinearGradient(Infinity, 0, 100, 100) threw exception TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The prov ided double value is non-finite..
17 PASS ctx.createLinearGradient(-Infinity, 0, 100, 100) threw exception TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The pro vided double value is non-finite..
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698