This is a testharness.js-based test.
FAIL setLocalDescription() with valid answer should succeed assert_not_equals: Expect session description to be defined got disallowed value undefined
FAIL setLocalDescription() with type answer and null sdp should use lastAnswer generated from createAnswer promise_test: Unhandled rejection with value: object "OperationError: Failed to parse SessionDescription.  Expect line: v="
FAIL setLocalDescription() with answer not created by own createAnswer() should reject with InvalidModificationError assert_throws: function "function () { throw e }" threw object "OperationError: Failed to set local answer sdp: Failed to push down transport description: Local fingerprint does not match identity. Expected: sha-256 B5:81:44:BA:F9:E4:DB:24:6C:1C:7E:FF:52:82:7A:67:3C:52:69:F6:5C:D8:BF:B8:FC:34:A2:23:E5:B2:5D:0D Got: sha-256 9D:21:20:4B:66:BC:27:C1:C5:C1:3F:48:63:4A:A9:AC:ED:9F:1C:18:CF:BC:D5:88:9D:19:4F:A3:FC:D2:13:23" that is not a DOMException InvalidModificationError: property "code" is equal to 0, expected 13
FAIL Calling setLocalDescription(answer) from stable state should reject with InvalidStateError assert_throws: function "function () { throw e }" threw object "OperationError: Failed to set local answer sdp: Called in wrong state: STATE_INIT" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
FAIL Calling setLocalDescription(answer) from have-local-offer state should reject with InvalidStateError assert_throws: function "function () { throw e }" threw object "OperationError: Failed to set local answer sdp: Called in wrong state: STATE_SENTOFFER" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
PASS Test onsignalingstatechange event for setLocalDescription() with valid answer should succeed
Harness: the test ran to completion.

