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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/message-event-max-ports-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/message-event-max-ports.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/message-event-max-ports.html b/third_party/WebKit/LayoutTests/fast/events/message-event-max-ports.html
new file mode 100644
index 0000000000000000000000000000000000000000..447173276b96e0eff10eaa75667024661a29f2c3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/events/message-event-max-ports.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
+</head>
+<body>
+<script>
+description('Excessively long port sequences should gracefully fail.');
+
+shouldThrow('new MessageEvent("message", {ports:{length: 1 << 29}})');
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/message-event-max-ports-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698