Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer-expected.txt

Issue 2077323003: Support legacy offerToReceiveAudio/offerToReceiveVideo fields in RTCOfferOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests RTCPeerConnection createOffer. 1 Tests RTCPeerConnection createOffer.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS testExecutionOrderClosedConnection() did not throw exception. 6 PASS testExecutionOrderClosedConnection() did not throw exception.
7 PASS pc.createOffer(createOfferSucceeded1, unexpectedCallback, {voiceActivityDet ection:true, iceRestart:true}); did not throw exception. 7 PASS pc.createOffer(createOfferSucceeded1, unexpectedCallback, {voiceActivityDet ection:true, iceRestart:true, offerToReceiveAudio:1, offerToReceiveVideo:1}); di d not throw exception.
8 PASS error.name is "InvalidStateError" 8 PASS error.name is "InvalidStateError"
9 PASS error.toString() is "InvalidStateError: The RTCPeerConnection's signalingSt ate is 'closed'." 9 PASS error.toString() is "InvalidStateError: The RTCPeerConnection's signalingSt ate is 'closed'."
10 PASS events is [1,2,3] 10 PASS events is [1,2,3]
11 PASS createOfferSucceeded1 was called. 11 PASS createOfferSucceeded1 was called.
12 PASS sessionDescription.type is "offer" 12 PASS sessionDescription.type is "offer"
13 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed1); did not thr ow exception. 13 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed1); did not thr ow exception.
14 PASS expectedCreateOfferFailed1 was called. 14 PASS expectedCreateOfferFailed1 was called.
15 PASS error.name is "OperationError" 15 PASS error.name is "OperationError"
16 PASS error.toString() is "OperationError: TEST_ERROR" 16 PASS error.toString() is "OperationError: TEST_ERROR"
17 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed2); did not thr ow exception. 17 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed2); did not thr ow exception.
18 PASS expectedCreateOfferFailed2 was called. 18 PASS expectedCreateOfferFailed2 was called.
19 PASS error.name is "OperationError" 19 PASS error.name is "OperationError"
20 PASS error.toString() is "OperationError: TEST_ERROR" 20 PASS error.toString() is "OperationError: TEST_ERROR"
21 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed3, {}); did not throw exception. 21 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed3, {}); did not throw exception.
22 PASS expectedCreateOfferFailed3 was called. 22 PASS expectedCreateOfferFailed3 was called.
23 PASS error.name is "OperationError" 23 PASS error.name is "OperationError"
24 PASS error.toString() is "OperationError: TEST_ERROR" 24 PASS error.toString() is "OperationError: TEST_ERROR"
25 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed4, {voiceActivi tyDetection:false}); did not throw exception. 25 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed4, {voiceActivi tyDetection:false}); did not throw exception.
26 PASS expectedCreateOfferFailed4 was called. 26 PASS expectedCreateOfferFailed4 was called.
27 PASS error.name is "OperationError" 27 PASS error.name is "OperationError"
28 PASS error.toString() is "OperationError: TEST_ERROR" 28 PASS error.toString() is "OperationError: TEST_ERROR"
29 PASS pc.createOffer(createOfferSucceeded2, unexpectedCallback, {iceRestart:true} ); did not throw exception. 29 PASS pc.createOffer(createOfferSucceeded2, unexpectedCallback, {iceRestart:true, offerToReceiveAudio:1, offerToReceiveVideo:1}); did not throw exception.
30 PASS createOfferSucceeded2 was called. 30 PASS createOfferSucceeded2 was called.
31 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed5, {offerToRece iveVideo:1, offerToReceiveAudio:0, voiceActivityDetection:false, iceRestart:true }); did not throw exception. 31 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed5, {offerToRece iveVideo:1, offerToReceiveAudio:0, voiceActivityDetection:false, iceRestart:true }); did not throw exception.
32 PASS expectedCreateOfferFailed5 was called. 32 PASS expectedCreateOfferFailed5 was called.
33 PASS error.name is "OperationError" 33 PASS error.name is "OperationError"
34 PASS error.toString() is "OperationError: TEST_ERROR" 34 PASS error.toString() is "OperationError: TEST_ERROR"
35 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed6, {offerToRece iveVideo:-1, offerToReceiveAudio:0}); did not throw exception. 35 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed6, {offerToRece iveVideo:-1, offerToReceiveAudio:0}); did not throw exception.
36 PASS expectedCreateOfferFailed6 called. 36 PASS expectedCreateOfferFailed6 called.
37 PASS error.name is "OperationError" 37 PASS error.name is "OperationError"
38 PASS error.toString() is "OperationError: TEST_ERROR" 38 PASS error.toString() is "OperationError: TEST_ERROR"
39 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed7, {offerToRece iveVideo:0, offerToReceiveAudio:-1}); did not throw exception. 39 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed7, {offerToRece iveVideo:0, offerToReceiveAudio:-1}); did not throw exception.
40 PASS expectedCreateOfferFailed7 called. 40 PASS expectedCreateOfferFailed7 called.
41 PASS error.name is "OperationError" 41 PASS error.name is "OperationError"
42 PASS error.toString() is "OperationError: TEST_ERROR" 42 PASS error.toString() is "OperationError: TEST_ERROR"
43 PASS successfullyParsed is true 43 PASS successfullyParsed is true
44 44
45 TEST COMPLETE 45 TEST COMPLETE
46 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698