Bug 1315318 - Fix reversed info lines in sdpUtils.js verifySdp. r=bwc

MozReview-Commit-ID: 7DBNaIkyTii

--HG--
extra : rebase_source : 2ce5f918780074c048099d1f08825d1b7b2556aa
This commit is contained in:
Michael Froman 2016-11-04 12:36:10 -05:00
Родитель 65d084b973
Коммит 3519361c90
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -89,9 +89,9 @@ verifySdp: function(desc, expectedType, offerConstraintsList, offerOptions,
ok(!desc.sdp.includes(LOOPBACK_ADDR), "loopback interface is absent from SDP");
var requiresTrickleIce = !desc.sdp.includes("a=candidate");
if (requiresTrickleIce) {
info("at least one ICE candidate is present in SDP");
} else {
info("No ICE candidate in SDP -> requiring trickle ICE");
} else {
info("at least one ICE candidate is present in SDP");
}
//TODO: how can we check for absence/presence of m=application?