blob: 88770c5dc549fbc9cb4a305cc96af2552a324bc7 [file] [log] [blame]
Tests RTCPeerConnection in have-remote-pranswer state.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS pc.signalingState is "stable"
PASS pc.setLocalDescription(sessionDescription, requestSucceeded1, finishIfFailed); did not throw exception.
PASS setLocalDescription succeeded.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.signalingState is "have-local-offer"
PASS pc.setRemoteDescription(sessionDescription, requestSucceeded2, finishIfFailed); did not throw exception.
PASS setRemoteDescription succeeded.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.remoteDescription.type is "pranswer"
PASS pc.remoteDescription.sdp is "remote"
PASS pc.signalingState is "have-remote-pranswer"
PASS pc.setRemoteDescription(sessionDescription, requestSucceeded3, finishIfFailed); did not throw exception.
PASS setRemoteDescription succeeded.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.remoteDescription.type is "pranswer"
PASS pc.remoteDescription.sdp is "remote"
PASS pc.signalingState is "have-remote-pranswer"
PASS pc.setRemoteDescription(sessionDescription, finishIfSucceeded, requestFailed1); did not throw exception.
PASS setRemoteDescription failed.
PASS errorReason.name is "InvalidSessionDescriptionError"
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.remoteDescription.type is "pranswer"
PASS pc.remoteDescription.sdp is "remote"
PASS pc.signalingState is "have-remote-pranswer"
PASS pc.setLocalDescription(sessionDescription, finishIfSucceeded, requestFailed2); did not throw exception.
PASS setLocalDescription failed.
PASS errorReason.name is "InvalidSessionDescriptionError"
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.remoteDescription.type is "pranswer"
PASS pc.remoteDescription.sdp is "remote"
PASS pc.signalingState is "have-remote-pranswer"
PASS pc.setLocalDescription(sessionDescription, finishIfSucceeded, requestFailed3); did not throw exception.
PASS setLocalDescription failed.
PASS errorReason.name is "InvalidSessionDescriptionError"
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.remoteDescription.type is "pranswer"
PASS pc.remoteDescription.sdp is "remote"
PASS pc.signalingState is "have-remote-pranswer"
PASS pc.setLocalDescription(sessionDescription, finishIfSucceeded, requestFailed4); did not throw exception.
PASS setLocalDescription failed.
PASS errorReason.name is "InvalidSessionDescriptionError"
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.remoteDescription.type is "pranswer"
PASS pc.remoteDescription.sdp is "remote"
PASS pc.signalingState is "have-remote-pranswer"
PASS pc.setRemoteDescription(sessionDescription, requestSucceeded4, finishIfFailed); did not throw exception.
PASS setRemoteDescription succeeded.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
PASS pc.remoteDescription.type is "answer"
PASS pc.remoteDescription.sdp is "remote"
PASS pc.signalingState is "stable"
PASS successfullyParsed is true
TEST COMPLETE