| Index: LayoutTests/fast/canvas/draw-system-focus-ring.html
|
| diff --git a/LayoutTests/fast/canvas/draw-system-focus-ring.html b/LayoutTests/fast/canvas/draw-system-focus-ring.html
|
| index 4e9fb40c3d75d11dd472a7b97feae5a27c6f4ed5..5204f5c336ebf3ebe08eaae184918a919b8bb29b 100644
|
| --- a/LayoutTests/fast/canvas/draw-system-focus-ring.html
|
| +++ b/LayoutTests/fast/canvas/draw-system-focus-ring.html
|
| @@ -15,10 +15,16 @@ if (window.testRunner)
|
| document.getElementById("button1").focus();
|
|
|
| var canvas = document.getElementById("canvas").getContext("2d");
|
| +
|
| +shouldNotThrow('canvas.drawSystemFocusRing(null);');
|
| +shouldThrow('canvas.drawSystemFocusRing();');
|
| +
|
| canvas.beginPath();
|
| canvas.rect(50, 50, 200, 100);
|
| canvas.fillStyle = "#ccf";
|
| canvas.fill();
|
| +// re-test null case after having defined a path (regression test for crbug.com/353248)
|
| +shouldNotThrow('canvas.drawSystemFocusRing(null);');
|
| canvas.drawSystemFocusRing(document.getElementById("button1"));
|
|
|
| canvas.beginPath();
|
|
|