| Index: chrome/test/data/webrtc/peerconnection.js
|
| diff --git a/chrome/test/data/webrtc/peerconnection.js b/chrome/test/data/webrtc/peerconnection.js
|
| index 78d63cff84cbcdc54b7d7b667c6abdc3d8040abb..68ff1ac9f135462202109802fe173dbdc55ae708 100644
|
| --- a/chrome/test/data/webrtc/peerconnection.js
|
| +++ b/chrome/test/data/webrtc/peerconnection.js
|
| @@ -209,6 +209,22 @@ function receiveIceCandidates(iceCandidatesJson) {
|
| }
|
|
|
| /**
|
| + * Sets the mute state of the selected media element.
|
| + *
|
| + * Returns ok-muted on success.
|
| + *
|
| + * @param elementId The id of the element to mute.
|
| + * @param muted The mute state to set.
|
| + */
|
| +function setMediaElementMuted(elementId, muted) {
|
| + var element = document.getElementById(elementId);
|
| + if (!element)
|
| + throw failTest('Cannot mute ' + elementId + '; does not exist.');
|
| + element.muted = muted;
|
| + returnToTest('ok-muted');
|
| +}
|
| +
|
| +/**
|
| * Returns
|
| */
|
| function hasSeenCryptoInSdp() {
|
|
|