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

Unified Diff: LayoutTests/fast/canvas/canvas-overloads-setShadow-expected.txt

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. Created 7 years, 1 month 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/canvas-overloads-setShadow-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-overloads-setShadow-expected.txt b/LayoutTests/fast/canvas/canvas-overloads-setShadow-expected.txt
index 2f1ee318c0e7a20dbdb69d3bbe8d3e59a87b5803..51298747b4a66675f2b66c26fa617ea16fc1e0f3 100644
--- a/LayoutTests/fast/canvas/canvas-overloads-setShadow-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-overloads-setShadow-expected.txt
@@ -9,14 +9,14 @@ PASS ctx.setShadow(0, 0) threw exception TypeError: Failed to execute 'setShadow
PASS ctx.setShadow(0, 0, 0) is undefined
PASS ctx.setShadow(0, 0, 0, 0) is undefined
PASS ctx.setShadow(0, 0, 0, 0, 0) is undefined
-PASS ctx.setShadow(0, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
+FAIL ctx.setShadow(0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS ctx.setShadow(0, 0, 0, 0, 'red') is undefined
-PASS ctx.setShadow(0, 0, 0, 0, 'red', 0) threw exception TypeError: Type error.
+FAIL ctx.setShadow(0, 0, 0, 0, 'red', 0) should throw "TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS ctx.setShadow(0, 0, 0, 0, 'red', 0, 0) is undefined
-PASS ctx.setShadow(0, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
+FAIL ctx.setShadow(0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0) is undefined
PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0) is undefined
-PASS ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
+FAIL ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setShadow' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698