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

Side by Side Diff: LayoutTests/http/tests/websocket/resources/mac-dropped-wakeup-workaround.js

Issue 913273004: [OBSOLETE] De-flake the websocket/close.html layout test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Hack around Mac timeouts. Created 5 years, 9 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
(Empty)
1 if (navigator.userAgent.search(/Macintosh.*Chrome/) != -1) {
2 (function() {
3 var ws = new WebSocket("ws://127.0.0.1:8880/echo");
4 var timer;
5 ws.onopen = function() {
6 timer = setInterval(sendMessage, 20);
7 };
8 function sendMessage() {
9 ws.send("");
10 };
11 })();
12 }
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/resources/close-common.js ('k') | LayoutTests/http/tests/websocket/workers/close.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698