Convert libwebrtc error types to DOM exceptions
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / webrtc / RTCPeerConnection-setLocalDescription-answer-expected.txt
1
2 PASS setLocalDescription() with valid answer should succeed 
3 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="
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 apply the description for 0: Local fingerprint does not match identity. Expected: sha-256 FD:12:D4:3F:20:8C:37:A8:9A:C0:CB:03:84:DF:97:20:40:24:C8:DB:B8:88:6C:8D:99:B6:25:48:5C:29:1E:0B Got: sha-256 CC:EB:A3:0C:D3:6C:7C:66:8B:E2:C8:A7:7B:00:92:56:A6:C8:C9:3E:D8:B9:CB:D0:5A:C9:7F:AE:10:4E:C7:CA" that is not a DOMException InvalidModificationError: property "code" is equal to 0, expected 13
5 PASS Calling setLocalDescription(answer) from stable state should reject with InvalidStateError 
6 PASS Calling setLocalDescription(answer) from have-local-offer state should reject with InvalidStateError 
7