blob: b280a34e0a0a598882f21a1c9a716e874d4b8c89 [file] [log] [blame]
This is a testharness.js-based test.
PASS Parameterless SLD() in 'stable' goes to 'have-local-offer'
PASS Parameterless SLD() in 'stable' sets pendingLocalDescription
PASS Parameterless SLD() in 'stable' assigns transceiver.mid
PASS Parameterless SLD() in 'have-remote-offer' goes to 'stable'
PASS Parameterless SLD() in 'have-remote-offer' sets currentLocalDescription
PASS Parameterless SLD() in 'have-remote-offer' sets transceiver.currentDirection
FAIL Parameterless SLD() uses [[LastCreatedOffer]] if it is still valid assert_true: offerer.pendingLocalDescription.sdp == offer.sdp expected true got false
FAIL Parameterless SLD() uses [[LastCreatedAnswer]] if it is still valid assert_true: answerer.currentLocalDescription.sdp == answer.sdp expected true got false
PASS Parameterless SLD() rejects with InvalidStateError if already closed
PASS Parameterless SLD() never settles if closed while pending
PASS Parameterless SLD() in a full O/A exchange succeeds
PASS Parameterless SRD() rejects with TypeError.
FAIL RTCSessionDescription constructed without type throws TypeError assert_equals: expected "TypeError" but got "ReferenceError"
Harness: the test ran to completion.