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

Side by Side Diff: LayoutTests/http/tests/websocket/resources/connect-error-by-no-websocket-server.js

Issue 101143002: Remove hybi sub directory for WebSocket layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 // Worker tests need to set this for themselves in the .html file. 1 // Worker tests need to set this for themselves in the .html file.
2 if (typeof window !== 'undefined') 2 if (typeof window !== 'undefined')
3 window.jsTestIsAsync = true; 3 window.jsTestIsAsync = true;
4 4
5 var timeoutID = null; 5 var timeoutID = null;
6 6
7 function endTest() 7 function endTest()
8 { 8 {
9 clearTimeout(timeoutID); 9 clearTimeout(timeoutID);
10 finishJSTest(); 10 finishJSTest();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Each failure to connect to 127.0.0.1 takes 1 second on Windows. 56 // Each failure to connect to 127.0.0.1 takes 1 second on Windows.
57 // Allow 2 seconds for padding. 57 // Allow 2 seconds for padding.
58 timeoutID = setTimeout(timeOutCallback, 2000); 58 timeoutID = setTimeout(timeOutCallback, 2000);
59 } 59 }
60 60
61 function timeOutCallback() 61 function timeOutCallback()
62 { 62 {
63 debug("Timed out..."); 63 debug("Timed out...");
64 endTest(); 64 endTest();
65 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698