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

Unified Diff: LayoutTests/fast/canvas/arc-crash.html

Issue 14298022: Add support for new canvas ellipse method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Match addEllipse impl to addArc style. Add 4 more layout tests. Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/arc360.html » ('j') | Source/core/html/canvas/CanvasPathMethods.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/arc-crash.html
diff --git a/LayoutTests/fast/canvas/arc-crash.html b/LayoutTests/fast/canvas/arc-crash.html
index d5ac97d0aff315c209762b04bcd35f7b8f6df733..4673cc7c945627ea40bcd0cd90679dc3fc3d8d6d 100644
--- a/LayoutTests/fast/canvas/arc-crash.html
+++ b/LayoutTests/fast/canvas/arc-crash.html
@@ -13,17 +13,17 @@ function runTests() {
context.fillStyle = '#f00';
context.fillRect(0, 0, canvas.width, canvas.height);
try {
- context.arc(10, 10, 20, 20, 1.0/0.0, true);
- context.arc(10, 10, 20, 20, 1.0/0.0, true);
- context.arc(10, 10, 1.0/0.0, 20, 20, true);
- context.arc(10, 10, 20, 1.0/0.0, 20, true);
- context.arc(10, 1.0/0.0, 10, 20, 20, true);
- context.arc(1.0/0.0, 10, 10, 20, 20, true);
- context.arc(10, 10, 20, 20, 1.0/0.0, false);
- context.arc(10, 10, 1.0/0.0, 20, 20, false);
- context.arc(10, 10, 20, 1.0/0.0, 20, false);
- context.arc(10, 1.0/0.0, 10, 20, 20, false);
- context.arc(1.0/0.0, 10, 10, 20, 20, false);
+ context.arc(10, 10, 20, 20, Math.Infinite, true);
+ context.arc(10, 10, 20, 20, Math.Infinite, true);
+ context.arc(10, 10, Math.Infinite, 20, 20, true);
+ context.arc(10, 10, 20, Math.Infinite, 20, true);
+ context.arc(10, Math.Infinite, 10, 20, 20, true);
+ context.arc(Math.Infinite, 10, 10, 20, 20, true);
+ context.arc(10, 10, 20, 20, Math.Infinite, false);
+ context.arc(10, 10, Math.Infinite, 20, 20, false);
+ context.arc(10, 10, 20, Math.Infinite, 20, false);
+ context.arc(10, Math.Infinite, 10, 20, 20, false);
+ context.arc(Math.Infinite, 10, 10, 20, 20, false);
} catch (e) {
}
context.fillStyle = '#0f0';
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/arc360.html » ('j') | Source/core/html/canvas/CanvasPathMethods.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698