| Index: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js
|
| deleted file mode 100644
|
| index 3c9d525d4ae87a6238e65e1c334bfdf15f86ebcf..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -description("Test the behavior of CanvasRenderingContext2D.drawImage() when called with different numbers of arguments.");
|
| -
|
| -var ctx = document.createElement('canvas').getContext('2d');
|
| -
|
| -var imageElement = document.createElement("img");
|
| -shouldThrow("ctx.drawImage()");
|
| -shouldThrow("ctx.drawImage(imageElement)");
|
| -shouldThrow("ctx.drawImage(imageElement, 0)");
|
| -shouldBe("ctx.drawImage(imageElement, 0, 0)", "undefined");
|
| -shouldThrow("ctx.drawImage(imageElement, 0, 0, 0)");
|
| -shouldBe("ctx.drawImage(imageElement, 0, 0, 0, 0)", "undefined");
|
| -shouldThrow("ctx.drawImage(imageElement, 0, 0, 0, 0, 0)");
|
| -shouldThrow("ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0)");
|
| -shouldThrow("ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0)");
|
| -shouldBe("ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
|
| -shouldBe("ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
|
| -shouldBe("ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
|
| -
|
| -var canvasElement = document.createElement("canvas");
|
| -shouldThrow("ctx.drawImage(canvasElement)");
|
| -shouldThrow("ctx.drawImage(canvasElement, 0)");
|
| -shouldBe("ctx.drawImage(canvasElement, 0, 0)", "undefined");
|
| -shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0)");
|
| -shouldBe("ctx.drawImage(canvasElement, 0, 0, 0, 0)", "undefined");
|
| -shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0)");
|
| -shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0)");
|
| -shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0)");
|
| -shouldBe("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
|
| -shouldBe("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
|
| -shouldBe("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
|
|
|