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

Side by Side 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, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 PASS context.fill() did not throw exception. 1 PASS context.fill() did not throw exception.
2 PASS context.fill('nonzero') did not throw exception. 2 PASS context.fill('nonzero') did not throw exception.
3 PASS context.fill('randomstring') threw exception TypeError: Failed to execute ' fill' on 'CanvasRenderingContext2D': parameter 1 ('randomstring') is not a valid enum value.. 3 PASS context.fill('randomstring') threw exception TypeError: Failed to execute ' fill' on 'CanvasRenderingContext2D': The provided value 'randomstring' is not a valid enum value..
4 PASS context.clip() did not throw exception. 4 PASS context.clip() did not throw exception.
5 PASS context.clip('nonzero') did not throw exception. 5 PASS context.clip('nonzero') did not throw exception.
6 PASS context.clip('randomstring') threw exception TypeError: Failed to execute ' clip' on 'CanvasRenderingContext2D': parameter 1 ('randomstring') is not a valid enum value.. 6 PASS context.clip('randomstring') threw exception TypeError: Failed to execute ' clip' on 'CanvasRenderingContext2D': The provided value 'randomstring' is not a valid enum value..
7 PASS context.isPointInPath(0, 0) did not throw exception. 7 PASS context.isPointInPath(0, 0) did not throw exception.
8 PASS context.isPointInPath(0, 0, 'nonzero') did not throw exception. 8 PASS context.isPointInPath(0, 0, 'nonzero') did not throw exception.
9 PASS context.isPointInPath(0, 0, 'randomstring') threw exception TypeError: Fail ed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('rando mstring') is not a valid enum value.. 9 PASS context.isPointInPath(0, 0, 'randomstring') threw exception TypeError: Fail ed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The provided value 'randomstring' is not a valid enum value..
10 PASS successfullyParsed is true 10 PASS successfullyParsed is true
11 11
12 TEST COMPLETE 12 TEST COMPLETE
13 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698