| OLD | NEW |
| 1 Tests RTCPeerConnection remoteDescription. | 1 Tests RTCPeerConnection remoteDescription. |
| 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.setRemoteDescription(null) threw exception TypeError: Failed to execute
'setRemoteDescription' on 'RTCPeerConnection': parameter 1 is not of type 'RTCSe
ssionDescription'.. | 6 PASS pc.setRemoteDescription().catch(expectedTypeError) did not throw exception. |
| 7 PASS pc.setRemoteDescription(null).catch(expectedInvalidSessionDescription) did
not throw exception. |
| 7 PASS pc.setRemoteDescription(sessionDescription, requestSucceeded1, requestFaile
d1); did not throw exception. | 8 PASS pc.setRemoteDescription(sessionDescription, requestSucceeded1, requestFaile
d1); did not throw exception. |
| 9 PASS errorReason.name is "TypeError" |
| 10 PASS expectedTypeError was called. |
| 11 PASS errorReason.name is "InvalidSessionDescription" |
| 12 PASS expectedInvalidSessionDescription was called. |
| 8 PASS requestSucceeded was called. | 13 PASS requestSucceeded was called. |
| 9 PASS pc.setRemoteDescription(sessionDescription, requestSucceeded2, requestFaile
d2); did not throw exception. | 14 PASS pc.setRemoteDescription(sessionDescription, requestSucceeded2, requestFaile
d2); did not throw exception. |
| 10 PASS requestFailed was called. | 15 PASS requestFailed was called. |
| 11 PASS pc.remoteDescription.type is "answer" | 16 PASS pc.remoteDescription.type is "answer" |
| 12 PASS pc.remoteDescription.sdp is "remote" | 17 PASS pc.remoteDescription.sdp is "remote" |
| 13 PASS pc.remoteDescription.type is "answer" | 18 PASS pc.remoteDescription.type is "answer" |
| 14 PASS pc.remoteDescription.sdp is "remote" | 19 PASS pc.remoteDescription.sdp is "remote" |
| 15 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
| 16 | 21 |
| 17 TEST COMPLETE | 22 TEST COMPLETE |
| 18 | 23 |
| OLD | NEW |