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

Unified Diff: LayoutTests/fast/canvas/canvas-overloads-setStrokeColor-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-setStrokeColor-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-overloads-setStrokeColor-expected.txt b/LayoutTests/fast/canvas/canvas-overloads-setStrokeColor-expected.txt
index 0c48451938fbf3913154b2b5ec87c6874d80299a..30e79631c0c7e998e90f141e84276f37a1e0bee6 100644
--- a/LayoutTests/fast/canvas/canvas-overloads-setStrokeColor-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-overloads-setStrokeColor-expected.txt
@@ -7,10 +7,10 @@ PASS ctx.setStrokeColor() threw exception TypeError: Failed to execute 'setStrok
PASS ctx.setStrokeColor('red') is undefined
PASS ctx.setStrokeColor(0) is undefined
PASS ctx.setStrokeColor(0, 0) is undefined
-PASS ctx.setStrokeColor(0, 0, 0) threw exception TypeError: Type error.
+FAIL ctx.setStrokeColor(0, 0, 0) should throw "TypeError: Failed to execute 'setStrokeColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setStrokeColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS ctx.setStrokeColor(0, 0, 0, 0) is undefined
PASS ctx.setStrokeColor(0, 0, 0, 0, 0) is undefined
-PASS ctx.setStrokeColor(0, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
+FAIL ctx.setStrokeColor(0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'setStrokeColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'setStrokeColor' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/canvas/canvas-overloads-setShadow-expected.txt ('k') | LayoutTests/fast/canvas/canvas-putImageData.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698