Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-promise-expected.txt

Issue 1661493002: Add promise-based addIceCandidate, setLocalDescription and setRemoteDescription to RTCPeerConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philipj's comments on tests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Tests RTCPeerConnection remoteDescription.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS pc.setRemoteDescription().catch(expectedTypeError) did not throw exception.
7 PASS pc.setRemoteDescription(null).catch(expectedInvalidSessionDescription) did not throw exception.
8 PASS pc.setRemoteDescription(sessionDescription).then(requestSucceeded1, request Failed1); did not throw exception.
9 PASS error.name is "TypeError"
10 PASS expectedTypeError was called.
11 PASS error.name is "InvalidAccessError"
12 PASS expectedInvalidSessionDescription was called.
13 PASS requestSucceeded was called.
14 PASS pc.setRemoteDescription(sessionDescription).then(requestSucceeded2, request Failed2); did not throw exception.
15 PASS requestFailed was called.
16 PASS pc.remoteDescription.type is "answer"
17 PASS pc.remoteDescription.sdp is "remote"
18 PASS pc.remoteDescription.type is "answer"
19 PASS pc.remoteDescription.sdp is "remote"
20 PASS successfullyParsed is true
21
22 TEST COMPLETE
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698