OLD | NEW |
| (Empty) |
1 Tests RTCPeerConnection localDescription. | |
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.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 "InvalidStateError" | |
11 PASS error.toString() is "InvalidStateError: The RTCPeerConnection's signalingSt
ate is 'closed'." | |
12 PASS events is [1,2,3] | |
13 PASS error.name is "TypeError" | |
14 PASS expectedTypeError was called. | |
15 PASS error.name is "OperationError" | |
16 PASS expectedInvalidSessionDescription was called. | |
17 PASS requestSucceeded was called. | |
18 PASS pc.setLocalDescription(sessionDescription, unexpectedCallback, requestFaile
d2); did not throw exception. | |
19 PASS requestFailed was called. | |
20 PASS pc.localDescription.type is "offer" | |
21 PASS pc.localDescription.sdp is "local" | |
22 PASS pc.localDescription.type is "offer" | |
23 PASS pc.localDescription.sdp is "local" | |
24 PASS successfullyParsed is true | |
25 | |
26 TEST COMPLETE | |
27 | |
OLD | NEW |