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..d8d87935be0f2ccd6f163d5528767466dbab931a |
--- /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 it does not crash in debug.</p> |
+<script> |
+var ctx = document.getElementById('my_canvas').getContext('2d'); |
+ctx.setStrokeColor("ButtonFace", 1); |
+ |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |