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'; |