mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 890832 - Modify test_peerConnection_bug825703.html to no longer hit outside sites. r=jsmith
This commit is contained in:
parent
ed1486b169
commit
c715ae5174
@ -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 += \
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user