OLD | NEW |
| (Empty) |
1 Tests RTCPeerConnection createOffer. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS testExecutionOrderClosedConnection() 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" | |
9 PASS error.toString() is "InvalidStateError: The RTCPeerConnection's signalingSt
ate is 'closed'." | |
10 PASS events is [1,2,3] | |
11 PASS createOfferSucceeded1 was called. | |
12 PASS sessionDescription.type is "offer" | |
13 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed1); did not thr
ow exception. | |
14 PASS expectedCreateOfferFailed1 was called. | |
15 PASS error.name is "OperationError" | |
16 PASS error.toString() is "OperationError: TEST_ERROR" | |
17 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed2); did not thr
ow exception. | |
18 PASS expectedCreateOfferFailed2 was called. | |
19 PASS error.name is "OperationError" | |
20 PASS error.toString() is "OperationError: TEST_ERROR" | |
21 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed3, {}); did not
throw exception. | |
22 PASS expectedCreateOfferFailed3 was called. | |
23 PASS error.name is "OperationError" | |
24 PASS error.toString() is "OperationError: TEST_ERROR" | |
25 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed4, {voiceActivi
tyDetection:false}); did not throw exception. | |
26 PASS expectedCreateOfferFailed4 was called. | |
27 PASS error.name is "OperationError" | |
28 PASS error.toString() is "OperationError: TEST_ERROR" | |
29 PASS pc.createOffer(createOfferSucceeded2, unexpectedCallback, {iceRestart:true,
offerToReceiveAudio:1, offerToReceiveVideo:1}); did not throw exception. | |
30 PASS createOfferSucceeded2 was called. | |
31 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed5, {offerToRece
iveVideo:1, offerToReceiveAudio:0, voiceActivityDetection:false, iceRestart:true
}); did not throw exception. | |
32 PASS expectedCreateOfferFailed5 was called. | |
33 PASS error.name is "OperationError" | |
34 PASS error.toString() is "OperationError: TEST_ERROR" | |
35 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed6, {offerToRece
iveVideo:-1, offerToReceiveAudio:0}); did not throw exception. | |
36 PASS expectedCreateOfferFailed6 called. | |
37 PASS error.name is "OperationError" | |
38 PASS error.toString() is "OperationError: TEST_ERROR" | |
39 PASS pc.createOffer(unexpectedCallback, expectedCreateOfferFailed7, {offerToRece
iveVideo:0, offerToReceiveAudio:-1}); did not throw exception. | |
40 PASS expectedCreateOfferFailed7 called. | |
41 PASS error.name is "OperationError" | |
42 PASS error.toString() is "OperationError: TEST_ERROR" | |
43 PASS successfullyParsed is true | |
44 | |
45 TEST COMPLETE | |
46 | |
OLD | NEW |