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

Unified Diff: LayoutTests/fast/canvas/canvas-putImageData-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-putImageData-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-putImageData-expected.txt b/LayoutTests/fast/canvas/canvas-putImageData-expected.txt
index da14d69f5fa263705c7a0c2b931c919004599ffc..d9945f738ce7f1516c3a800f1deb2a6a4dcd7f77 100644
--- a/LayoutTests/fast/canvas/canvas-putImageData-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-putImageData-expected.txt
@@ -163,6 +163,8 @@ PASS context.putImageData(buffer, 0, 0, undefined, 0, 0, 0) threw exception Type
PASS context.putImageData(buffer, 0, 0, 0, undefined, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 5 is non-finite..
PASS context.putImageData(buffer, 0, 0, 0, 0, undefined, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 6 is non-finite..
PASS context.putImageData(buffer, 0, 0, 0, 0, 0, undefined) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 7 is non-finite..
+PASS context.putImageData(null, 0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
+PASS context.putImageData(undefined, 0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/canvas/canvas-putImageData.js ('k') | LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698