Index: LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js b/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
index 199725ba63429a9c720764b7199de9e595c9d15c..4905abc48a478239b655d5bbe53486d28fcd3981 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
@@ -47,6 +47,7 @@ function prepareTestScenario() { |
// Test exception cases. |
shouldThrow("ctx.stroke(null)"); |
+ shouldThrow("ctx.stroke(undefined)"); |
shouldThrow("ctx.stroke([])"); |
shouldThrow("ctx.stroke({})"); |
} |