Index: LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js |
deleted file mode 100644 |
index d7bbd7c63fdf6c75ee03f606823606971829b480..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js |
+++ /dev/null |
@@ -1,12 +0,0 @@ |
-description("Test the behavior of CanvasRenderingContext2D.strokeRect() when called with different numbers of arguments."); |
- |
-var ctx = document.createElement('canvas').getContext('2d'); |
- |
-var TypeErrorNotEnoughArguments = "TypeError: Not enough arguments"; |
- |
-shouldThrow("ctx.strokeRect()", "TypeErrorNotEnoughArguments"); |
-shouldThrow("ctx.strokeRect(0)", "TypeErrorNotEnoughArguments"); |
-shouldThrow("ctx.strokeRect(0, 0)", "TypeErrorNotEnoughArguments"); |
-shouldThrow("ctx.strokeRect(0, 0, 0)", "TypeErrorNotEnoughArguments"); |
-shouldBe("ctx.strokeRect(0, 0, 0, 0)", "undefined"); |
-shouldBe("ctx.strokeRect(0, 0, 0, 0, 0)", "undefined"); |