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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/canvas-large-pattern-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-arc-connecting-line-expected.txt b/LayoutTests/fast/canvas/canvas-large-pattern-expected.txt
similarity index 56%
copy from LayoutTests/fast/canvas/canvas-arc-connecting-line-expected.txt
copy to LayoutTests/fast/canvas/canvas-large-pattern-expected.txt
index 9562be0d04265a63cccdedb8a59a60234c623de7..29ff3425b1b1770c24757007cbc643091622f788 100644
--- a/LayoutTests/fast/canvas/canvas-arc-connecting-line-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-large-pattern-expected.txt
@@ -1,17 +1,20 @@
-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.
+Verifies createPattern using a source image that is a canvas 40k pixels wide.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS imgdata[0] is 0
-PASS imgdata[1] is 255
+FAIL imgdata[1] should be 255. Was 0.
PASS imgdata[2] is 0
+FAIL imgdata[3] should be 255. Was 0.
PASS imgdata[0] is 0
-PASS imgdata[1] is 255
+PASS imgdata[1] is 0
PASS imgdata[2] is 0
+PASS imgdata[3] is 0
PASS imgdata[0] is 0
PASS imgdata[1] is 0
PASS imgdata[2] is 0
+PASS imgdata[3] is 0
PASS successfullyParsed is true
TEST COMPLETE
« 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