Index: LayoutTests/fast/canvas/script-tests/canvas-isPointInStroke-with-path.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-isPointInStroke-with-path.js b/LayoutTests/fast/canvas/script-tests/canvas-isPointInStroke-with-path.js |
index 84764b025737f95fd033358e44ba9868b95e883a..383b00d0201a9da26e73fc28b1c64d4e75cc52f8 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-isPointInStroke-with-path.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-isPointInStroke-with-path.js |
@@ -30,8 +30,9 @@ shouldBeFalse("ctx.isPointInStroke(path,NaN,122)"); |
shouldBeFalse("ctx.isPointInStroke(path,18,NaN)"); |
debug(""); |
-debug("Check null and invalid type"); |
+debug("Check invalid type"); |
shouldThrow("ctx.isPointInStroke(null,70,20)"); |
+shouldThrow("ctx.isPointInStroke(undefined,70,20)"); |
shouldThrow("ctx.isPointInStroke([],20,70)"); |
shouldThrow("ctx.isPointInStroke({},120,70)"); |
debug(""); |