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

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

Issue 2810843002: bindings: Make the sequence conversion code more complaint with WebIDL. (Closed)
Patch Set: Adjust even more tests Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Excessively long port sequences should gracefully fail.'); 8 description('Excessively long port sequences should gracefully fail.');
9 9
10 shouldThrow('new MessageEvent("message", {ports:{length: 1 << 29}})'); 10 let ports = [];
11 ports.length = 1<<29;
12 shouldThrow('new MessageEvent("message", {ports:ports})');
11 </script> 13 </script>
12 </body> 14 </body>
13 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698