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 pc.setLocalDescription().catch(expectedTypeError) did not throw exception. |
| 7 PASS pc.setLocalDescription(null).catch(expectedInvalidSessionDescription) did n
ot throw exception. |
| 8 PASS pc.setLocalDescription(sessionDescription).then(requestSucceeded1, requestF
ailed1); did not throw exception. |
| 9 PASS errorReason.name is "TypeError" |
| 10 PASS expectedTypeError was called. |
| 11 PASS errorReason.name is "AbortError" |
| 12 PASS expectedInvalidSessionDescription was called. |
| 13 PASS requestSucceeded was called. |
| 14 PASS pc.setLocalDescription(sessionDescription).then(requestSucceeded2, requestF
ailed2); did not throw exception. |
| 15 PASS requestFailed was called. |
| 16 PASS pc.localDescription.type is "offer" |
| 17 PASS pc.localDescription.sdp is "local" |
| 18 PASS pc.localDescription.type is "offer" |
| 19 PASS pc.localDescription.sdp is "local" |
| 20 PASS successfullyParsed is true |
| 21 |
| 22 TEST COMPLETE |
| 23 |
OLD | NEW |