/
RTCPeerConnection-have-local-offer-expected.txt
66 lines (61 loc) · 3.31 KB
/
RTCPeerConnection-have-local-offer-expected.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Tests RTCPeerConnection in have-local-offer state.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS pc.signalingState is "stable"
PASS pc.setLocalDescription(sessionDescription).then(requestSucceeded1, finishIfFailed); did not throw exception.
PASS setLocalDescription succeeded.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
FAIL pc.remoteDescription should throw an exception. Was null.
PASS pc.signalingState is "have-local-offer"
PASS pc.setLocalDescription(sessionDescription).then(finishIfSucceeded, requestFailed1); did not throw exception.
PASS setLocalDescription failed.
FAIL errorReason.name should be InvalidSessionDescriptionError. Was OperationError.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
FAIL pc.remoteDescription should throw an exception. Was null.
PASS pc.signalingState is "have-local-offer"
PASS pc.setLocalDescription(sessionDescription).then(finishIfSucceeded, requestFailed2); did not throw exception.
PASS setLocalDescription failed.
FAIL errorReason.name should be InvalidSessionDescriptionError. Was InvalidStateError.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
FAIL pc.remoteDescription should throw an exception. Was null.
PASS pc.signalingState is "have-local-offer"
PASS pc.setRemoteDescription(sessionDescription).then(finishIfSucceeded, requestFailed3); did not throw exception.
PASS setRemoteDescription failed.
FAIL errorReason.name should be InvalidSessionDescriptionError. Was InvalidStateError.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
FAIL pc.remoteDescription should throw an exception. Was null.
PASS pc.signalingState is "have-local-offer"
PASS pc.setLocalDescription(sessionDescription).then(requestSucceeded2, finishIfFailed); did not throw exception.
PASS setLocalDescription succeeded.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
FAIL pc.remoteDescription should throw an exception. Was null.
PASS pc.signalingState is "have-local-offer"
PASS pc.setRemoteDescription(sessionDescription).then(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"
FAIL pc.localDescription should throw an exception. Was null.
FAIL pc.remoteDescription should throw an exception. Was null.
PASS pc.signalingState is "stable"
PASS pc.setLocalDescription(sessionDescription).then(requestSucceeded4, finishIfFailed); did not throw exception.
PASS setLocalDescription succeeded.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"
FAIL pc.remoteDescription should throw an exception. Was null.
PASS pc.signalingState is "have-local-offer"
PASS pc.setRemoteDescription(sessionDescription).then(requestSucceeded5, 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