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

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

Issue 44253005: 2D Canvas: Refactor code re-attempting to allocate an imageBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@convertL
Patch Set: Use extremely instead of insanely. Amend test a bit. 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
OLDNEW
(Empty)
1 Series of tests to ensure correct behaviour when canvas size is extremely large.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 check whether crash or not with extremely large size.
7 PASS imgdata[4] is 0
8 PASS imgdata[5] is 0
9 PASS imgdata[6] is 0
10 check whether crash after reset to the same size.
11 PASS imgdata[4] is 0
12 PASS imgdata[5] is 0
13 PASS imgdata[6] is 0
14 check whether crash after resize to googol.
15 PASS imgdata[4] is 0
16 PASS imgdata[5] is 0
17 PASS imgdata[6] is 0
18 check whether crash after reset to the same size.
19 PASS imgdata[4] is 0
20 PASS imgdata[5] is 0
21 PASS imgdata[6] is 0
22 check again whether crash or not with extremely large size.
23 PASS imgdata[4] is 0
24 PASS imgdata[5] is 0
25 PASS imgdata[6] is 0
26 after resize to normal size, canvas must be in valid state.
27 PASS imgdata[4] is 0
28 PASS imgdata[5] is 0
29 PASS imgdata[6] is 255
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698