blob: 41f1273bfa33271899c33659247ef43e9ce52c63 [file] [log] [blame]
Test RTCPeerConnection.setLocalDescription called with an RTCSessionDescription of type 'offer'
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS pc.signalingState is 'stable'
PASS pc.localDescription is null
PASS pc.pendingLocalDescription is null
PASS pc.currentLocalDescription is null
PASS Got stream
*** Add audioTrack.
PASS pc.getTransceivers().length is 1
PASS audioTransceiver.mid is null
PASS Got firstOffer
PASS pc.signalingState is 'stable'
PASS audioTransceiver.mid is null
PASS firstOffer set as local description
PASS pc.signalingState is 'have-local-offer'
FAIL pc.localDescription should be [object Object]. Was null.
FAIL pc.pendingLocalDescription should be [object Object]. Was null.
PASS pc.currentLocalDescription is null
FAIL Error caught in promise chain: TypeError: null is not an object (evaluating 'pc.localDescription.type')
PASS successfullyParsed is true
TEST COMPLETE