Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8d6a1fc4e47156c084515b61a82c0ec8f975d85c..9135da34307db990c6c572537a0b9243cb5fb9da 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js
@@ -75,10 +75,8 @@ 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.

Powered by Google App Engine
This is Rietveld 408576698