Bug 1677759: Disable TCP in these tests to ensure that UDP srflx/relay are working. r=mjf

This was what ended up finding this bug.

Differential Revision: https://phabricator.services.mozilla.com/D97635
This commit is contained in:
Byron Campen [:bwc] 2020-11-19 20:52:16 +00:00
Родитель 3455a0f670
Коммит 7e9b0c9dd0
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -9,7 +9,7 @@
<script type="application/javascript"> <script type="application/javascript">
createHTML({ createHTML({
bug: "1231975", bug: "1231975",
title: "Basic audio-only peer connection with port dependent NAT" title: "Basic audio-only peer connection with port dependent NAT, for verifying UDP relay"
}); });
// This test uses the NAT simulator, which doesn't work in https, so we turn // This test uses the NAT simulator, which doesn't work in https, so we turn
@ -23,6 +23,7 @@ if (!("mediaDevices" in navigator)) {
['media.peerconnection.ice.obfuscate_host_addresses', false], ['media.peerconnection.ice.obfuscate_host_addresses', false],
['media.peerconnection.nat_simulator.filtering_type', 'PORT_DEPENDENT'], ['media.peerconnection.nat_simulator.filtering_type', 'PORT_DEPENDENT'],
['media.peerconnection.nat_simulator.mapping_type', 'PORT_DEPENDENT'], ['media.peerconnection.nat_simulator.mapping_type', 'PORT_DEPENDENT'],
['media.peerconnection.nat_simulator.block_tcp', true],
['media.getusermedia.insecure.enabled', true]); ['media.getusermedia.insecure.enabled', true]);
options.expectedLocalCandidateType = "srflx"; options.expectedLocalCandidateType = "srflx";
options.expectedRemoteCandidateType = "relay"; options.expectedRemoteCandidateType = "relay";

Просмотреть файл

@ -9,7 +9,7 @@
<script type="application/javascript"> <script type="application/javascript">
createHTML({ createHTML({
bug: "1231975", bug: "1231975",
title: "Basic audio-only peer connection with endpoint independent NAT" title: "Basic audio-only peer connection with endpoint independent NAT, for verifying UDP srflx"
}); });
// This test uses the NAT simulator, which doesn't work in https, so we turn // This test uses the NAT simulator, which doesn't work in https, so we turn
@ -23,6 +23,7 @@ if (!("mediaDevices" in navigator)) {
['media.peerconnection.ice.obfuscate_host_addresses', false], ['media.peerconnection.ice.obfuscate_host_addresses', false],
['media.peerconnection.nat_simulator.filtering_type', 'ENDPOINT_INDEPENDENT'], ['media.peerconnection.nat_simulator.filtering_type', 'ENDPOINT_INDEPENDENT'],
['media.peerconnection.nat_simulator.mapping_type', 'ENDPOINT_INDEPENDENT'], ['media.peerconnection.nat_simulator.mapping_type', 'ENDPOINT_INDEPENDENT'],
['media.peerconnection.nat_simulator.block_tcp', true],
['media.getusermedia.insecure.enabled', true]); ['media.getusermedia.insecure.enabled', true]);
options.expectedLocalCandidateType = "srflx"; options.expectedLocalCandidateType = "srflx";
options.expectedRemoteCandidateType = "srflx"; options.expectedRemoteCandidateType = "srflx";