summaryrefslogtreecommitdiffstats
path: root/netwerk/test/TestUDPSocket.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:27:33 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:27:33 +0100
commit40d8e355ceb8a309b4878c2629334c3b9c7d20e9 (patch)
tree0bbe610eb0598086993f4db815e9988b2176cd1e /netwerk/test/TestUDPSocket.cpp
parentda8f20a3b05387aaa1c7c81543f1aae6dd1ca99d (diff)
downloadUXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar.gz
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar.lz
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar.xz
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.zip
Remove Windows XP specific code in netwerk.
Diffstat (limited to 'netwerk/test/TestUDPSocket.cpp')
-rw-r--r--netwerk/test/TestUDPSocket.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/netwerk/test/TestUDPSocket.cpp b/netwerk/test/TestUDPSocket.cpp
index 9236d2ea3..0ec43a650 100644
--- a/netwerk/test/TestUDPSocket.cpp
+++ b/netwerk/test/TestUDPSocket.cpp
@@ -13,9 +13,6 @@
#include "nsIScriptSecurityManager.h"
#include "nsITimer.h"
#include "mozilla/net/DNS.h"
-#ifdef XP_WIN
-#include "mozilla/WindowsVersion.h"
-#endif
#include "prerror.h"
#define REQUEST 0x68656c6f
@@ -334,16 +331,6 @@ main(int32_t argc, char *argv[])
}
RefPtr<MulticastTimerCallback> timerCb = new MulticastTimerCallback();
- // The following multicast tests using multiple sockets require a firewall
- // exception on Windows XP (the earliest version of Windows we now support)
- // before they pass. For now, we'll skip them here. Later versions of Windows
- // (Win2003 and onward) don't seem to have this issue.
-#ifdef XP_WIN
- if (!mozilla::IsWin2003OrLater()) { // i.e. if it is WinXP
- goto close;
- }
-#endif
-
// Join multicast group
printf("Joining multicast group\n");
phase = TEST_MULTICAST;