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

Side by Side Diff: LayoutTests/fast/canvas/canvas-putImageData-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 This test ensures that putImageData works correctly, the end result should be a 100x100px green square. 1 This test ensures that putImageData works correctly, the end result should be a 100x100px green square.
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 getPixel(0,0) is [0,128,0,255] 6 PASS getPixel(0,0) is [0,128,0,255]
7 PASS getPixel(25,25) is [0,128,0,255] 7 PASS getPixel(25,25) is [0,128,0,255]
8 PASS getPixel(49,0) is [0,128,0,255] 8 PASS getPixel(49,0) is [0,128,0,255]
9 PASS getPixel(0,49) is [0,128,0,255] 9 PASS getPixel(0,49) is [0,128,0,255]
10 PASS getPixel(49,49) is [0,128,0,255] 10 PASS getPixel(49,49) is [0,128,0,255]
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 PASS getPixel(10,10) is [0,128,0,255] 138 PASS getPixel(10,10) is [0,128,0,255]
139 PASS getPixel(1,1) is [0,128,0,255] 139 PASS getPixel(1,1) is [0,128,0,255]
140 PASS getPixel(10,10) is [0,128,0,255] 140 PASS getPixel(10,10) is [0,128,0,255]
141 PASS getPixel(1,1) is [0,128,0,255] 141 PASS getPixel(1,1) is [0,128,0,255]
142 PASS getPixel(9,9) is [0,128,0,255] 142 PASS getPixel(9,9) is [0,128,0,255]
143 PASS getPixel(1,1) is [0,128,0,255] 143 PASS getPixel(1,1) is [0,128,0,255]
144 PASS getPixel(9,9) is [0,128,0,255] 144 PASS getPixel(9,9) is [0,128,0,255]
145 PASS getPixel(1,1) is [0,128,0,255] 145 PASS getPixel(1,1) is [0,128,0,255]
146 PASS getPixel(9,9) is [0,128,0,255] 146 PASS getPixel(9,9) is [0,128,0,255]
147 PASS context.putImageData({}, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Image Data'.. 147 PASS context.putImageData({}, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Image Data'..
148 PASS context.putImageData(buffer, NaN, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-finite.. 148 PASS context.putImageData(buffer, NaN, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided fl oat value is non-finite..
149 PASS context.putImageData(buffer, 0, NaN, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 3 is non-finite.. 149 PASS context.putImageData(buffer, 0, NaN, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided fl oat value is non-finite..
150 PASS context.putImageData(buffer, 0, 0, NaN, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 4 is non-finite.. 150 PASS context.putImageData(buffer, 0, 0, NaN, 0, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided fl oat value is non-finite..
151 PASS context.putImageData(buffer, 0, 0, 0, NaN, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 5 is non-finite.. 151 PASS context.putImageData(buffer, 0, 0, 0, NaN, 0, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided fl oat value is non-finite..
152 PASS context.putImageData(buffer, 0, 0, 0, 0, NaN, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 6 is non-finite.. 152 PASS context.putImageData(buffer, 0, 0, 0, 0, NaN, 0) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided fl oat value is non-finite..
153 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, NaN) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float parameter 7 is non-finite.. 153 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, NaN) threw exception TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provided fl oat value is non-finite..
154 PASS context.putImageData(buffer, Infinity, 0, 0, 0, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float para meter 2 is non-finite.. 154 PASS context.putImageData(buffer, Infinity, 0, 0, 0, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid ed float value is non-finite..
155 PASS context.putImageData(buffer, 0, Infinity, 0, 0, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float para meter 3 is non-finite.. 155 PASS context.putImageData(buffer, 0, Infinity, 0, 0, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid ed float value is non-finite..
156 PASS context.putImageData(buffer, 0, 0, Infinity, 0, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float para meter 4 is non-finite.. 156 PASS context.putImageData(buffer, 0, 0, Infinity, 0, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid ed float value is non-finite..
157 PASS context.putImageData(buffer, 0, 0, 0, Infinity, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float para meter 5 is non-finite.. 157 PASS context.putImageData(buffer, 0, 0, 0, Infinity, 0, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid ed float value is non-finite..
158 PASS context.putImageData(buffer, 0, 0, 0, 0, Infinity, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float para meter 6 is non-finite.. 158 PASS context.putImageData(buffer, 0, 0, 0, 0, Infinity, 0) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid ed float value is non-finite..
159 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, Infinity) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float para meter 7 is non-finite.. 159 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, Infinity) threw exception TypeE rror: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provid ed float value is non-finite..
160 PASS context.putImageData(buffer, undefined, 0, 0, 0, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float par ameter 2 is non-finite.. 160 PASS context.putImageData(buffer, undefined, 0, 0, 0, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi ded float value is non-finite..
161 PASS context.putImageData(buffer, 0, undefined, 0, 0, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float par ameter 3 is non-finite.. 161 PASS context.putImageData(buffer, 0, undefined, 0, 0, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi ded float value is non-finite..
162 PASS context.putImageData(buffer, 0, 0, undefined, 0, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float par ameter 4 is non-finite.. 162 PASS context.putImageData(buffer, 0, 0, undefined, 0, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi ded float value is non-finite..
163 PASS context.putImageData(buffer, 0, 0, 0, undefined, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float par ameter 5 is non-finite.. 163 PASS context.putImageData(buffer, 0, 0, 0, undefined, 0, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi ded float value is non-finite..
164 PASS context.putImageData(buffer, 0, 0, 0, 0, undefined, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float par ameter 6 is non-finite.. 164 PASS context.putImageData(buffer, 0, 0, 0, 0, undefined, 0) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi ded float value is non-finite..
165 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, undefined) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': float par ameter 7 is non-finite.. 165 PASS context.putImageData(buffer, 0, 0, 0, 0, 0, undefined) threw exception Type Error: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The provi ded float value is non-finite..
166 PASS context.putImageData(null, 0, 0, 0, 0, 0, 0) threw exception TypeError: Fai led to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'.. 166 PASS context.putImageData(null, 0, 0, 0, 0, 0, 0) threw exception TypeError: Fai led to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
167 PASS context.putImageData(undefined, 0, 0, 0, 0, 0, 0) threw exception TypeError : Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'.. 167 PASS context.putImageData(undefined, 0, 0, 0, 0, 0, 0) threw exception TypeError : Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'..
168 PASS successfullyParsed is true 168 PASS successfullyParsed is true
169 169
170 TEST COMPLETE 170 TEST COMPLETE
171 171
172 172
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698