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

Unified 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: Merge with CL 74533004 to test on win and mac. 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
Index: LayoutTests/fast/canvas/canvas-extremely-large-dimensions-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-extremely-large-dimensions-expected.txt b/LayoutTests/fast/canvas/canvas-extremely-large-dimensions-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b88a06c0077046b5e07827bfcdb5f7929e04c1fd
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-extremely-large-dimensions-expected.txt
@@ -0,0 +1,33 @@
+Series of tests to ensure correct behaviour when canvas size is extremely large.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+check for crash on extremely large canvas size.
+PASS imgdata[4] is 0
+PASS imgdata[5] is 0
+PASS imgdata[6] is 0
+check for crash after resetting to the same size.
+PASS imgdata[4] is 0
+PASS imgdata[5] is 0
+PASS imgdata[6] is 0
+check for crash after resizing to googol.
+PASS imgdata[4] is 0
+PASS imgdata[5] is 0
+PASS imgdata[6] is 0
+check for crash after resetting to the same size.
+PASS imgdata[4] is 0
+PASS imgdata[5] is 0
+PASS imgdata[6] is 0
+check again for crash on extremely large canvas size.
+PASS imgdata[4] is 0
+PASS imgdata[5] is 0
+PASS imgdata[6] is 0
+after resizing to normal size, the canvas must be in a valid state.
+PASS imgdata[4] is 0
+PASS imgdata[5] is 0
+PASS imgdata[6] is 255
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698