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

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

Issue 178673002: Rename Path to Path2D (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@path
Patch Set: Merge to head which includes isPoint and addPath changes. Created 6 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
1 Tests CanvasPathMethods arc and arcTo with negative radii. 1 Tests CanvasPathMethods arc and arcTo with negative radii.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS ctx.arc(10, 10, 5, 0, 1, false) did not throw exception. 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. 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.. 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. 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. 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 .. 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. 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. 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 'Path': The radius provided (-5) is negative.. 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. 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. 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 'Path': The radius provided (-5) is negative.. 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 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-arc-negative-radius.html ('k') | LayoutTests/fast/canvas/canvas-currentPath-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698