gecko-dev/dom/media/tests/mochitest/test_peerConnection_restartIceNoBundle.html
Nils Ohlmeier [:drno] 62fb4d5bc8 Bug 1304269: lets promise ice from now on. r=bwc
MozReview-Commit-ID: 7Oi4rDbGv09

--HG--
extra : rebase_source : c3bf738d323f8386bbf25d63e04472cc78a29539
2016-09-21 16:42:22 -07:00

44 lines
1023 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<script type="application/javascript" src="pc.js"></script>
</head>
<body>
<pre id="test">
<script type="application/javascript">
createHTML({
bug: "906986",
title: "Renegotiation: restart ice, no bundle"
});
var test;
runNetworkTest(function (options) {
options = options || { };
options.bundle = false;
test = new PeerConnectionTest(options);
addRenegotiation(test.chain,
[
// causes a full, normal ice restart
function PC_LOCAL_SET_OFFER_OPTION(test) {
test.setOfferOptions({ iceRestart: true });
},
function PC_LOCAL_EXPECT_ICE_CHECKING(test) {
test.pcLocal.expectIceChecking();
},
function PC_REMOTE_EXPECT_ICE_CHECKING(test) {
test.pcRemote.expectIceChecking();
}
]
);
test.setMediaConstraints([{audio: true}, {video: true}],
[{audio: true}, {video: true}]);
test.run();
});
</script>
</pre>
</body>
</html>