Index: third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-offset.js |
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-offset.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-offset.js |
deleted file mode 100644 |
index 493ad9aaccc092e189d4b7c6f8692fcc03727897..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-offset.js |
+++ /dev/null |
@@ -1,10 +0,0 @@ |
-description('This test checks invalid offsets on gradients.'); |
- |
-var gradient = document.createElement('canvas').getContext('2d').createLinearGradient(0, 0, 150, 0); |
- |
-// Check that invalid offset values throw. |
-shouldThrow("gradient.addColorStop(-1, '#000')"); |
-shouldThrow("gradient.addColorStop(2, '#000')"); |
-shouldThrow("gradient.addColorStop(Infinity, '#000')"); |
-shouldThrow("gradient.addColorStop(-Infinity, '#000')"); |
-shouldThrow("gradient.addColorStop(NaN, '#000')"); |