1 | 1 | This is a testharness.js-based test.
2 | 2 | FAIL setLocalDescription() with valid answer should succeed assert_not_equals: Expect session description to be defined got disallowed value undefined
3 | 3 | 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="
4 |  | 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
5 |  | 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
6 |  | 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
| 4 | 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 for video: Local fingerprint does not match identity. Expected: sha-256 1C:9A:7C:7C:7A:29:8E:C5:FC:D6:53:F6:66:BA:16:21:DB:C4:10:3C:3F:C6:85:76:FF:13:E6:ED:CF:EC:61:18 Got: sha-256 0F:56:13:EA:9A:05:9A:14:C2:9F:18:51:08:3C:DA:49:64:A6:9C:42:72:0C:F4:97:D6:9A:F1:92:C8:6C:3D:75" that is not a DOMException InvalidModificationError: property "code" is equal to 0, expected 13
| 5 | 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: kStable" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
| 6 | 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: kHaveLocalOffer" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
7 | 7 | PASS Test onsignalingstatechange event for setLocalDescription() with valid answer should succeed
8 | 8 | Harness: the test ran to completion.
9 | 9 |