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

Unified Diff: third_party/WebKit/LayoutTests/fast/js/typed-array-allocation-failure-expected.txt

Issue 1577783004: [v8] don't crash when ArrayBuffer allocation fails (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a little comment explaining the contract Created 4 years, 11 months 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/js/typed-array-allocation-failure-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/js/typed-array-allocation-failure-expected.txt b/third_party/WebKit/LayoutTests/fast/js/typed-array-allocation-failure-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94f57f59dd9547375a777fe5c604dc5d12df1de2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/js/typed-array-allocation-failure-expected.txt
@@ -0,0 +1,19 @@
+This test checks that TypedArray allocation failures should throw
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new ArrayBuffer(7 * 1125899906842624) threw exception RangeError.
+PASS new Uint8Array(7 * 1125899906842624) threw exception RangeError.
+PASS new Uint8ClampedArray(7 * 1125899906842624) threw exception RangeError.
+PASS new Uint16Array(7 * 1125899906842624) threw exception RangeError.
+PASS new Uint32Array(7 * 1125899906842624) threw exception RangeError.
+PASS new Int8Array(7 * 1125899906842624) threw exception RangeError.
+PASS new Int16Array(7 * 1125899906842624) threw exception RangeError.
+PASS new Int32Array(7 * 1125899906842624) threw exception RangeError.
+PASS new Float32Array(7 * 1125899906842624) threw exception RangeError.
+PASS new Float64Array(7 * 1125899906842624) threw exception RangeError.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698