blob: e2c055d33e1e58dcda5d628ef09bc0519f03f272 [file] [log] [blame]
PASS setLocalDescription() with valid answer should succeed
FAIL setLocalDescription() with type answer and null sdp should use lastAnswer generated from createAnswer promise_test: Unhandled rejection with value: object "OperationError: 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 apply the description for 0: Local fingerprint does not match identity. Expected: sha-256 B8:FF:F5:1A:10:AE:9F:0F:19:5C:02:FC:AB:BD:65:CB:5A:EB:DC:70:C9:D9:6C:96:21:2D:68:88:A3:D8:4E:22 Got: sha-256 1F:7E:2D:05:21:41:BE:F0:4C:70:43:EC:E6:E1:79:F1:D9:BD:36:F7:63:5E:63:88:29:22:49:AB:42:1C:F2:D8" that is not a DOMException InvalidModificationError: property "code" is equal to 0, expected 13
PASS Calling setLocalDescription(answer) from stable state should reject with InvalidStateError
PASS Calling setLocalDescription(answer) from have-local-offer state should reject with InvalidStateError