Bug 1066775: fix end of ICE gathering expected r=spolk

This commit is contained in:
Nils Ohlmeier [:drno] 2014-09-26 14:36:03 -07:00
parent e0a5dea92a
commit a5a16280dd

View File

@ -398,8 +398,6 @@ var commandsPeerConnection = [
if (test.pcLocal.localRequiresTrickleIce) {
ok(test.pcLocal._local_ice_candidates.length > 0, "Received local trickle ICE candidates");
}
// a super slow TURN server might make this fail
ok(test.pcLocal.endOfTrickleIce, "Received end of ICE gathering candidate");
isnot(test.pcLocal._pc.iceGatheringState, GATH_NEW, "ICE gathering state is not 'new'");
test.next();
}
@ -440,8 +438,6 @@ var commandsPeerConnection = [
if (test.pcRemote.localRequiresTrickleIce) {
ok(test.pcRemote._local_ice_candidates.length > 0, "Received local trickle ICE candidates");
}
// a super slow TURN server might make this fail
ok(test.pcRemote.endOfTrickleIce, "Received end of ICE gathering candidate");
isnot(test.pcRemote._pc.iceGatheringState, GATH_NEW, "ICE gathering state is not 'new'");
test.next();
}
@ -999,8 +995,6 @@ var commandsDataChannel = [
if (test.pcLocal.localRequiresTrickleIce) {
ok(test.pcLocal._local_ice_candidates.length > 0, "Received local trickle ICE candidates");
}
// a super slow TURN server might make this fail
ok(test.pcLocal.endOfTrickleIce, "Received end of ICE gathering candidate");
isnot(test.pcLocal._pc.iceGatheringState, GATH_NEW, "ICE gathering state is not 'new'");
test.next();
}
@ -1041,8 +1035,6 @@ var commandsDataChannel = [
if (test.pcRemote.localRequiresTrickleIce) {
ok(test.pcRemote._local_ice_candidates.length > 0, "Received local trickle ICE candidates");
}
// a super slow TURN server might make this fail
ok(test.pcRemote.endOfTrickleIce, "Received end of ICE gathering candidate");
isnot(test.pcRemote._pc.iceGatheringState, GATH_NEW, "ICE gathering state is not 'new'");
test.next();
}