| 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 a05ae313607ea1f1fab9e75649cb41533d702457..22a155da0661c309ed8d842ea1e15c3eb6795667 100644
|
| --- a/content/test/data/media/peerconnection-call.html
|
| +++ b/content/test/data/media/peerconnection-call.html
|
| @@ -33,6 +33,21 @@
|
| waitForVideo('remote-view-2');
|
| }
|
|
|
| + // Hang up a call.
|
| + function hangup() {
|
| + gFirstConnection.close();
|
| + gSecondConnection.close();
|
| + gFirstConnection = null;
|
| + gSecondConnection = null;
|
| +
|
| + gLocalStream.getTracks().forEach(function(track) {
|
| + track.stop();
|
| + });
|
| + gLocalStream = null;
|
| +
|
| + sendValueToTest('OK');
|
| + }
|
| +
|
| // 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) {
|
|
|