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

Unified Diff: LayoutTests/fast/canvas/canvas-path-context-stroke-expected.txt

Issue 289283002: Add some layout tests about behavior on undefined and null. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 7 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/canvas-path-context-stroke-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-path-context-stroke-expected.txt b/LayoutTests/fast/canvas/canvas-path-context-stroke-expected.txt
index c9a4787b1e34bb2ebdc83f8e830868a1982a542c..395ad769d614ada04b69835d7db2c00ed0b8dc5a 100644
--- a/LayoutTests/fast/canvas/canvas-path-context-stroke-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-path-context-stroke-expected.txt
@@ -16,6 +16,7 @@ PASS pixelDataAtPoint()[1] is within 5 of 255
PASS pixelDataAtPoint()[2] is within 5 of 0
PASS pixelDataAtPoint()[3] is within 5 of 255
PASS ctx.stroke(null) threw exception TypeError: Failed to execute 'stroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
+PASS ctx.stroke(undefined) threw exception TypeError: Failed to execute 'stroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
PASS ctx.stroke([]) threw exception TypeError: Failed to execute 'stroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
PASS ctx.stroke({}) threw exception TypeError: Failed to execute 'stroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/canvas/canvas-path-context-fill-expected.txt ('k') | LayoutTests/fast/canvas/canvas-pattern-behaviour.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698