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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
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 NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source wi dth is infinite.. 6 PASS ctx.createImageData(Infinity, Infinity) threw exception TypeError: Failed t o execute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite..
7 PASS ctx.createImageData(Infinity, 10) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is infinite.. 7 PASS ctx.createImageData(Infinity, 10) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-fi nite..
8 PASS ctx.createImageData(-Infinity, 10) threw exception NotSupportedError: Faile d to execute 'createImageData' on 'CanvasRenderingContext2D': The source width i s infinite.. 8 PASS ctx.createImageData(-Infinity, 10) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-f inite..
9 PASS ctx.createImageData(10, Infinity) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height i s infinite.. 9 PASS ctx.createImageData(10, Infinity) threw exception TypeError: Failed to exec ute 'createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-fi nite..
10 PASS ctx.createImageData(10, -Infinity) threw exception NotSupportedError: Faile d to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is infinite.. 10 PASS ctx.createImageData(10, -Infinity) threw exception TypeError: Failed to exe cute 'createImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-f inite..
11 PASS ctx.createImageData(NaN, 10) threw exception NotSupportedError: Failed to e xecute 'createImageData' on 'CanvasRenderingContext2D': The source width is not a number.. 11 PASS ctx.createImageData(NaN, 10) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite. .
12 PASS ctx.createImageData(10, NaN) threw exception NotSupportedError: Failed to e xecute 'createImageData' on 'CanvasRenderingContext2D': The source height is not a number.. 12 PASS ctx.createImageData(10, NaN) threw exception TypeError: Failed to execute ' createImageData' on 'CanvasRenderingContext2D': float parameter 2 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 | « 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