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

Unified Diff: chrome/test/data/webrtc/peerconnection_rtp.js

Issue 2803693002: RTCRtpReceiver.getContributingSources() added. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webrtc/peerconnection_rtp.js
diff --git a/chrome/test/data/webrtc/peerconnection_rtp.js b/chrome/test/data/webrtc/peerconnection_rtp.js
index efffd8cce07203e3a09b86f19a7d17a5cb7dd55d..755c0972ad92fd4950f3c52b71e92a59a3065325 100644
--- a/chrome/test/data/webrtc/peerconnection_rtp.js
+++ b/chrome/test/data/webrtc/peerconnection_rtp.js
@@ -64,6 +64,8 @@ function verifyRtpReceivers(expectedNumTracks = null) {
throw failTest('receiver is null or undefined.');
if (receiver.track == null)
throw failTest('receiver.track is null or undefined.');
+ if (receiver.getContributingSources().length != 0)
+ throw failTest('receiver.getContributingSources() is not empty.');
receivers.add(receiver);
receiverTracks.add(receiver.track);
});
« no previous file with comments | « no previous file | content/renderer/BUILD.gn » ('j') | content/shell/test_runner/mock_webrtc_peer_connection_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698