blob: f514bf7310bbe53c48d4c4001fd4ce455bd68f31 [file] [log] [blame]
This is a testharness.js-based test.
FAIL setLocalDescription(pranswer) from stable state should reject with InvalidStateError promise_rejects_dom: function "function() { throw e }" threw object "OperationError: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Failed to set local pranswer sdp: Called in wrong state: stable" 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.