blob: 10e19545117823a605d315bed9ebbae0204857d1 [file] [log] [blame]
This is a testharness.js-based test.
FAIL setLocalDescription(pranswer) from stable state should reject with InvalidStateError assert_throws: function "function() { throw e }" threw object "OperationError: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Failed to set local pranswer sdp: Called in wrong state: kStable" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
FAIL setLocalDescription(pranswer) should succeed assert_equals: expected null but got object "[object RTCSessionDescription]"
PASS setLocalDescription(pranswer) can be applied multiple times while still in have-local-pranswer
PASS setLocalDescription(answer) from have-local-pranswer state should succeed
Harness: the test ran to completion.