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

Unified Diff: LayoutTests/fast/canvas/draw-focus-if-needed-expected.txt

Issue 237063002: Add StrictTypeChecking to CRC2D.{drawFocusIfNeeded,drawCustomFocusRing} (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/draw-focus-if-needed-expected.txt
diff --git a/LayoutTests/fast/canvas/draw-focus-if-needed-expected.txt b/LayoutTests/fast/canvas/draw-focus-if-needed-expected.txt
index 6ea5669e6be7ee5f82ddfc3d8a83e3f649bd7b84..d7fa08a7af08d56c21fe18b278bf18c54099f5c3 100644
--- a/LayoutTests/fast/canvas/draw-focus-if-needed-expected.txt
+++ b/LayoutTests/fast/canvas/draw-focus-if-needed-expected.txt
@@ -1,6 +1,6 @@
-PASS canvas.drawFocusIfNeeded(null); did not throw exception.
+PASS canvas.drawFocusIfNeeded(null); threw exception TypeError: Failed to execute 'drawFocusIfNeeded' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Element'..
PASS canvas.drawFocusIfNeeded(); threw exception TypeError: Failed to execute 'drawFocusIfNeeded' on 'CanvasRenderingContext2D': 1 argument required, but only 0 present..
-PASS canvas.drawFocusIfNeeded(null); did not throw exception.
+PASS canvas.drawFocusIfNeeded(null); threw exception TypeError: Failed to execute 'drawFocusIfNeeded' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Element'..
PASS data[0] != 0 || data[1] != 0 || data[2] != 0 is true
PASS data[0] == 0 && data[1] == 0 && data[2] == 0 is true
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698