Bug 890832 - Modify test_peerConnection_bug825703.html to no longer hit outside sites. r=jsmith

This commit is contained in:
Jan-Ivar Bruaroey 2013-07-10 09:30:14 -04:00
parent ed1486b169
commit c715ae5174
2 changed files with 7 additions and 7 deletions

View File

@ -48,6 +48,7 @@ MOCHITEST_FILES = \
test_peerConnection_setRemoteAnswerInHaveRemoteOffer.html \
test_peerConnection_addCandidateInHaveLocalOffer.html \
test_peerConnection_bug822674.html \
test_peerConnection_bug825703.html \
test_peerConnection_bug827843.html \
test_peerConnection_bug834153.html \
test_peerConnection_bug835370.html \
@ -57,9 +58,6 @@ MOCHITEST_FILES = \
templates.js \
$(NULL)
# Disabled for hitting services outside of build infra (bug 890832)
# test_peerConnection_bug825703.html
# The following tests are leaking and cannot be run by default yet
ifdef MOZ_WEBRTC_LEAKING_TESTS
MOCHITEST_FILES += \

View File

@ -31,6 +31,8 @@
}
}
// This is a test of the iceServers parsing code.
runTest(function () {
var pc;
var exception = null;
@ -51,10 +53,10 @@
makePC({ iceServers: [{ url:"http:0.0.0.0" }] }, false);
makePC({ iceServers: [
{ url:"stun:0.0.0.0" },
{ url:"stuns:x.net", foo:"" },
{ url:"turn:[::192.9.5.5]:42", username:"p", credential:"p" },
{ url:"turns:x.org:42?transport=udp", username:"p", credential:"p" }
{ url:"stun:127.0.0.1" },
{ url:"stuns:localhost", foo:"" },
{ url:"turn:[::1]:3478", username:"p", credential:"p" },
{ url:"turns:localhost:3478?transport=udp", username:"p", credential:"p" }
]}, true);
pcs = null;