Index: LayoutTests/canvas/stroke-with-system-color-and-alpha-crash.html |
diff --git a/LayoutTests/canvas/stroke-with-system-color-and-alpha-crash.html b/LayoutTests/canvas/stroke-with-system-color-and-alpha-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..25fe7078fd92c1d221d41aaa541567d195632f80 |
--- /dev/null |
+++ b/LayoutTests/canvas/stroke-with-system-color-and-alpha-crash.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<canvas width='800px' height='600px' id='my_canvas'></canvas> |
+<p>PASS if Blink does not crashes in debug.</p> |
Stephen White
2014/11/19 21:10:08
Nits: Blink -> it, crashes -> crash
|
+<script> |
+var ctx = document.getElementById('my_canvas').getContext('2d'); |
+ctx.setStrokeColor("ButtonFace", 1); |
+ |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |