Chromium Code Reviews

Side by Side Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-statsPromise-expected.txt

Issue 2156063002: Preparation for new Promise-based RTCPeerConnection.getStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced TODO /w comment what happens if function != 1 args Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 Tests the promise-based RTCPeerConnection.getStats function.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS pc = new webkitRTCPeerConnection(null) did not throw exception.
7 PASS getUserMedia({audio:true, video:true}, gotStream) did not throw exception.
8 PASS Got a stream.
9 PASS selector = pc.getLocalStreams()[0].getVideoTracks()[0] did not throw except ion.
10 PASS selector is non-null.
11 PASS pc.getStats(selector).then(onResolve, onReject1) did not throw exception.
12 PASS pc.getStats(selector) was rejected.
13 PASS pc.getStats().then(onResolve, onReject2) did not throw exception.
14 PASS pc.getStats() was rejected.
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW

Powered by Google App Engine