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> |