| Index: content/test/data/media/peerconnection-call.html
|
| diff --git a/content/test/data/media/peerconnection-call.html b/content/test/data/media/peerconnection-call.html
|
| index 3f1001ecfc057fc4c14356f55bbe42902a43aa73..043cbc2472c3355aac0fd7e6ec80189287650092 100644
|
| --- a/content/test/data/media/peerconnection-call.html
|
| +++ b/content/test/data/media/peerconnection-call.html
|
| @@ -144,8 +144,6 @@
|
| function negotiateUnsupportedVideoCodec() {
|
| createConnections(null);
|
| transformSdp = removeVideoCodec;
|
| - navigator.webkitGetUserMedia({audio: true, video: true},
|
| - addStreamToBothConnectionsAndNegotiate, printGetUserMediaError);
|
| onLocalDescriptionError = function(error) {
|
| var expectedMsg = 'Failed to set local offer sdp:' +
|
| ' Session error code: ERROR_CONTENT. Session error description:' +
|
| @@ -155,14 +153,14 @@
|
| // Got the right message, test succeeded.
|
| document.title = 'OK';
|
| };
|
| + navigator.webkitGetUserMedia({audio: true, video: true},
|
| + addStreamToBothConnectionsAndNegotiate, printGetUserMediaError);
|
| }
|
|
|
| // Test that we can't setup a call if one peer does not support encryption
|
| function negotiateNonCryptoCall() {
|
| createConnections(null);
|
| transformSdp = removeCrypto;
|
| - navigator.webkitGetUserMedia({audio: true, video: true},
|
| - addStreamToBothConnectionsAndNegotiate, printGetUserMediaError);
|
| onLocalDescriptionError = function(error) {
|
| var expectedMsg = 'Failed to set local offer sdp:' +
|
| ' Called with a SDP without crypto enabled.';
|
| @@ -171,6 +169,8 @@
|
| // Got the right message, test succeeded.
|
| document.title = 'OK';
|
| };
|
| + navigator.webkitGetUserMedia({audio: true, video: true},
|
| + addStreamToBothConnectionsAndNegotiate, printGetUserMediaError);
|
| }
|
|
|
| // Test that we can negotiate a call with an SDP offer that includes a
|
|
|