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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/message-event-max-ports-expected.txt

Issue 2657173002: Disallow sequences with lengths exceeding max allocation supported. (Closed)
Patch Set: re-add expected output Created 3 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/events/message-event-max-ports-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/message-event-max-ports-expected.txt b/third_party/WebKit/LayoutTests/fast/events/message-event-max-ports-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6338cdada6e6cdaa31f21ae21d5881a7045389b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/events/message-event-max-ports-expected.txt
@@ -0,0 +1,10 @@
+Excessively long port sequences should gracefully fail.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new MessageEvent("message", {ports:{length: 1 << 29}}) threw exception RangeError: Failed to construct 'MessageEvent': Array length exceeds supported limit..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698