mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 908248 - Intermittent test_tcpserversocket.js. r=jdm
This commit is contained in:
parent
00fdb875b1
commit
3adb6e5c3b
@ -202,7 +202,7 @@ function openSockInClosingServer() {
|
||||
'127.0.0.1', PORT, options);
|
||||
|
||||
sock.onopen = makeFailureCase('open');
|
||||
sock.onerror = success();
|
||||
sock.onerror = success;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -300,13 +300,4 @@ function run_test() {
|
||||
Services.prefs.setBoolPref('dom.mozTCPSocket.enabled', true);
|
||||
|
||||
run_next_test();
|
||||
|
||||
do_timeout(10000, function() {
|
||||
if (server) {
|
||||
server.close();
|
||||
}
|
||||
|
||||
do_throw(
|
||||
"The test should never take this long unless the system is hosed.");
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user