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

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

Issue 860353002: IDL: Add toRestricted{Float,Double}() helpers to V8Binding.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add FIXME comment Created 5 years, 11 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 7000c72da7752eb9de480ade9e9a3cd73b774a75..316d4f0dacd92f136ba1d0a4e7f12bd13407d936 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 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 ctx.createImageData(Infinity, Infinity) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
+PASS ctx.createImageData(Infinity, 10) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
+PASS ctx.createImageData(-Infinity, 10) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
+PASS ctx.createImageData(10, Infinity) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
+PASS ctx.createImageData(10, -Infinity) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
+PASS ctx.createImageData(NaN, 10) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
+PASS ctx.createImageData(10, NaN) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-getImageData-invalid-expected.txt » ('j') | Source/bindings/core/v8/V8Binding.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698