| Index: LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js
|
| diff --git a/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js b/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js
|
| index 2da69d93fa15ef92088fef9082a4b4af5f0c9533..8d6a1fc4e47156c084515b61a82c0ec8f975d85c 100644
|
| --- a/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js
|
| +++ b/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js
|
| @@ -67,6 +67,7 @@ function prepareTestScenario() {
|
| shouldThrow("ctx.clip(null)");
|
| shouldThrow("ctx.clip(null, null)");
|
| shouldThrow("ctx.clip(null, 'nonzero')");
|
| + shouldThrow("ctx.clip(path, null)");
|
| shouldThrow("ctx.clip([], 'nonzero')");
|
| shouldThrow("ctx.clip({}, 'nonzero')");
|
| shouldThrow("ctx.clip(null, 'evenodd')");
|
| @@ -74,6 +75,10 @@ function prepareTestScenario() {
|
| shouldThrow("ctx.clip({}, 'evenodd')");
|
| shouldThrow("ctx.clip('gazonk')");
|
| shouldThrow("ctx.clip(path, 'gazonk')");
|
| + shouldThrow("ctx.clip(undefined)");
|
| + shouldThrow("ctx.clip(undefined, undefined)");
|
| + shouldThrow("ctx.clip(undefined, 'nonzero')");
|
| + shouldThrow("ctx.clip(path, undefined)");
|
| }
|
|
|
| // Run test and allow variation of results.
|
|
|