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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/linearGradient-infinite-values.js

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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-with-clip.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 description(
2 'This test checks createLinearGradient with infinite values'
3 );
4
5 var ctx = document.createElement('canvas').getContext('2d');
6
7 shouldThrow("ctx.createLinearGradient(0, 0, 100, NaN)");
8 shouldThrow("ctx.createLinearGradient(0, 0, 100, Infinity)");
9 shouldThrow("ctx.createLinearGradient(0, 0, 100, -Infinity)");
10 shouldThrow("ctx.createLinearGradient(0, 0, NaN, 100)");
11 shouldThrow("ctx.createLinearGradient(0, 0, Infinity, 100)");
12 shouldThrow("ctx.createLinearGradient(0, 0, -Infinity, 100)");
13 shouldThrow("ctx.createLinearGradient(0, NaN, 100, 100)");
14 shouldThrow("ctx.createLinearGradient(0, Infinity, 100, 100)");
15 shouldThrow("ctx.createLinearGradient(0, -Infinity, 100, 100)");
16 shouldThrow("ctx.createLinearGradient(NaN, 0, 100, 100)");
17 shouldThrow("ctx.createLinearGradient(Infinity, 0, 100, 100)");
18 shouldThrow("ctx.createLinearGradient(-Infinity, 0, 100, 100)");
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-with-clip.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698