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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.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-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 20c8a01186262f320a832f1b750afd472c1aad6b..df924d8fe36e66765798ed03e750bb9b9217294f 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-isPointInPath-winding.js
@@ -71,7 +71,6 @@ function prepareTestScenario() {
shouldThrow("ctx.isPointInPath(undefined, 50, 50, 'nonzero')");
shouldThrow("ctx.isPointInPath(undefined, 50, 50, 'evenodd')");
shouldThrow("ctx.isPointInPath(undefined, 50, 50, undefined)");
- shouldThrow("ctx.isPointInPath(path, 50, 50, undefined)");
shouldThrow("ctx.isPointInPath([], 50, 50)");
shouldThrow("ctx.isPointInPath([], 50, 50, 'nonzero')");
shouldThrow("ctx.isPointInPath([], 50, 50, 'evenodd')");

Powered by Google App Engine
This is Rietveld 408576698