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

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

Issue 2670353002: 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 arc and arcTo with negative radii.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS ctx.arc(10, 10, 5, 0, 1, false) did not throw exception.
7 PASS ctx.arc(10, 10, 0, 0, 1, false) did not throw exception.
8 PASS ctx.arc(10, 10, -5, 0, 1, false) threw exception IndexSizeError: Failed to execute 'arc' on 'CanvasRenderingContext2D': The radius provided (-5) is negativ e..
9 PASS ctx.arcTo(10, 10, 20, 20, 5) did not throw exception.
10 PASS ctx.arcTo(10, 10, 20, 20, 0) did not throw exception.
11 PASS ctx.arcTo(10, 10, 20, 20, -5) threw exception IndexSizeError: Failed to exe cute 'arcTo' on 'CanvasRenderingContext2D': The radius provided (-5) is negative ..
12 PASS path.arc(10, 10, 5, 0, 1, false) did not throw exception.
13 PASS path.arc(10, 10, 0, 0, 1, false) did not throw exception.
14 PASS path.arc(10, 10, -5, 0, 1, false) threw exception IndexSizeError: Failed to execute 'arc' on 'Path2D': The radius provided (-5) is negative..
15 PASS path.arcTo(10, 10, 20, 20, 5) did not throw exception.
16 PASS path.arcTo(10, 10, 20, 20, 0) did not throw exception.
17 PASS path.arcTo(10, 10, 20, 20, -5) threw exception IndexSizeError: Failed to ex ecute 'arcTo' on 'Path2D': The radius provided (-5) is negative..
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698