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

Side by Side Diff: LayoutTests/fast/canvas/canvas-createImageData-expected.txt

Issue 289283002: Add some layout tests about behavior on undefined and null. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-currentTransform-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test canvas createImageData() 1 Test 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(null) threw exception TypeError: Failed to execute 'cre ateImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageDa ta'.. 6 PASS ctx.createImageData(null) threw exception TypeError: Failed to execute 'cre ateImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageDa ta'..
7 PASS ctx.createImageData(undefined) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Im ageData'..
8 PASS ctx.createImageData([]) threw exception TypeError: Failed to execute 'creat eImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData '..
9 PASS ctx.createImageData({}) threw exception TypeError: Failed to execute 'creat eImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData '..
7 PASS imageData.width is 100 10 PASS imageData.width is 100
8 PASS imageData.height is 50 11 PASS imageData.height is 50
9 PASS imageData.data[32] is 255 12 PASS imageData.data[32] is 255
10 PASS sameSizeImageData.width is 100 13 PASS sameSizeImageData.width is 100
11 PASS sameSizeImageData.height is 50 14 PASS sameSizeImageData.height is 50
12 PASS sameSizeImageData.data[32] is 0 15 PASS sameSizeImageData.data[32] is 0
13 PASS imgdata1.data.length is 800 16 PASS imgdata1.data.length is 800
14 PASS imgdata1.data.length is imgdata2.data.length 17 PASS imgdata1.data.length is imgdata2.data.length
15 PASS imgdata2.data.length is imgdata3.data.length 18 PASS imgdata2.data.length is imgdata3.data.length
16 PASS imgdata3.data.length is imgdata4.data.length 19 PASS imgdata3.data.length is imgdata4.data.length
17 PASS successfullyParsed is true 20 PASS successfullyParsed is true
18 21
19 TEST COMPLETE 22 TEST COMPLETE
20 23
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-currentTransform-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698