Index: content/browser/media/webrtc_browsertest.cc |
diff --git a/content/browser/media/webrtc_browsertest.cc b/content/browser/media/webrtc_browsertest.cc |
index 977891804e40be2a605563490c494e408814ee9a..5836cc5941bb2c783cda2ec7d44c38450f49fe3d 100644 |
--- a/content/browser/media/webrtc_browsertest.cc |
+++ b/content/browser/media/webrtc_browsertest.cc |
@@ -458,6 +458,8 @@ IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CanSetupCallAndSendDtmf) { |
ExecuteJavascript("callAndSendDtmf('123,abc');")); |
} |
+// TODO(phoglund): this test fails because the peer connection state will be |
+// stable in the second negotiation round rather than have-local-offer. |
perkj_chrome
2014/01/07 06:51:26
Can you show me? Is the test wrong or an actual pc
phoglund_chromium
2014/01/07 14:41:59
I'm not sure. So what happens is that when we call
|
IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, |
DISABLED_CanMakeEmptyCallThenAddStreamsAndRenegotiate) { |
ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady()); |
@@ -816,6 +818,16 @@ IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, |
ExpectTitle("OK"); |
} |
+IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, CallAndVerifyVideoMutingWorks) { |
+ ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady()); |
+ |
+ GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html")); |
+ NavigateToURL(shell(), url); |
+ |
+ EXPECT_TRUE(ExecuteJavascript("callAndEnsureVideoMutingWorks();")); |
+ ExpectTitle("OK"); |
+} |
+ |
#if defined(OS_WIN) || (defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY)) |
// Timing out on ARM linux bot: http://crbug.com/238490 |
// Failing on Windows: http://crbug.com/331035 |