summaryrefslogtreecommitdiffstats
path: root/chrome/browser/media/webrtc_browsertest_base.cc
diff options
context:
space:
mode:
authorphoglund <phoglund@chromium.org>2014-12-09 03:21:13 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-09 11:21:33 +0000
commit1a404b78c21dc83e4dc5015012498e0329c7e2de (patch)
tree64013e38a2e8cd7bd76803aadb7bfd02eeb76996 /chrome/browser/media/webrtc_browsertest_base.cc
parent6c0617d8f5f8a8b5ace9f73079b28b9d22066b7a (diff)
downloadchromium_src-1a404b78c21dc83e4dc5015012498e0329c7e2de.zip
chromium_src-1a404b78c21dc83e4dc5015012498e0329c7e2de.tar.gz
chromium_src-1a404b78c21dc83e4dc5015012498e0329c7e2de.tar.bz2
Implementing WebRTC Auto Gain Control (AGC) test (minus verification).
This implements the test scaffolding. We still need a tool to analyze the audio energy of the output file and ensure it matches the energy level of the input file. The test will be disabled for now until the tool is in place. The next patches will be to wire up the tool and, after that, write more exciting tests which verify the AGC actually kicks in and adjusts the level (this test just ensures it doesn't zero the volume level). BUG=303259 Review URL: https://codereview.chromium.org/753993002 Cr-Commit-Position: refs/heads/master@{#307448}
Diffstat (limited to 'chrome/browser/media/webrtc_browsertest_base.cc')
-rw-r--r--chrome/browser/media/webrtc_browsertest_base.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/media/webrtc_browsertest_base.cc b/chrome/browser/media/webrtc_browsertest_base.cc
index ea00f7a..93404d8 100644
--- a/chrome/browser/media/webrtc_browsertest_base.cc
+++ b/chrome/browser/media/webrtc_browsertest_base.cc
@@ -185,10 +185,6 @@ WebRtcTestBase::OpenPageAndGetUserMediaInNewTabWithConstraints(
const std::string& constraints) const {
chrome::AddTabAt(browser(), GURL(), -1, true);
ui_test_utils::NavigateToURL(browser(), url);
-#if defined (OS_LINUX)
- // Load the page again on Linux to work around crbug.com/281268.
- ui_test_utils::NavigateToURL(browser(), url);
-#endif
content::WebContents* new_tab =
browser()->tab_strip_model()->GetActiveWebContents();
GetUserMediaWithSpecificConstraintsAndAccept(new_tab, constraints);