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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius-expected.txt

Issue 2678493002: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Addressing comments 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 Tests CanvasPathMethods ellipse with negative radii.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS ctx.ellipse(10, 10, 10, 5, 0, 0, 1, false) did not throw exception.
7 PASS ctx.ellipse(10, 10, 10, 0, 0, 0, 1, false) did not throw exception.
8 PASS ctx.ellipse(10, 10, -0, 5, 0, 0, 1, false) did not throw exception.
9 PASS ctx.ellipse(10, 10, -2, 5, 0, 0, 1, false) threw exception IndexSizeError: Failed to execute 'ellipse' on 'CanvasRenderingContext2D': The major-axis radius provided (-2) is negative..
10 PASS ctx.ellipse(10, 10, 0, -1.5, 0, 0, 1, false) threw exception IndexSizeError : Failed to execute 'ellipse' on 'CanvasRenderingContext2D': The minor-axis radi us provided (-1.5) is negative..
11 PASS ctx.ellipse(10, 10, -2, -5, 0, 0, 1, false) threw exception IndexSizeError: Failed to execute 'ellipse' on 'CanvasRenderingContext2D': The major-axis radiu s provided (-2) is negative..
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698