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

Unified Diff: LayoutTests/fast/canvas/winding-enumeration-expected.txt

Issue 1047993002: bindings: Add validation for enum Sequence or Array (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/winding-enumeration-expected.txt
diff --git a/LayoutTests/fast/canvas/winding-enumeration-expected.txt b/LayoutTests/fast/canvas/winding-enumeration-expected.txt
index 9f892abb4485c21f0c119dac7e6e5b9ebfbf3566..d32689b803b0f6f6160910825a4f87612f5f5c41 100644
--- a/LayoutTests/fast/canvas/winding-enumeration-expected.txt
+++ b/LayoutTests/fast/canvas/winding-enumeration-expected.txt
@@ -1,12 +1,12 @@
PASS context.fill() did not throw exception.
PASS context.fill('nonzero') did not throw exception.
-PASS context.fill('randomstring') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 ('randomstring') is not a valid enum value..
+PASS context.fill('randomstring') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': The provided value 'randomstring' is not a valid enum value..
PASS context.clip() did not throw exception.
PASS context.clip('nonzero') did not throw exception.
-PASS context.clip('randomstring') threw exception TypeError: Failed to execute 'clip' on 'CanvasRenderingContext2D': parameter 1 ('randomstring') is not a valid enum value..
+PASS context.clip('randomstring') threw exception TypeError: Failed to execute 'clip' on 'CanvasRenderingContext2D': The provided value 'randomstring' is not a valid enum value..
PASS context.isPointInPath(0, 0) did not throw exception.
PASS context.isPointInPath(0, 0, 'nonzero') did not throw exception.
-PASS context.isPointInPath(0, 0, 'randomstring') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('randomstring') is not a valid enum value..
+PASS context.isPointInPath(0, 0, 'randomstring') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The provided value 'randomstring' is not a valid enum value..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698