| 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 5d007f8f44b42c44d3915d5aaea87b001faecda8..3ee42ec5686a5f1d1a250736385dad0ffc5f0860 100644
|
| --- a/content/test/data/media/peerconnection-call.html
|
| +++ b/content/test/data/media/peerconnection-call.html
|
| @@ -58,6 +58,20 @@
|
| waitForVideo('remote-view-2');
|
| }
|
|
|
| + // Test that we can setup a call with a video track and that the remote peer
|
| + // receives black frames if the local video track is disabled.
|
| + function callAndDisableLocalVideo(constraints) {
|
| + createConnections(null);
|
| + navigator.webkitGetUserMedia(constraints,
|
| + addStreamToBothConnectionsAndNegotiate, printGetUserMediaError);
|
| + detectVideoPlaying('remote-view-1',
|
| + function () {
|
| + assertEquals(gLocalStream.getVideoTracks().length, 1);
|
| + gLocalStream.getVideoTracks()[0].enabled = false;
|
| + waitForBlackVideo('remote-view-1');
|
| + });
|
| + }
|
| +
|
| // Test that we can setup call with an audio and video track and check that
|
| // the video resolution is as expected.
|
| function callAndExpectResolution(constraints,
|
|
|