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/files/file_util.h" | 6 #include "base/files/file_util.h" |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/threading/platform_thread.h" | 8 #include "base/threading/platform_thread.h" |
9 #include "content/browser/web_contents/web_contents_impl.h" | 9 #include "content/browser/web_contents/web_contents_impl.h" |
10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 const char kUseLenientAudioChecking[] = "false"; | 26 const char kUseLenientAudioChecking[] = "false"; |
27 #endif | 27 #endif |
28 | 28 |
29 } // namespace | 29 } // namespace |
30 | 30 |
31 namespace content { | 31 namespace content { |
32 | 32 |
33 #if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER) | 33 #if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER) |
34 // Renderer crashes under Android ASAN: https://crbug.com/408496. | 34 // Renderer crashes under Android ASAN: https://crbug.com/408496. |
35 #define MAYBE_WebRtcBrowserTest DISABLED_WebRtcBrowserTest | 35 #define MAYBE_WebRtcBrowserTest DISABLED_WebRtcBrowserTest |
| 36 #elif defined(OS_WIN) |
| 37 // Test is flaky on Win. http://crbug.com/470013. |
| 38 #define MAYBE_WebRtcBrowserTest DISABLED_WebRtcBrowserTest |
36 #else | 39 #else |
37 // Test is flaky on all platforms. http://crbug.com/470013. | 40 #define MAYBE_WebRtcBrowserTest WebRtcBrowserTest |
38 #define MAYBE_WebRtcBrowserTest DISABLED_WebRtcBrowserTest | |
39 #endif | 41 #endif |
40 | 42 |
41 class MAYBE_WebRtcBrowserTest : public WebRtcContentBrowserTest { | 43 class MAYBE_WebRtcBrowserTest : public WebRtcContentBrowserTest { |
42 public: | 44 public: |
43 MAYBE_WebRtcBrowserTest() {} | 45 MAYBE_WebRtcBrowserTest() {} |
44 ~MAYBE_WebRtcBrowserTest() override {} | 46 ~MAYBE_WebRtcBrowserTest() override {} |
45 | 47 |
46 // Convenience function since most peerconnection-call.html tests just load | 48 // Convenience function since most peerconnection-call.html tests just load |
47 // the page, kick off some javascript and wait for the title to change to OK. | 49 // the page, kick off some javascript and wait for the title to change to OK. |
48 void MakeTypicalPeerConnectionCall(const std::string& javascript) { | 50 void MakeTypicalPeerConnectionCall(const std::string& javascript) { |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 442 |
441 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CallAndVerifyVideoMutingWorks) { | 443 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CallAndVerifyVideoMutingWorks) { |
442 MakeTypicalPeerConnectionCall("callAndEnsureVideoTrackMutingWorks();"); | 444 MakeTypicalPeerConnectionCall("callAndEnsureVideoTrackMutingWorks();"); |
443 } | 445 } |
444 | 446 |
445 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CreateOfferWithOfferOptions) { | 447 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CreateOfferWithOfferOptions) { |
446 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); | 448 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); |
447 } | 449 } |
448 | 450 |
449 } // namespace content | 451 } // namespace content |
OLD | NEW |