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

Unified Diff: LayoutTests/fast/canvas/canvas-createImageData-expected.txt

Issue 237063003: Add StrictTypeChecking to CRC2D ImageData APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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/canvas-createImageData-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-createImageData-expected.txt b/LayoutTests/fast/canvas/canvas-createImageData-expected.txt
index a356932d82f78cb7f46c6e1d1f42f17147e1c589..ad6c986df569de5b06bc8373f51ba4d53f6fefa0 100644
--- a/LayoutTests/fast/canvas/canvas-createImageData-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-createImageData-expected.txt
@@ -3,7 +3,7 @@ Test canvas createImageData()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ctx.createImageData(null) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid ImageData object..
+PASS ctx.createImageData(null) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS imageData.width is 100
PASS imageData.height is 50
PASS imageData.data[32] is 255
« no previous file with comments | « LayoutTests/canvas/philip/tests/2d.imageData.create1.zero.html ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698