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

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

Issue 57643005: [2D Canvas] Fix crash in createPattern method when using invalid canvas as source. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 that canvas arc()s are connected by a straight line. There should be two C- shapes with a line from the bottom of the left one to the top of the right one. 1 Verifies createPattern using a source image that is a canvas 40k pixels wide.
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 imgdata[0] is 0 6 PASS imgdata[0] is 0
7 PASS imgdata[1] is 255 7 FAIL imgdata[1] should be 255. Was 0.
8 PASS imgdata[2] is 0 8 PASS imgdata[2] is 0
9 PASS imgdata[0] is 0 9 FAIL imgdata[3] should be 255. Was 0.
10 PASS imgdata[1] is 255
11 PASS imgdata[2] is 0
12 PASS imgdata[0] is 0 10 PASS imgdata[0] is 0
13 PASS imgdata[1] is 0 11 PASS imgdata[1] is 0
14 PASS imgdata[2] is 0 12 PASS imgdata[2] is 0
13 PASS imgdata[3] is 0
14 PASS imgdata[0] is 0
15 PASS imgdata[1] is 0
16 PASS imgdata[2] is 0
17 PASS imgdata[3] is 0
15 PASS successfullyParsed is true 18 PASS successfullyParsed is true
16 19
17 TEST COMPLETE 20 TEST COMPLETE
18 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-large-pattern.html ('k') | Source/core/platform/graphics/Pattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698