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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Test the argument bounds of canvas createImageData. 1 Test the argument bounds of canvas createImageData.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS ctx.createImageData(Infinity, Infinity) threw exception TypeError: Failed t o execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite.. 6 PASS ctx.createImageData(Infinity, Infinity) threw exception TypeError: Failed t o execute 'createImageData' on 'CanvasRenderingContext2D': The provided float va lue is non-finite..
7 PASS ctx.createImageData(Infinity, 10) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-fi nite.. 7 PASS ctx.createImageData(Infinity, 10) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
8 PASS ctx.createImageData(-Infinity, 10) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-f inite.. 8 PASS ctx.createImageData(-Infinity, 10) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': The provided float value i s non-finite..
9 PASS ctx.createImageData(10, Infinity) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-fi nite.. 9 PASS ctx.createImageData(10, Infinity) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': The provided float value is non-finite..
10 PASS ctx.createImageData(10, -Infinity) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-f inite.. 10 PASS ctx.createImageData(10, -Infinity) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': The provided float value i s non-finite..
11 PASS ctx.createImageData(NaN, 10) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite. . 11 PASS ctx.createImageData(NaN, 10) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': The provided float value is non- finite..
12 PASS ctx.createImageData(10, NaN) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-finite. . 12 PASS ctx.createImageData(10, NaN) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': The provided float value is non- finite..
13 PASS successfullyParsed is true 13 PASS successfullyParsed is true
14 14
15 TEST COMPLETE 15 TEST COMPLETE
16 16
OLDNEW
« 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