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

Unified Diff: LayoutTests/fast/canvas/canvas-2d-imageData-create-nonfinite-expected.txt

Issue 259773008: Add support for type checking of floating point arguments as [TypeChecking=Unrestricted] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove outdated test 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-2d-imageData-create-nonfinite-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-2d-imageData-create-nonfinite-expected.txt b/LayoutTests/fast/canvas/canvas-2d-imageData-create-nonfinite-expected.txt
index 58907b0f1610fbcb82b069edee23e4d19bc3891a..7000c72da7752eb9de480ade9e9a3cd73b774a75 100644
--- a/LayoutTests/fast/canvas/canvas-2d-imageData-create-nonfinite-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-2d-imageData-create-nonfinite-expected.txt
@@ -3,13 +3,13 @@ Test the argument bounds of canvas createImageData.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ctx.createImageData(Infinity, Infinity) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is infinite..
-PASS ctx.createImageData(Infinity, 10) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is infinite..
-PASS ctx.createImageData(-Infinity, 10) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is infinite..
-PASS ctx.createImageData(10, Infinity) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is infinite..
-PASS ctx.createImageData(10, -Infinity) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is infinite..
-PASS ctx.createImageData(NaN, 10) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is not a number..
-PASS ctx.createImageData(10, NaN) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is not a number..
+PASS ctx.createImageData(Infinity, Infinity) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite..
+PASS ctx.createImageData(Infinity, 10) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite..
+PASS ctx.createImageData(-Infinity, 10) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite..
+PASS ctx.createImageData(10, Infinity) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-finite..
+PASS ctx.createImageData(10, -Infinity) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-finite..
+PASS ctx.createImageData(NaN, 10) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite..
+PASS ctx.createImageData(10, NaN) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-finite..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/canvas/philip/tests/2d.imageData.create2.nonfinite-expected.txt ('k') | Source/bindings/IDLExtendedAttributes.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698