Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/utf_string_conversions.h" | 6 #include "base/utf_string_conversions.h" |
| 7 #include "content/browser/web_contents/web_contents_impl.h" | 7 #include "content/browser/web_contents/web_contents_impl.h" |
| 8 #include "content/public/common/content_switches.h" | 8 #include "content/public/common/content_switches.h" |
| 9 #include "content/public/test/browser_test_utils.h" | 9 #include "content/public/test/browser_test_utils.h" |
| 10 #include "content/shell/shell.h" | 10 #include "content/shell/shell.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 "makeEmptyCallThenAddOneStreamAndRenegotiate(" | 108 "makeEmptyCallThenAddOneStreamAndRenegotiate(" |
| 109 "{video: true, audio: true});"; | 109 "{video: true, audio: true});"; |
| 110 EXPECT_TRUE(ExecuteJavascript(kJavascript)); | 110 EXPECT_TRUE(ExecuteJavascript(kJavascript)); |
| 111 ExpectTitle("OK"); | 111 ExpectTitle("OK"); |
| 112 } | 112 } |
| 113 | 113 |
| 114 // This test will make a complete PeerConnection-based call but remove the | 114 // This test will make a complete PeerConnection-based call but remove the |
| 115 // MSID and bundle attribute from the initial offer to verify that | 115 // MSID and bundle attribute from the initial offer to verify that |
| 116 // video is playing for the call even if the initiating client don't support | 116 // video is playing for the call even if the initiating client don't support |
| 117 // MSID. http://tools.ietf.org/html/draft-alvestrand-rtcweb-msid-02 | 117 // MSID. http://tools.ietf.org/html/draft-alvestrand-rtcweb-msid-02 |
| 118 // Disabled, see http://crbug.com/235089. | |
| 118 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, | 119 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, |
| 119 CanSetupAudioAndVideoCallWithoutMsidAndBundle) { | 120 DISABLED_CanSetupAudioAndVideoCallWithoutMsidAndBundle) { |
|
gab
2013/04/24 17:55:04
Only needs to be disable on Win7Aura AFAIK.
i.e. P
not at google - send to devlin
2013/04/24 17:58:11
Done.
| |
| 120 GURL url(test_server()->GetURL("files/media/peerconnection-call.html")); | 121 GURL url(test_server()->GetURL("files/media/peerconnection-call.html")); |
| 121 NavigateToURL(shell(), url); | 122 NavigateToURL(shell(), url); |
| 122 | 123 |
| 123 EXPECT_TRUE(ExecuteJavascript("callWithoutMsidAndBundle();")); | 124 EXPECT_TRUE(ExecuteJavascript("callWithoutMsidAndBundle();")); |
| 124 ExpectTitle("OK"); | 125 ExpectTitle("OK"); |
| 125 } | 126 } |
| 126 | 127 |
| 127 // This test will make a PeerConnection-based call and test an unreliable text | 128 // This test will make a PeerConnection-based call and test an unreliable text |
| 128 // dataChannel. | 129 // dataChannel. |
| 129 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, CallWithDataOnly) { | 130 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, CallWithDataOnly) { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 GURL url(test_server()->GetURL("files/media/peerconnection-call.html")); | 178 GURL url(test_server()->GetURL("files/media/peerconnection-call.html")); |
| 178 NavigateToURL(shell(), url); | 179 NavigateToURL(shell(), url); |
| 179 | 180 |
| 180 EXPECT_TRUE( | 181 EXPECT_TRUE( |
| 181 ExecuteJavascript("callWithNewVideoMediaStreamLaterSwitchToAudio();")); | 182 ExecuteJavascript("callWithNewVideoMediaStreamLaterSwitchToAudio();")); |
| 182 ExpectTitle("OK"); | 183 ExpectTitle("OK"); |
| 183 } | 184 } |
| 184 | 185 |
| 185 } // namespace content | 186 } // namespace content |
| 186 | 187 |
| OLD | NEW |