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

Unified Diff: chrome/browser/media/webrtc/webrtc_browsertest.cc

Issue 2677233002: Expose RTCPeerConnection.icegatheringstatechange. (Closed)
Patch Set: fix number of passing tests Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/webrtc/peerconnection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/webrtc_browsertest.cc
diff --git a/chrome/browser/media/webrtc/webrtc_browsertest.cc b/chrome/browser/media/webrtc/webrtc_browsertest.cc
index 86565b81e7862cc4cd200b3142c91e37bd3318e5..3fd43a7bcbeb8af1a53f39904b000797ce013701 100644
--- a/chrome/browser/media/webrtc/webrtc_browsertest.cc
+++ b/chrome/browser/media/webrtc/webrtc_browsertest.cc
@@ -230,3 +230,18 @@ IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
DetectVideoAndHangUp();
}
+
+IN_PROC_BROWSER_TEST_F(
+ WebRtcBrowserTest,
+ RunsAudioVideoWebRTCCallInTwoTabsEmitsGatheringStateChange) {
+ StartServerAndOpenTabs();
+ SetupPeerconnectionWithLocalStream(left_tab_);
+ SetupPeerconnectionWithLocalStream(right_tab_);
+ NegotiateCall(left_tab_, right_tab_);
+
+ std::string ice_gatheringstate =
+ ExecuteJavascript("getLastGatheringState()", left_tab_);
+
+ EXPECT_EQ("complete", ice_gatheringstate);
+ DetectVideoAndHangUp();
+}
« no previous file with comments | « no previous file | chrome/test/data/webrtc/peerconnection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698