Index: LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt |
diff --git a/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt b/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt |
index 42e79bb41e1d8147d35ac2c92bd700d343e407d3..7488f09b3b3708c3896b031a2610e2fbbd5545f8 100644 |
--- a/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt |
+++ b/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt |
@@ -7,10 +7,10 @@ PASS ctx.setFillColor() threw exception TypeError: Failed to execute 'setFillCol |
PASS ctx.setFillColor('red') is undefined |
PASS ctx.setFillColor(0) is undefined |
PASS ctx.setFillColor(0, 0) is undefined |
-FAIL ctx.setFillColor(0, 0, 0) should throw "TypeError: Failed to execute 'setFillColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setFillColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+PASS ctx.setFillColor(0, 0, 0) threw exception TypeError: Failed to execute 'setFillColor' on 'CanvasRenderingContext2D': Valid arities are: [1, 2, 4, 5], but 3 arguments provided.. |
PASS ctx.setFillColor(0, 0, 0, 0) is undefined |
PASS ctx.setFillColor(0, 0, 0, 0, 0) is undefined |
-FAIL ctx.setFillColor(0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'setFillColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setFillColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+PASS ctx.setFillColor(0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'setFillColor' on 'CanvasRenderingContext2D': Valid arities are: [1, 2, 4, 5], but 6 arguments provided.. |
PASS successfullyParsed is true |
TEST COMPLETE |