Index: LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.js b/LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.js |
index 78f7d02551bb157f65597897ea923d8d71772304..7ed85ecfe0782537222c13252e003101b5a02539 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.js |
@@ -56,6 +56,11 @@ function prepareTestScenario() { |
shouldBeFalse("ctx.isPointInPath(path, 50, 50, 'evenodd')"); |
debug(''); |
+ debug('Testing invalid enumeration isPointInPath (w/ and w/o Path object'); |
+ shouldThrow("ctx.isPointInPath(path, 50, 50, 'gazonk')"); |
+ shouldThrow("ctx.isPointInPath(50, 50, 'gazonk')"); |
+ debug(''); |
+ |
debug('Testing null isPointInPath with Path object'); |
path = null; |
shouldThrow("ctx.isPointInPath(null, 50, 50)"); |