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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/imageData-oom-expected.txt

Issue 1414553002: Fix out-of-memory crashes related to ArrayBuffer allocation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+more tweaks Created 5 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: third_party/WebKit/LayoutTests/fast/canvas/imageData-oom-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/imageData-oom-expected.txt b/third_party/WebKit/LayoutTests/fast/canvas/imageData-oom-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29b62b97b57320686d06c3e17ac1a4c8c3ca7b4e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/canvas/imageData-oom-expected.txt
@@ -0,0 +1,10 @@
+PASS data = ctx.getImageData(0, 0, 100, 100) threw exception RangeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': ImageData object creation failed due to insufficient available memory..
+PASS data = ctx.getImageData(0, 0, 100, 100) did not throw exception.
+PASS data = ctx.createImageData(100, 100) threw exception RangeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': ImageData object creation failed due to insufficient available memory..
+PASS data = ctx.createImageData(100, 100) did not throw exception.
+PASS data = new ImageData(100, 100) threw exception RangeError: Failed to construct 'ImageData': ImageData object creation failed due to insufficient available memory..
+PASS data = new ImageData(100, 100) did not throw exception.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698