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

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: 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..819911267866d3bc44ba7ae7d7795bf277cf44ab
--- /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 TypeError: Failed to construct 'MessageEvent': Array length exceeds supported limit..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698