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

Unified Diff: LayoutTests/fast/canvas/canvas-createImageData-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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-currentTransform-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/canvas-createImageData-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-createImageData-expected.txt b/LayoutTests/fast/canvas/canvas-createImageData-expected.txt
index a2bcafe071ad18d6479f3e739dc162ac4af8bc8e..20e5e68a6dcffd1746053ba6830e78678f36ee60 100644
--- a/LayoutTests/fast/canvas/canvas-createImageData-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-createImageData-expected.txt
@@ -4,6 +4,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS ctx.createImageData(null) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
+PASS ctx.createImageData(undefined) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
+PASS ctx.createImageData([]) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
+PASS ctx.createImageData({}) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
PASS imageData.width is 100
PASS imageData.height is 50
PASS imageData.data[32] is 255
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-currentTransform-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698