OLD | NEW |
1 Tests RTCPeerConnection localDescription. | 1 Tests RTCPeerConnection localDescription. |
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 pc.setLocalDescription(null) threw exception TypeError: Failed to execute '
setLocalDescription' on 'RTCPeerConnection': parameter 1 is not of type 'RTCSess
ionDescription'.. | 6 PASS testExecutionOrderClosedConnection() did not throw exception. |
7 PASS pc.setLocalDescription(sessionDescription, requestSucceeded1, requestFailed
1); did not throw exception. | 7 PASS pc.setLocalDescription().catch(expectedTypeError) did not throw exception. |
| 8 PASS pc.setLocalDescription(null).catch(expectedInvalidSessionDescription) did n
ot throw exception. |
| 9 PASS pc.setLocalDescription(sessionDescription, requestSucceeded1, unexpectedCal
lback); did not throw exception. |
| 10 PASS error.name is "TypeError" |
| 11 PASS orderCounter is 1 |
| 12 PASS error is "The RTCPeerConnection's signalingState is 'closed'." |
| 13 PASS orderCounter is 2 |
| 14 PASS error.name is "TypeError" |
| 15 PASS orderCounter is 3 |
| 16 PASS error.name is "TypeError" |
| 17 PASS expectedTypeError was called. |
| 18 PASS expectedInvalidSessionDescription was called. |
8 PASS requestSucceeded was called. | 19 PASS requestSucceeded was called. |
9 PASS pc.setLocalDescription(sessionDescription, requestSucceeded2, requestFailed
2); did not throw exception. | 20 PASS pc.setLocalDescription(sessionDescription, unexpectedCallback, requestFaile
d2); did not throw exception. |
10 PASS requestFailed was called. | 21 PASS requestFailed was called. |
11 PASS pc.localDescription.type is "offer" | 22 PASS pc.localDescription.type is "offer" |
12 PASS pc.localDescription.sdp is "local" | 23 PASS pc.localDescription.sdp is "local" |
13 PASS pc.localDescription.type is "offer" | 24 PASS pc.localDescription.type is "offer" |
14 PASS pc.localDescription.sdp is "local" | 25 PASS pc.localDescription.sdp is "local" |
15 PASS successfullyParsed is true | 26 PASS successfullyParsed is true |
16 | 27 |
17 TEST COMPLETE | 28 TEST COMPLETE |
18 | 29 |
OLD | NEW |