content/browser/webrtc_browsertest.cc
// These tests will all make a getUserMedia call with different constraints and
// see that the success callback is called. If the error callback is called or
// none of the callbacks are called the tests will simply time out and fail.
These tests will all make a getUserMedia call with different constraints and
see that the success callback is called. If the error callback is called or
none of the callbacks are called the tests will simply time out and fail.
These tests will all make a getUserMedia call with different constraints and see that the success callback is called . If the error callback is called or none of the callbacks are called the tests will simply time out and fail .
IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, GetVideoStreamAndStop) {
  GURL url(test_server()->GetURL("files/media/getusermedia_and_stop.html"));
  NavigateToURL(shell(), url);
  EXPECT_TRUE(ExecuteJavascript("getUserMedia({video: true});"));
  ExpectTitle("OK");
}
IN_PROC_BROWSER_TEST_F ( WebrtcBrowserTest , GetVideoStreamAndStop ) { GURL url ( test_server ( ) -> GetURL ( " " ) ) ; NavigateToURL ( shell ( ) , url ) ; EXPECT_TRUE ( ExecuteJavascript ( " " ) ) ; ExpectTitle ( " " ) ; }
These tests will all make a getUserMedia call with different constraints and
see that the success callback is called.
These tests will all make a getUserMedia call with different constraints and see that the success callback is called .