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 A7:62:53:22:44:C2:03:A7:AA:57:2D:46:F8:27:44:EF:10:06:AA:6B:E0:DF:38:36:84:1D:EA:BB:1E:D4:2E:16 Got: sha-256 47:D5:38:6A:04:51:79:86:2C:CE:60:68:82:81:DF:D5:46:40:B4:91:FE:67:2B:C1:1A:0D:2D:A5:A3:8A:8B:61" 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.

