Index: LayoutTests/fast/canvas/script-tests/canvas-path-addpath.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-path-addpath.js b/LayoutTests/fast/canvas/script-tests/canvas-path-addpath.js |
index ed7b69f8b3fcc9f1543577805ab41f5c366ff5cb..fa583c2b746325791ba9a2378820c4ac2321de5a 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-path-addpath.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-path-addpath.js |
@@ -74,8 +74,8 @@ p7.rect(0,0,100,100); |
var p8 = new Path2D(); |
p8.rect(100,100,100,100); |
p7.addPath(p8, null); |
-p7.addPath(p8, []); |
-p7.addPath(p8, {}); |
+shouldThrow("p7.addPath(p8, [])"); |
+shouldThrow("p7.addPath(p8, {})"); |
ctx.fillStyle = 'red'; |
ctx.currentPath = p7; |
ctx.fill(); |