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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-path-context-fill-expected.txt

Issue 1476863003: bindings: Ignores the last undefined arguments when counting the args. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated layout tests. Created 5 years 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
OLDNEW
1 Series of tests to ensure fill() works with path and winding rule parameters. 1 Series of tests to ensure fill() works with path and winding rule parameters.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Testing fill() 6 Testing fill()
7 PASS pixelDataAtPoint()[0] is within 5 of 0 7 PASS pixelDataAtPoint()[0] is within 5 of 0
8 PASS pixelDataAtPoint()[1] is within 5 of 255 8 PASS pixelDataAtPoint()[1] is within 5 of 255
9 PASS pixelDataAtPoint()[2] is within 5 of 0 9 PASS pixelDataAtPoint()[2] is within 5 of 0
10 PASS pixelDataAtPoint()[3] is within 5 of 255 10 PASS pixelDataAtPoint()[3] is within 5 of 255
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 PASS ctx.fill(null, null) threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 43 PASS ctx.fill(null, null) threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
44 PASS ctx.fill(null, 'nonzero') threw exception TypeError: Failed to execute 'fil l' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 44 PASS ctx.fill(null, 'nonzero') threw exception TypeError: Failed to execute 'fil l' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
45 PASS ctx.fill(path, null) threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': The provided value 'null' is not a valid enum value of type CanvasFillRule.. 45 PASS ctx.fill(path, null) threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': The provided value 'null' is not a valid enum value of type CanvasFillRule..
46 PASS ctx.fill([], 'nonzero') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 46 PASS ctx.fill([], 'nonzero') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
47 PASS ctx.fill({}, 'nonzero') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 47 PASS ctx.fill({}, 'nonzero') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
48 PASS ctx.fill(null, 'evenodd') threw exception TypeError: Failed to execute 'fil l' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 48 PASS ctx.fill(null, 'evenodd') threw exception TypeError: Failed to execute 'fil l' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
49 PASS ctx.fill([], 'evenodd') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 49 PASS ctx.fill([], 'evenodd') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
50 PASS ctx.fill({}, 'evenodd') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 50 PASS ctx.fill({}, 'evenodd') threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
51 PASS ctx.fill('gazonk') threw exception TypeError: Failed to execute 'fill' on ' CanvasRenderingContext2D': The provided value 'gazonk' is not a valid enum value of type CanvasFillRule.. 51 PASS ctx.fill('gazonk') threw exception TypeError: Failed to execute 'fill' on ' CanvasRenderingContext2D': The provided value 'gazonk' is not a valid enum value of type CanvasFillRule..
52 PASS ctx.fill(path, 'gazonk') threw exception TypeError: Failed to execute 'fill ' on 'CanvasRenderingContext2D': The provided value 'gazonk' is not a valid enum value of type CanvasFillRule.. 52 PASS ctx.fill(path, 'gazonk') threw exception TypeError: Failed to execute 'fill ' on 'CanvasRenderingContext2D': The provided value 'gazonk' is not a valid enum value of type CanvasFillRule..
53 PASS ctx.fill(undefined) threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': The provided value 'undefined' is not a valid enum v alue of type CanvasFillRule..
54 PASS ctx.fill(undefined, undefined) threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 53 PASS ctx.fill(undefined, undefined) threw exception TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
55 PASS ctx.fill(undefined, path) threw exception TypeError: Failed to execute 'fil l' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 54 PASS ctx.fill(undefined, path) threw exception TypeError: Failed to execute 'fil l' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
56 PASS ctx.fill(path, undefined) threw exception TypeError: Failed to execute 'fil l' on 'CanvasRenderingContext2D': The provided value 'undefined' is not a valid enum value of type CanvasFillRule..
57 PASS successfullyParsed is true 55 PASS successfullyParsed is true
58 56
59 TEST COMPLETE 57 TEST COMPLETE
60 58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698