| Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
|
| index 5ef08ee58af270348a1f061d2e53855f95222e54..3e595a0dd1ee82d1b6ce39de4e56e81f9a9ddd11 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
|
| @@ -8,8 +8,9 @@
|
| description("Tests RTCPeerConnection createOffer.");
|
|
|
| // Note: createOffer() calls in the test runner are successful if the
|
| -// voiceActivityDetection and iceRestart options are passed with a value of true.
|
| -// In all other cases, createOffer() fails in the test runner.
|
| +// voiceActivityDetection and iceRestart options are passed with a value of true
|
| +// and offerToReceiveAudio and offerToReceiveVideo are passed with a positive
|
| +// value. In all other cases, createOffer() fails in the test runner.
|
|
|
| var pc = null;
|
|
|
| @@ -55,7 +56,7 @@ function expectedCreateOfferFailed4(error) {
|
| window.error = error;
|
| shouldBe('error.name', '"OperationError"');
|
| shouldBe('error.toString()', '"OperationError: TEST_ERROR"');
|
| - shouldNotThrow("pc.createOffer(createOfferSucceeded2, unexpectedCallback, {iceRestart:true});");
|
| + shouldNotThrow("pc.createOffer(createOfferSucceeded2, unexpectedCallback, {iceRestart:true, offerToReceiveAudio:1, offerToReceiveVideo:1});");
|
| }
|
|
|
| function expectedCreateOfferFailed3(error) {
|
| @@ -112,7 +113,7 @@ function testExecutionOrderClosedConnection()
|
|
|
| shouldNotThrow('testExecutionOrderClosedConnection()');
|
| pc = new webkitRTCPeerConnection(null);
|
| -shouldNotThrow('pc.createOffer(createOfferSucceeded1, unexpectedCallback, {voiceActivityDetection:true, iceRestart:true});');
|
| +shouldNotThrow('pc.createOffer(createOfferSucceeded1, unexpectedCallback, {voiceActivityDetection:true, iceRestart:true, offerToReceiveAudio:1, offerToReceiveVideo:1});');
|
|
|
| window.jsTestIsAsync = true;
|
| window.successfullyParsed = true;
|
|
|